]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdcharstyles.inc
Modularize the theorem modules.
[lyx.git] / lib / layouts / stdcharstyles.inc
1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <martin.vermeer@hut.fi>
3 # Character Styles definition
4
5 Format 5
6 InsetLayout CharStyle:Noun
7         LyxType               charstyle
8         LabelString           noun
9         LatexType             command
10         LatexName             noun
11         Font
12           Shape               Smallcaps
13         EndFont
14         Preamble
15         \newcommand{\noun}[1]{\textsc{#1}}
16         EndPreamble
17 End
18
19
20 InsetLayout CharStyle:Emph
21         LyxType               charstyle
22         LabelString           emph
23         LatexType             command
24         LatexName             emph
25         Font
26           Shape               Italic
27         EndFont
28 End
29
30
31 InsetLayout CharStyle:Strong
32         LyxType               charstyle
33         LabelString           strong
34         LatexType             command
35         LatexName             strong
36         Font
37           Series              Bold
38         EndFont
39         Preamble
40         \newcommand{\strong}[1]{\textbf{#1}}
41         EndPreamble
42 End
43
44
45 InsetLayout CharStyle:Code
46         LyxType               charstyle
47         LabelString           code
48         LatexType             command
49         LatexName             code
50         Font
51           Family              Typewriter
52         EndFont
53         Preamble
54         \newcommand{\code}[1]{\texttt{#1}}
55         EndPreamble
56 End
57
58
59 # Error fallback:
60 InsetLayout CharStyle
61         LyxType               end
62         LabelString           "UNDEFINED"
63         Font
64           Color               error
65         EndFont
66 End
67