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

196 lines
4.2 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{letter (german)}
# German DIN-Brief textclass definition file.
# Author : Juergen Vigna <jug@sad.it>
# Modified by: Carsten Kaemmerer <kammerer@ips.cs.tu-bs.de>
# Modifies only some things from letter.layout
Format 4
Input letter.layout
Style My_Address
Margin Static
LeftMargin Unterschrift:
LabelType Static
LabelString "Briefkopf:"
LabelSep x
LabelFont
Shape Italic
Size Small
Color blue
EndFont
BottomSep 0.5
Spacing Other 0.9
End
Style Send_To_Address
Margin Static
BottomSep 0.1
LeftMargin Unterschrift:
LabelType Static
LabelString "Adresse:"
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
Spacing Other 0.9
End
Style Opening
LeftMargin Unterschrift:
LabelString "Anrede:"
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style Signature
LeftMargin Unterschrift:
LabelString "Unterschrift:"
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style Closing
LeftMargin Unterschrift:
LabelString "Gruss:"
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style encl
LabelString "Anlagen:"
LeftMargin Unterschrift:
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style ps
Margin Static
LatexType Command
LatexName ps
LeftMargin Unterschrift:
LabelSep x
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "PS:"
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style cc
LabelString "Verteiler:"
LeftMargin Unterschrift:
LabelSep x
LabelFont
Series Medium
Shape Italic
Size Small
Color blue
EndFont
End
Style Betreff
Margin Static
LatexType Command
LatexName subject
LeftMargin Unterschrift:
LabelSep x
KeepEmpty 1
TopSep 0.4
BottomSep 0.4
ParSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Betreff:"
LabelFont
Shape Italic
Size Small
Color blue
EndFont
TextFont
Shape Italic
EndFont
End
Style Stadt
Margin Right_Address_Box
LatexType Command
LatexName place
LabelSep x
TopSep 0.1
BottomSep 0.1
ParSep 0.1
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Stadt:"
LabelFont
Shape Italic
Size Small
Color blue
EndFont
End
Style Datum
Margin Right_Address_Box
LatexType Command
LatexName date
LabelSep x
TopSep 0.1
BottomSep 0.1
ParSep 0.1
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Datum:"
LabelFont
Shape Italic
Size Small
Color blue
EndFont
End