mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Improved docs for par.line.numbering-scope
(#5250)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
This commit is contained in:
parent
838dabc84c
commit
33b9d1c7db
@ -380,13 +380,16 @@ impl Construct for ParLine {
|
||||
|
||||
/// Possible line numbering scope options, indicating how often the line number
|
||||
/// counter should be reset.
|
||||
///
|
||||
/// Note that, currently, manually resetting the line number counter is not
|
||||
/// supported.
|
||||
#[derive(Debug, Cast, Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub enum LineNumberingScope {
|
||||
/// Indicates the line number counter spans the whole document, that is,
|
||||
/// is never automatically reset.
|
||||
/// Indicates that the line number counter spans the whole document, i.e.,
|
||||
/// it's never automatically reset.
|
||||
Document,
|
||||
/// Indicates the line number counter should be reset at the start of every
|
||||
/// new page.
|
||||
/// Indicates that the line number counter should be reset at the start of
|
||||
/// every new page.
|
||||
Page,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user