lyx_mirror/lib/layouts/moderncv.layout
Jean-Marc Lasgouttes 04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00

216 lines
3.3 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{curriculum vitae (modern)}
# modern CV textclass definition file.
# Author : Uwe Stöhr (uwestoehr@web.de)
# General textclass parameters
Format 4
Columns 1
Sides 1
SecNumDepth -1
TocDepth -1
# Standard style definition
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdcounters.inc
Style Section
Margin Dynamic
LatexType Command
LatexName section
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Block
AlignPossible Block, Left
LabelSep xxx
LabelType No_Label
Font
Family Sans
Series Bold
EndFont
End
Style Entry
Margin Dynamic
LatexType Command
LatexName cventry
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Entry:
LabelFont
Series Bold
Color Blue
EndFont
End
Style Item
Margin Dynamic
LatexType Command
LatexName cvitem
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Item:
LabelFont
Series Bold
Color Blue
EndFont
End
Style ListItem
Margin Dynamic
LatexType Command
LatexName cvlistitem
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "List Item:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style DoubleItem
Margin Dynamic
LatexType Command
LatexName cvlistdoubleitem
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Double Item:"
LabelFont
Series Bold
Color Blue
EndFont
End
Style Space
Margin Dynamic
LatexType Command
LatexName vspace*
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Space:
LabelFont
Series Bold
Color Blue
EndFont
End
Style Language
Margin Dynamic
LatexType Command
LatexName cvlanguage
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Language:
LabelFont
Series Bold
Color Blue
EndFont
End
Style Computer
Margin Dynamic
LatexType Command
LatexName cvcomputer
OptionalArgs 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString Computer:
LabelFont
Series Bold
Color Blue
EndFont
End
Style EmptySection
Margin Dynamic
LatexType Command
LatexName emptysection{}
KeepEmpty 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Empty Section"
LabelFont
Series Bold
Color Green
EndFont
End
Style CloseSection
Margin Dynamic
LatexType Command
LatexName closesection{}
KeepEmpty 1
ParSkip 0.4
Align Block
LabelSep xx
LabelType Static
LabelString "Close Section"
LabelFont
Series Bold
Color Green
EndFont
End
Style Bibliography
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
Family Sans
EndFont
End