lyx_mirror/lib/layouts/cv.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

154 lines
3.3 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{curriculum vitae}
# CV textclass definition file.
# Author : Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Format 4
Columns 1
Sides 1
SecNumDepth -1
TocDepth -1
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 stdfloats.inc
Input stdcounters.inc
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
AlignPossible Block, Left
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
AlignPossible 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