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