mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
9e5eebc14c
* src/TextClass{cpp,h}: - implement Requires tag for class and InsetLayout. * src/Layout.{cpp,h}: - implement Requires tag for layouts. - increase layouts format to 6. * src/Paragraph.cpp: - request required features for paragraph layouts. * src/LaTeXFeatures.cpp: - add some packages needed by modules. - remove Preamble method for InsetLayout. This is now done in InsetFlex::validate. * src/BufferParams.cpp (validate): - request required features for the class. * src/insets/InsetLayout.h: - new member "requires". * src/insets/InsetFlex.{cpp,h}: - implement validate method and request required features and preamble snippets. * lib/layouts/*.{layout,module,inc}: - increase layouts format to 6. - use Requires tags in some modules (more can be done later). * lib/doc/Customization.lyx: - document Requires tag. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
149 lines
3.3 KiB
Plaintext
149 lines
3.3 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{curriculum vitae (simple)}
|
|
# Simple CV textclass definition file.
|
|
# Author : Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
|
|
|
|
|
|
Format 6
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth -1
|
|
TocDepth -1
|
|
|
|
Input stdcounters.inc
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Section
|
|
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
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
CopyStyle Section
|
|
LatexName subsection
|
|
Margin Static
|
|
LeftMargin MMM
|
|
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
|
|
LabelString "MMMMM"
|
|
LabelFont
|
|
Family Sans
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Itemize
|
|
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 Static
|
|
LabelString "*"
|
|
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
|
|
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
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
CopyStyle Topic
|
|
LatexName thebibliography
|
|
LatexType Bib_Environment
|
|
LabelType Bibliography
|
|
LabelString ""
|
|
LabelBottomSep 0.7
|
|
LabelFont
|
|
Size Tiny
|
|
EndFont
|
|
End
|