1999-09-27 18:44:28 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
2012-10-09 05:24:32 +00:00
|
|
|
# \DeclareLaTeXClass{DIN-Brief}
|
|
|
|
# \DeclareCategory{Letters}
|
2003-10-13 09:50:10 +00:00
|
|
|
# German DIN-Brief textclass definition file.
|
1999-09-27 18:44:28 +00:00
|
|
|
# Author : Juergen Vigna <jug@sad.it>
|
|
|
|
# Modified by: Carsten Kaemmerer <kammerer@ips.cs.tu-bs.de>
|
2008-10-08 23:40:51 +00:00
|
|
|
# Modified by: Guenter Milde <g.milde@users.berlios.de>
|
|
|
|
# Dummy Style DinBrief for common layout features (removed at eof)
|
2013-01-25 16:42:58 +00:00
|
|
|
# Dummy Style Addresses for common address features (removed at eof)
|
2008-10-08 23:40:51 +00:00
|
|
|
# Generic style names (there are german translations for most names)
|
|
|
|
# Additional Styles and twiddeled layout
|
|
|
|
# Many "ObsoletedBy" to ease conversion from g-brief, scrletter,
|
|
|
|
# or letter (see also the update of the dinbrief.lyx template)
|
2009-12-06 12:10:54 +00:00
|
|
|
# Modified by: Juergen Spitzmueller <spitz@lyx.org>
|
|
|
|
# use English strings, localization is done by gettext!
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2013-02-21 20:57:59 +00:00
|
|
|
Format 45
|
2008-10-08 23:40:51 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Input letter.layout
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# dinbrief's \phone has 2 args, area and number. We define an empty
|
|
|
|
# command that can be set by the Area_Code style
|
|
|
|
Preamble
|
|
|
|
\newcommand{\areacode}{}
|
|
|
|
EndPreamble
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# auxiliary style copied by other dinbrief styles
|
2009-12-07 09:12:13 +00:00
|
|
|
# the LeftMargin is set to the probably longest string
|
|
|
|
# (no typo! the umlaut is delibarately omitted)
|
2008-10-09 00:37:25 +00:00
|
|
|
Style DinBrief
|
Added categories for style Bibliography, TwoAuthors, ThreeAuthors, TwoAffiliations,
ThreeAffiliations, Institute, DinBrief, Section, Subsection, Theorem,
Labeling, Opening, Closing, Signature, Name
2012-12-30 19:30:35 +00:00
|
|
|
Category Letter
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexType Command
|
|
|
|
Margin Static
|
2009-12-07 09:12:13 +00:00
|
|
|
LeftMargin "Rucksende-Adresse:"
|
2008-10-08 23:40:51 +00:00
|
|
|
Align Left
|
|
|
|
AlignPossible Left
|
|
|
|
LabelType Static
|
|
|
|
LabelSep x
|
2003-10-13 09:50:10 +00:00
|
|
|
LabelFont
|
2008-10-08 23:40:51 +00:00
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
|
|
|
Size Small
|
|
|
|
Color blue
|
2003-05-02 08:55:48 +00:00
|
|
|
EndFont
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2013-01-25 16:42:58 +00:00
|
|
|
Style Addresses
|
|
|
|
CopyStyle DinBrief
|
|
|
|
Category "Postal Data"
|
|
|
|
End
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# Open a new letter
|
|
|
|
# in dinbrief, this is an environment spanning the whole letter
|
|
|
|
# (see scrlettr2 for an alternative lyx-implementation)
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Send_To_Address
|
2013-01-25 16:42:58 +00:00
|
|
|
CopyStyle Addresses
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Address:"
|
2008-10-09 00:37:25 +00:00
|
|
|
KeepEmpty 1
|
2008-10-08 23:40:51 +00:00
|
|
|
BottomSep 0.1
|
|
|
|
LatexName letter
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# Data Fields, placed according to DIN norm
|
|
|
|
# ---------------------------------------------------------
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# need to be placed before the Opening in the LyX document!
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# backaddress in letter head
|
|
|
|
Style My_Address
|
2013-01-25 16:42:58 +00:00
|
|
|
CopyStyle Addresses
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Sender Address:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName address
|
2008-10-09 00:37:25 +00:00
|
|
|
KeepEmpty 1
|
2008-10-08 23:40:51 +00:00
|
|
|
BottomSep 0.5
|
|
|
|
AlignPossible Block, Left, Right, Center
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# backaddress in address window
|
|
|
|
Style "Return address"
|
2013-01-25 16:42:58 +00:00
|
|
|
CopyStyle Addresses
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Backaddress:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName backaddress
|
|
|
|
TextFont
|
|
|
|
Size Small
|
2003-05-02 08:55:48 +00:00
|
|
|
EndFont
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2009-12-06 12:10:54 +00:00
|
|
|
# Printed above the address (e.g., Air Mail, Registered Mail)
|
2008-10-09 00:37:25 +00:00
|
|
|
Style "Postal comment"
|
2013-01-25 16:42:58 +00:00
|
|
|
CopyStyle Addresses
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Postal Remark:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName postremark
|
|
|
|
End
|
|
|
|
|
2009-12-06 12:10:54 +00:00
|
|
|
# Printed right next to Receiver (e.g., Urgent, Confidential)
|
2008-10-09 00:37:25 +00:00
|
|
|
Style Handling
|
2013-01-25 16:42:58 +00:00
|
|
|
CopyStyle Addresses
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Handling:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName handling
|
|
|
|
End
|
|
|
|
|
|
|
|
Style YourRef
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Your ref.:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName yourmail
|
|
|
|
End
|
|
|
|
|
|
|
|
Style MyRef
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Our ref.:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName sign
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Writer
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Writer:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName writer
|
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style Signature
|
2008-10-08 23:40:51 +00:00
|
|
|
CopyStyle DinBrief
|
2013-01-25 16:42:58 +00:00
|
|
|
Category Closings
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Signature:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName signature
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# contact info at the bottom of the first page
|
|
|
|
Style Bottomtext
|
2008-10-08 23:40:51 +00:00
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Bottom text:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName bottomtext
|
|
|
|
AlignPossible Block, Left, Right, Center
|
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# dinbrief's \phone has 2 args, area and number,
|
|
|
|
# define both as distinct styles
|
|
|
|
|
|
|
|
Style "Area code"
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Area Code:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName "renewcommand{\areacode}"
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Telephone
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Telephone:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName phone
|
|
|
|
LatexParam {\areacode}
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Location
|
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Location:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName place
|
|
|
|
Margin Right_Address_Box
|
|
|
|
TopSep 0.1
|
|
|
|
BottomSep 0.1
|
|
|
|
ParSep 0.1
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Date
|
|
|
|
CopyStyle Location
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Date:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName date
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# dinbrief does not emphasize the subject line
|
|
|
|
Style Subject
|
2008-10-08 23:40:51 +00:00
|
|
|
CopyStyle DinBrief
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Subject:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName subject
|
|
|
|
TopSep 0.4
|
|
|
|
BottomSep 0.4
|
|
|
|
ParSep 0.4
|
|
|
|
Align Block
|
|
|
|
AlignPossible Block, Left, Right, Center
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# Opening (Anrede)
|
|
|
|
# ----------------
|
|
|
|
|
|
|
|
# sets the above data fields
|
|
|
|
|
|
|
|
Style Opening
|
|
|
|
CopyStyle DinBrief
|
2013-02-09 18:37:06 +00:00
|
|
|
LabelType Above
|
2008-10-08 23:40:51 +00:00
|
|
|
LeftMargin ""
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Opening:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName opening
|
2008-10-09 00:37:25 +00:00
|
|
|
KeepEmpty 1
|
2008-10-08 23:40:51 +00:00
|
|
|
TopSep 1.5
|
|
|
|
BottomSep 1
|
|
|
|
End
|
|
|
|
|
|
|
|
# Backmatter (styles to be used at the end of the letter)
|
|
|
|
# -------------------------------------------------------
|
|
|
|
|
|
|
|
# placed in order of appearance in the document
|
|
|
|
|
|
|
|
Style Closing
|
|
|
|
CopyStyle Opening
|
2013-01-25 16:42:58 +00:00
|
|
|
Category Closings
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Closing:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName closing
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Signature|S"
|
2012-11-19 13:21:02 +00:00
|
|
|
Tooltip "Here you can insert a signature scan"
|
|
|
|
EndArgument
|
2008-10-09 00:37:25 +00:00
|
|
|
KeepEmpty 1
|
2008-10-08 23:40:51 +00:00
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
Style encl
|
2008-10-08 23:40:51 +00:00
|
|
|
CopyStyle Opening
|
2013-01-25 16:42:58 +00:00
|
|
|
Category Closings
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "encl:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName encl
|
|
|
|
TopSep 0.4
|
|
|
|
BottomSep 0.4
|
|
|
|
KeepEmpty 0
|
2003-10-13 09:50:10 +00:00
|
|
|
LabelFont
|
2008-10-08 23:40:51 +00:00
|
|
|
Series Medium
|
|
|
|
Shape Up
|
|
|
|
Size Normal
|
|
|
|
Color black
|
2003-05-02 08:55:48 +00:00
|
|
|
EndFont
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
Style cc
|
|
|
|
CopyStyle encl
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "cc:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName cc
|
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
Style PS
|
|
|
|
CopyStyle encl
|
2009-12-06 12:10:54 +00:00
|
|
|
LabelString "Post Scriptum:"
|
2008-10-08 23:40:51 +00:00
|
|
|
LatexName ps
|
|
|
|
Align Block
|
|
|
|
AlignPossible Block, Left
|
|
|
|
ParSep 0.4
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# Obsoleted (or differently named) styles
|
|
|
|
# ---------------------------------------
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-08 23:40:51 +00:00
|
|
|
# ease conversion from g-brief, scrletter, or letter
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# scrletter
|
|
|
|
Style SenderAddress
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy My_Address
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# scrletter
|
|
|
|
Style Backaddress
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy "Return address"
|
|
|
|
End
|
2003-09-15 15:20:19 +00:00
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style RetourAdresse
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy "Return address"
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# dinbrief (gm old), g-brief-en, scrletter, ...
|
|
|
|
Style Address
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Send_To_Address
|
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de, g-brief2
|
|
|
|
Style Adresse
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Send_To_Address
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Postvermerk
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy "Postal comment"
|
|
|
|
End
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Zusatz
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Handling
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style IhrZeichen
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy YourRef
|
|
|
|
End
|
|
|
|
|
2009-12-06 12:10:54 +00:00
|
|
|
# These are identical in this class
|
2008-10-08 23:40:51 +00:00
|
|
|
Style YourMail
|
|
|
|
ObsoletedBy YourRef
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style IhrSchreiben
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy YourRef
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style MeinZeichen
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy MyRef
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Unterschrift
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Signature
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# dinbrief (gm old)
|
|
|
|
Style Phone
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Telephone
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Telefon
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Telephone
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# dinbrief (gm old)
|
|
|
|
Style Place
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Location
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# dinbrief v2
|
|
|
|
Style Stadt
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Location
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-en
|
|
|
|
Style Town
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Location
|
1999-09-27 18:44:28 +00:00
|
|
|
End
|
2008-10-08 23:40:51 +00:00
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Ort
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Location
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Datum
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Date
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-en, g-brief2
|
|
|
|
Style Reference
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Subject
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Betreff
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Subject
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Anrede
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Opening
|
|
|
|
End
|
|
|
|
|
|
|
|
# in dinbrief, the letter text is in Standard format
|
|
|
|
Style Letter
|
|
|
|
ObsoletedBy Standard
|
|
|
|
End
|
2008-10-09 00:37:25 +00:00
|
|
|
|
|
|
|
# g-brief-de
|
|
|
|
Style Brieftext
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Standard
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Gruss
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy Closing
|
|
|
|
End
|
|
|
|
|
|
|
|
Style ps
|
|
|
|
ObsoletedBy PS
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Encl.
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy encl
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# g-brief-de
|
|
|
|
Style Anlagen
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy encl
|
|
|
|
End
|
|
|
|
|
2008-10-09 00:37:25 +00:00
|
|
|
# scrletter
|
|
|
|
Style CC
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy cc
|
|
|
|
End
|
2008-10-09 00:37:25 +00:00
|
|
|
|
|
|
|
# g-brief-de
|
|
|
|
Style Verteiler
|
2008-10-08 23:40:51 +00:00
|
|
|
ObsoletedBy cc
|
|
|
|
End
|
|
|
|
|
2013-01-25 16:42:58 +00:00
|
|
|
# Remove auxiliary styles
|
2008-10-08 23:40:51 +00:00
|
|
|
NoStyle DinBrief
|
2013-01-25 16:42:58 +00:00
|
|
|
NoStyle Addresses
|
2008-10-08 23:40:51 +00:00
|
|
|
|