mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
164 lines
3.7 KiB
Plaintext
164 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 49
|
|
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"
|
|
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
|
|
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
|
|
LabelFont
|
|
Size Tiny
|
|
EndFont
|
|
End
|