mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
b92ceba9a1
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.
(cherry picked from commit 5c54557350
)
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[tufte-handout,bibentry.sty,changepage.sty,fancyhdr.sty,hardwrap.sty,ifmtarg.sty,ifplatform.sty,letterspace.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{Tufte Handout}
|
|
# \DeclareCategory{Handouts}
|
|
# tufte-handout textclass definition file.
|
|
# Juergen Spitzmueller <juergen@spitzmueller.org>, 2008/10/22
|
|
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
|
|
|
|
Format 64
|
|
|
|
# import other layouts
|
|
Input stdlayouts.inc
|
|
Input article.layout
|
|
Input tufte-book.layout
|
|
|
|
Sides 1
|
|
PageStyle plain
|
|
|
|
NoStyle Part
|
|
NoCounter part
|
|
NoStyle Chapter
|
|
NoStyle Chapter*
|
|
|
|
Style Part
|
|
Category Sectioning
|
|
Margin Dynamic
|
|
LabelType No_Label
|
|
TocLevel -1
|
|
LatexType Command
|
|
LatexName part
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
Labelsep xxx
|
|
ParSkip 0.4
|
|
TopSep 4
|
|
BottomSep 4
|
|
ParSep 0.8
|
|
Align Center
|
|
Alignpossible Center
|
|
Argument 1
|
|
LabelString "Short Title|S"
|
|
Tooltip "The part as it appears in the table of contents/running headers"
|
|
InsertCotext 1
|
|
EndArgument
|
|
Font
|
|
Series Bold
|
|
Size Huge
|
|
EndFont
|
|
End
|
|
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
LabelType Centered
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|