mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Documentation for counter inset.
This commit is contained in:
parent
de40b09474
commit
a08621ebce
@ -147,7 +147,7 @@ logicalmkup
|
|||||||
\papersides 2
|
\papersides 2
|
||||||
\paperpagestyle default
|
\paperpagestyle default
|
||||||
\tablestyle default
|
\tablestyle default
|
||||||
\tracking_changes true
|
\tracking_changes false
|
||||||
\output_changes false
|
\output_changes false
|
||||||
\change_bars false
|
\change_bars false
|
||||||
\postpone_fragile_content false
|
\postpone_fragile_content false
|
||||||
@ -29887,20 +29887,33 @@ name "sec:Counters"
|
|||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
|
||||||
\change_inserted -584632292 1588303631
|
\change_inserted -584632292 1588304632
|
||||||
One powerful feature of \SpecialChar LaTeX
|
One powerful feature of \SpecialChar LaTeX
|
||||||
is its ability to manage counters, like the one
|
is its ability to manage counters, like the one
|
||||||
for this section (
|
for this section (
|
||||||
|
\change_unchanged
|
||||||
|
|
||||||
\begin_inset CommandInset counter
|
\begin_inset CommandInset counter
|
||||||
LatexCommand value
|
LatexCommand value
|
||||||
counter "subsection"
|
counter "section"
|
||||||
value "0"
|
value "0"
|
||||||
vtype "arabic"
|
vtype "arabic"
|
||||||
lyxonly "false"
|
lyxonly "false"
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
), automatically.
|
|
||||||
|
\change_inserted -584632292 1588304519
|
||||||
|
).
|
||||||
|
Mostly, this is handled automatically, but there are times one wants to
|
||||||
|
modify counters directly.
|
||||||
|
This can be done in LyX using the counter inset, which is accessible from
|
||||||
|
the Insert menu.
|
||||||
|
This allows one to set a counter's value; to reset it (to zero); to add
|
||||||
|
to the value (or subtract from it, since the value added can be negative);
|
||||||
|
to save it; to restore the saved value; and to print the value.
|
||||||
|
These effects can also be limited to LyX itself.
|
||||||
|
And they will appear in HTML and DocBook output, as well as in LaTeX.
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user