mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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
)
167 lines
3.7 KiB
Plaintext
167 lines
3.7 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{Simple CV}
|
|
# \DeclareCategory{Curricula Vitae}
|
|
# Simple CV textclass definition file.
|
|
# Author : Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
|
|
|
|
|
|
Format 64
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth -1
|
|
TocDepth -1
|
|
|
|
Input stdcounters.inc
|
|
Input stdinsets.inc
|
|
|
|
|
|
Style Standard
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Section
|
|
Category Sectioning
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName section
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
EndFont
|
|
TocLevel 1
|
|
Argument 1
|
|
LabelString "Short Title|S"
|
|
Tooltip "The section as it appears in the table of contents/running headers"
|
|
InsertCotext 1
|
|
EndArgument
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
CopyStyle Section
|
|
LatexName subsection
|
|
Margin Static
|
|
LeftMargin MMM
|
|
TocLevel 2
|
|
End
|
|
|
|
Style Topic
|
|
Margin Manual
|
|
LatexType Item_environment
|
|
LatexName topic
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Manual
|
|
LabelFont
|
|
Family Sans
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Itemize
|
|
Category List
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName itemize
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Itemize
|
|
HTMLTag ul
|
|
HTMLItem li
|
|
HTMLLabel NONE
|
|
End
|
|
|
|
|
|
Style Left_Header
|
|
CopyStyle Standard
|
|
LatexType Command
|
|
LatexName leftheader
|
|
InTitle 1
|
|
ParIndent ""
|
|
ParSkip 0.4
|
|
BottomSep 1
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Right_Header
|
|
CopyStyle Left_Header
|
|
LatexName rightheader
|
|
Margin Right_Address_Box
|
|
End
|
|
|
|
|
|
Style Title
|
|
Category FrontMatter
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Family Sans
|
|
Series Bold
|
|
Size Largest
|
|
EndFont
|
|
HTMLTitle true
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
CopyStyle Topic
|
|
Category BackMatter
|
|
LatexName thebibliography
|
|
LatexType Bib_Environment
|
|
LabelType Bibliography
|
|
LabelBottomSep 0.7
|
|
ToggleIndent Never
|
|
LabelFont
|
|
Size Tiny
|
|
EndFont
|
|
End
|