]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdinsets.inc
include intl/libintl.h that is relative to $TOP_SRCDIR/src
[lyx.git] / lib / layouts / stdinsets.inc
1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <amrtin.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 Note:Framed
122         LabelString           framed
123         LatexType             environment
124         LatexName             framed
125         BgColor               greyedoutbg
126         LabelFont
127           Color               greyedout
128           Size                Small
129         EndFont
130         MultiPar              true
131 End
132
133 InsetLayout Note:Shaded
134         LabelString           shaded
135         LatexType             environment
136         LatexName             shaded
137         BgColor               shaded
138         LabelFont
139           Color               greyedout
140           Size                Small
141         EndFont
142         MultiPar              true
143 End
144
145 InsetLayout ERT
146         LabelString           ERT
147         LatexType             none
148         Decoration            minimalistic
149         Font
150           Color               latex
151           Family              typewriter
152         EndFont
153         LabelFont
154           Color               latex
155           Size                Small
156         EndFont
157         MultiPar              true
158         PassThru              true
159         KeepEmpty             true
160         FreeSpacing           true
161         ForceLTR              true
162 End
163
164 InsetLayout Listings
165         LabelString           Listings
166         LatexType             none
167         Decoration            minimalistic
168         Font
169           Color               foreground
170           Family              typewriter
171         EndFont
172         LabelFont
173           Color               foreground
174           Size                Small
175         EndFont
176         MultiPar              true
177         PassThru              true
178         KeepEmpty             true
179         FreeSpacing           true
180 End
181
182 InsetLayout Branch
183         Decoration            minimalistic
184         LabelFont
185           Color               Red
186           Size                Small
187         EndFont
188         MultiPar              true
189 End
190
191 InsetLayout Index
192         LabelString           Idx
193         LatexType             command
194         LatexName             index
195         Decoration            minimalistic
196         Font
197           Color               Green
198           Size                Small
199           Family              Roman
200           Shape               Up
201           Series              Medium
202           Misc                No_Emph
203           Misc                No_Noun
204           Misc                No_Bar
205         EndFont
206         LabelFont
207           Color               Green
208           Size                Small
209         EndFont
210         MultiPar              false
211         NeedProtect           true
212 End
213
214 InsetLayout Box
215         LabelFont
216           Color               foreground
217           Size                Small
218         EndFont
219         MultiPar              true
220 End
221
222 InsetLayout figure
223         LabelString           Figure
224         LabelFont
225           Color               collapsable
226           Size                Small
227         EndFont
228         MultiPar              true
229 End
230
231 InsetLayout table
232         LabelString           Table
233         LabelFont
234           Color               collapsable
235           Size                Small
236         EndFont
237         MultiPar              true
238 End
239
240 InsetLayout URL
241         LyXType               standard
242         LatexName             url
243         LatexType             command
244         Decoration            minimalistic
245         LabelString           URL
246         PassThru              true
247         ForceLTR              true
248         Font
249           Family              Typewriter
250           Color               Blue
251         EndFont
252         LabelFont
253           Family              Typewriter
254           Color               Blue
255           Size                Small
256         EndFont
257         Preamble
258           \usepackage{url}
259         EndPreamble
260 End
261
262 InsetLayout OptArg
263         LabelString           opt
264         LabelFont
265           Color               collapsable
266           Size                Small
267         EndFont
268         MultiPar              false
269 End