]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
6d36fd1d43e990b06843a7303c16f477363a89eb
[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 68
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         ResetsFont            true
29         CustomPars            false
30 End
31
32
33 InsetLayout Flex:Emph
34         LyxType               charstyle
35         LabelString           emph
36         LatexType             command
37         LatexName             emph
38         Font
39           Shape               Italic
40         EndFont
41         InToc                 true
42         HTMLTag               em
43         ResetsFont            true
44         CustomPars            false
45 End
46
47
48 InsetLayout Flex:Strong
49         LyxType               charstyle
50         LabelString           strong
51         LatexType             command
52         LatexName             strong
53         Font
54           Series              Bold
55         EndFont
56         Preamble
57         \providecommand*{\strong}[1]{\textbf{#1}}
58         EndPreamble
59         InToc                 true
60         HTMLTag               strong
61         ResetsFont            true
62         CustomPars            false
63 End
64
65
66 InsetLayout Flex:Code
67         LyxType               charstyle
68         LabelString           code
69         LatexType             command
70         LatexName             code
71         Font
72           Family              Typewriter
73         EndFont
74         Preamble
75         \providecommand*{\code}[1]{\texttt{#1}}
76         EndPreamble
77         InToc                 true
78         HTMLTag               code
79         ResetsFont            true
80         CustomPars            false
81         Spellcheck            false
82 End