]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdcharstyles.inc
Clean-up in CharStyles, externalize detection of undefined styles to
[lyx.git] / lib / layouts / stdcharstyles.inc
1 # Textclass definition file for LaTeX.
2 # Author : Martin vermeer <amrtin.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 # Error fallback:
32 InsetLayout CharStyle
33         LyxType               end
34         LabelString           "UNDEFINED"
35         Font
36           Color               error
37         EndFont
38 End
39