]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdinsets.inc
* lib/layouts.memoir.layout:
[lyx.git] / lib / layouts / stdinsets.inc
1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <martin.vermeer@hut.fi>
3 # Inset layouts definition
4
5 #InsetLayout <string identifier used by LyX>
6 #       LabelString           used for the inset decoration (either the inset button
7 #                             or the text underneath the inset).
8 #       LatexType             FIXME
9 #       LatexName             associated LateX command.
10 #       BgColor               Color of the inset background within LyX.
11 #                         FIXME: link to a doc file describing the different
12 #                         color codes as defined in 'ColorCode.h'
13 #       Font                  Nothing to put here, below are descriptions of the different
14 #                         allowable adjustments for the font used to draw the text
15 #                         appearing within the inset text. All these items are optional.
16 #         Color               Color of 
17 #         Size                Font size of the textallowed value: Small, Smaller, ...
18 #                         FIXME defined in FontSize in FontEnums.h
19 #         Family              FIXME defined in FontFamily in FontEnums.h
20 #         Shape               FIXME defined in FontFamily in FontEnums.h
21 #         Series              FIXME defined in FontFamily in FontEnums.h
22 #         Misc                FIXME defined in FontFamily in FontEnums.h
23 #         Misc                FIXME defined in FontFamily in FontEnums.h
24 #         Misc                FIXME defined in FontFamily in FontEnums.h
25 #       EndFont               Nothing to put here, it's just a markup to indicate that we are
26 #                         finished with the Font definition.
27 #       LabelFont             Nothing to put here, below are descriptions of the different
28 #                         allowable adjustments for the font used to draw the text
29 #                         appearing within the inset decoration. All these items are
30 #                         optional.
31 #         Color               see definition above (in the Font node).
32 #         Size                see definition above (in the Font node).
33 #         ...
34 #       EndFont               Nothing to put here, it's just a markup to indicate that we are
35 #                         finished with the LabelFont definition.
36 #       MultiPar              Indicates that multiple paragraphs are allowed within the inset
37 #                         or not. FIXME: what is the default?
38 #End
39
40 Format 5
41
42 InsetLayout Marginal
43         LabelString           margin
44         LatexType             command
45         LatexName             marginpar
46         Font
47           Color               foreground
48           Size                Small
49           Family              Roman
50           Shape               Up
51           Series              Medium
52           Misc                No_Emph
53           Misc                No_Noun
54           Misc                No_Bar
55         EndFont
56         LabelFont
57           Color               Red
58           Size                Small
59         EndFont
60         MultiPar              true
61 End
62
63 InsetLayout Foot
64         LabelString           foot
65         LatexType             command
66         LatexName             footnote
67         Font
68           Color               foreground
69           Size                Small
70           Family              Roman
71           Shape               Up
72           Series              Medium
73           Misc                No_Emph
74           Misc                No_Noun
75           Misc                No_Bar
76         EndFont
77         LabelFont
78           Color               Green
79           Size                Small
80         EndFont
81         MultiPar              true
82 End
83
84 InsetLayout Note:Comment
85         LabelString           comment
86         LatexType             environment
87         LatexName             comment
88         BgColor               commentbg
89         LabelFont
90           Color               comment
91           Size                Small
92         EndFont
93         MultiPar              true
94 End
95
96
97 InsetLayout Note:Note
98         LabelString           note
99         LatexType             command
100         LatexName             note
101         BgColor               notebg
102         LabelFont
103           Color               note
104           Size                Small
105         EndFont
106         MultiPar              true
107 End
108
109 InsetLayout Note:Greyedout
110         LabelString           greyedout
111         LatexType             environment
112         LatexName             lyxgreyedout
113         BgColor               greyedoutbg
114         LabelFont
115           Color               greyedout
116           Size                Small
117         EndFont
118         MultiPar              true
119 End
120
121 InsetLayout ERT
122         LabelString           ERT
123         LatexType             none
124         Decoration            minimalistic
125         Font
126           Color               latex
127           Family              typewriter
128         EndFont
129         LabelFont
130           Color               latex
131           Size                Small
132         EndFont
133         MultiPar              true
134         PassThru              true
135         KeepEmpty             true
136         FreeSpacing           true
137         ForceLTR              true
138 End
139
140 InsetLayout Listings
141         LabelString           Listings
142         LatexType             none
143         Decoration            minimalistic
144         Font
145           Color               foreground
146           Family              typewriter
147         EndFont
148         LabelFont
149           Color               foreground
150           Size                Small
151         EndFont
152         MultiPar              true
153         PassThru              true
154         KeepEmpty             true
155         FreeSpacing           true
156 End
157
158 InsetLayout Branch
159         Decoration            minimalistic
160         LabelFont
161           Color               Red
162           Size                Small
163         EndFont
164         MultiPar              true
165 End
166
167 InsetLayout Index
168         LabelString           Idx
169         LatexType             command
170         LatexName             index
171         Decoration            minimalistic
172         Font
173           Color               Green
174           Size                Small
175           Family              Roman
176           Shape               Up
177           Series              Medium
178           Misc                No_Emph
179           Misc                No_Noun
180           Misc                No_Bar
181         EndFont
182         LabelFont
183           Color               Green
184           Size                Small
185         EndFont
186         MultiPar              false
187         NeedProtect           true
188 End
189
190 InsetLayout Box
191         LabelFont
192           Color               foreground
193           Size                Small
194         EndFont
195         MultiPar              true
196 End
197
198 InsetLayout Box:Shaded
199         BgColor               shaded
200         LabelFont
201           Color               foreground
202           Size                Small
203         EndFont
204         MultiPar              true
205 End
206
207 InsetLayout figure
208         LabelString           Figure
209         LabelFont
210           Color               collapsable
211           Size                Small
212         EndFont
213         MultiPar              true
214 End
215
216 InsetLayout table
217         LabelString           Table
218         LabelFont
219           Color               collapsable
220           Size                Small
221         EndFont
222         MultiPar              true
223 End
224
225 InsetLayout URL
226         LyXType               standard
227         LatexName             url
228         LatexType             command
229         Decoration            minimalistic
230         LabelString           URL
231         PassThru              true
232         ForceLTR              true
233         Font
234           Family              Typewriter
235           Color               Blue
236         EndFont
237         LabelFont
238           Family              Typewriter
239           Color               Blue
240           Size                Small
241         EndFont
242         Preamble
243           \usepackage{url}
244         EndPreamble
245 End
246
247 InsetLayout OptArg
248         LabelString           opt
249         LabelFont
250           Color               collapsable
251           Size                Small
252         EndFont
253         MultiPar              false
254 End