]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
Question environments, from Russ Woodroofe.
[lyx.git] / lib / layouts / logicalmkup.module
1 #\DeclareLyXModule{Logical Markup}
2 #DescriptionBegin
3 #Defines some character styles for logical markup: noun, emph, strong, and code.
4 #DescriptionEnd
5
6 # Author : Martin vermeer <martin.vermeer@hut.fi>
7
8 Format 11
9
10 InsetLayout CharStyle:Noun
11         LyxType               charstyle
12         LabelString           noun
13         LatexType             command
14         LatexName             noun
15         Font
16           Shape               Smallcaps
17         EndFont
18         Requires              noun
19 End
20
21
22 InsetLayout CharStyle:Emph
23         LyxType               charstyle
24         LabelString           emph
25         LatexType             command
26         LatexName             emph
27         Font
28           Shape               Italic
29         EndFont
30 End
31
32
33 InsetLayout CharStyle:Strong
34         LyxType               charstyle
35         LabelString           strong
36         LatexType             command
37         LatexName             strong
38         Font
39           Series              Bold
40         EndFont
41         Preamble
42         \newcommand{\strong}[1]{\textbf{#1}}
43         EndPreamble
44 End
45
46
47 InsetLayout CharStyle:Code
48         LyxType               charstyle
49         LabelString           code
50         LatexType             command
51         LatexName             code
52         Font
53           Family              Typewriter
54         EndFont
55         Preamble
56         \newcommand{\code}[1]{\texttt{#1}}
57         EndPreamble
58 End
59