]> git.lyx.org Git - wiki-uploads.git/blob - Layouts/brev/brev.layout
Import uploads from wiki
[wiki-uploads.git] / Layouts / brev / brev.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[brev]{brev}
3
4 #  Author: Helge Hafting <helge.hafting@broadpark.no>
5 #  Licence: GPL
6
7 Format 2
8
9 Columns                 1
10 Sides                   1
11 PageStyle               Empty
12 DefaultStyle            Standard
13 ClassOptions
14         Other           "blockadjust"
15 End
16         
17 Input stdlists.inc
18 Input stdfloats.inc
19 Input stdcounters.inc
20
21
22 Style Standard
23         Margin                Static
24         LatexType             Paragraph
25         LatexName             dummy
26         ParIndent             MM
27         ParSkip               0.4
28         Align                 Block
29         AlignPossible         Block, Left, Right, Center
30         LabelType             No_Label
31 End
32
33
34 Style Name
35         LabelString "From:"
36         Margin          Static
37         LatexType       Command
38         LatexName       name
39         Align           left
40         KeepEmpty             1
41         LeftMargin            Signature:xx
42         LabelSep              xx
43         LabelType             Static
44         LabelFont
45           Series              Bold
46           Shape               Italic
47           Color               red
48         EndFont
49 End
50
51
52 Style My_Address
53         CopyStyle       Name
54         LatexName       address
55         LabelString     "My address:"
56 End
57
58
59 Style Location
60         CopyStyle       Name
61         Margin          Right_Address_Box
62         LatexName       location
63         LabelString     "Location:"
64 End
65
66
67 Style Date_yyyy_mm_dd
68         CopyStyle       Location
69         LatexName       LetterDate
70         LabelString     "Date (yyyy-mm-dd):"
71 End
72
73
74 Style Date
75         CopyStyle       Location
76         LatexName       date
77         LabelString     "Date:"
78 End
79
80
81 Style Send_To_Address
82         CopyStyle       Name
83         LatexName       lyxbrevsendto
84         LabelString     "Send to:"
85         Preamble
86                 \newcommand{\lyxbrevsendto}[1]{\begin{letter}{#1}}
87         EndPreamble
88 End
89
90
91 Style Telephone
92         CopyStyle       Location
93         LatexName       telephone
94         LabelString     "Telephone:"
95 End
96
97
98 Style Your_ref
99         CopyStyle       Name
100         LatexName       yourref
101         LabelString     "Your ref.:"
102 End
103
104
105 Style Our_ref
106         CopyStyle       Location
107         LatexName       ourref
108         LabelString     "Our ref.:"
109 End
110
111
112 Style Opening
113         CopyStyle       Name
114         LatexName       opening
115         LabelSep              xx
116         TopSep                0.4
117         BottomSep             0.4
118         ParSep                0.4
119         Align                 Block
120         AlignPossible         Block, Left
121         LabelString           "Opening:"
122 End
123
124
125 Style Closing
126         CopyStyle       Opening
127         LabelString     "Closing:"
128         LatexName       lyxbrevclosing
129         Preamble
130                 \newcommand{\lyxbrevclosing}[1]{\closing{#1}\end{letter}}
131         EndPreamble
132 End