lyx_mirror/lib/layouts/theorems-sec.module
Jean-Marc Lasgouttes 5c54557350 Honor trailing spaces in LabelString and friends
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.

To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).

It is now possible to re-add spaces in label strings where it makes
sense.

Fixes bug #10723.
2017-08-31 13:59:37 +02:00

24 lines
480 B
Plaintext

#\DeclareLyXModule{Theorems (Numbered by Section)}
#DescriptionBegin
#Numbers theorems and the like by section (i.e., the counter is reset at
#each section start).
#DescriptionEnd
#Requires: theorems-std | theorems-ams
#Excludes: theorems-chap
#Category: theorems
# Author: Richard Heck <rgheck@comcast.net>
Format 64
Counter theorem
Within section
End
Style Theorem
Preamble
\theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}[section]
EndPreamble
End