]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
Categorize existing layouts
[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 #Category: charstyles
6
7 # Author : Martin vermeer <martin.vermeer@hut.fi>
8
9 Format 36
10
11 InsetLayout Flex:Noun
12         LyxType               charstyle
13         LabelString           noun
14         LatexType             command
15         LatexName             noun
16         Font
17           Shape               Smallcaps
18         EndFont
19         Requires              noun
20         InToc                 true
21         HTMLTag               span
22         HTMLAttr              class='noun'
23         HTMLStyle
24                 span.noun {
25                         font-family: sans-serif;
26                 }
27         EndHTMLStyle
28 End
29
30
31 InsetLayout Flex:Emph
32         LyxType               charstyle
33         LabelString           emph
34         LatexType             command
35         LatexName             emph
36         Font
37           Shape               Italic
38         EndFont
39         InToc                 true
40         HTMLTag               em
41 End
42
43
44 InsetLayout Flex:Strong
45         LyxType               charstyle
46         LabelString           strong
47         LatexType             command
48         LatexName             strong
49         Font
50           Series              Bold
51         EndFont
52         Preamble
53         \newcommand{\strong}[1]{\textbf{#1}}
54         EndPreamble
55         InToc                 true
56         HTMLTag               strong
57 End
58
59
60 InsetLayout Flex:Code
61         LyxType               charstyle
62         LabelString           code
63         LatexType             command
64         LatexName             code
65         Font
66           Family              Typewriter
67         EndFont
68         Preamble
69         \newcommand{\code}[1]{\texttt{#1}}
70         EndPreamble
71         InToc                 true
72         HTMLTag               code
73 End