lyx_mirror/lib/layouts/simplecv.layout
Thibaut Cuvelier 051c5f2728 LyXHTML: add explicit HTMLTag for titles.
This way, LyX can generate semantic <hX> tags instead of a generic <div>.
2023-01-07 03:59:22 +01:00

221 lines
5.2 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 99
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
DocBookTag para
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
IsTocCaption 1
EndArgument
HTMLTag h2
DocBookTag title
DocBookTagType paragraph
DocBookSectionTag section
End
Style Subsection
CopyStyle Section
LatexName subsection
Margin Static
LeftMargin MMM
TocLevel 2
End
Style Topic
Margin Manual
LatexType Item_environment
LatexName topic
Argument listpreamble:1
LabelString "List preamble"
MenuString "List Preamble"
Tooltip "LaTeX code to be inserted before the first item"
PassThru 1
Font
Family typewriter
Color latex
EndFont
EndArgument
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
DocBookTag variablelist
DocBookItemWrapperTag varlistentry
DocBookItemTag listitem
DocBookItemInnerTag para
DocBookItemLabelTag term
DocBookItemLabelTagType paragraph
End
Style Itemize
Category List
Margin Static
LatexType Item_Environment
LatexName itemize
Argument listpreamble:1
LabelString "List preamble"
MenuString "List Preamble"
Tooltip "LaTeX code to be inserted before the first item"
PassThru 1
Font
Family typewriter
Color latex
EndFont
EndArgument
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
DocBookTag itemizedlist
DocBookItemTag listitem
DocBookItemInnerTag para
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
DocBookTag para
DocBookAttr role='left-header'
End
Style Right_Header
CopyStyle Left_Header
LatexName rightheader
Margin Right_Address_Box
DocBookTag para
DocBookAttr role='right-header'
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
DocBookTag title
DocBookTagType paragraph
DocBookInInfo maybe
End
Style Bibliography
CopyStyle Topic
Category BackMatter
LatexName thebibliography
LatexType Bib_Environment
LabelType Bibliography
LabelBottomSep 0.7
ToggleIndent Never
LabelFont
Size Tiny
EndFont
TocLevel 1
IsTocCaption 0
Argument listpreamble:1
LabelString "Bib preamble"
MenuString "Bibliography Preamble"
Tooltip "LaTeX code to be inserted before the first bibliography item"
PassThru 1
Font
Family typewriter
Color latex
EndFont
EndArgument
End