]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / logicalmkup.module
1 #\DeclareLyXModule{Logical Markup}
2 #\DeclareCategory{Text Markup}
3 #DescriptionBegin
4 #Defines some character styles for logical markup: noun, emph, strong, and code.
5 #DescriptionEnd
6
7 # Author : Martin vermeer <martin.vermeer@hut.fi>
8
9 Format 99
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         HTMLClass             "noun"
23         HTMLStyle
24                 span.noun {
25                         font-family: sans-serif;
26                 }
27         EndHTMLStyle
28         ResetsFont            true
29         CustomPars            false
30         DocBookTag            personname
31         DocBookTagType        inline
32 End
33
34
35 InsetLayout Flex:Emph
36         LyxType               charstyle
37         LabelString           emph
38         LatexType             command
39         LatexName             emph
40         Font
41           Shape               Italic
42         EndFont
43         InToc                 true
44         HTMLTag               em
45         ResetsFont            true
46         CustomPars            false
47         DocBookTag            emphasis
48         DocBookTagType        inline
49 End
50
51
52 InsetLayout Flex:Strong
53         LyxType               charstyle
54         LabelString           strong
55         LatexType             command
56         LatexName             strong
57         Font
58           Series              Bold
59         EndFont
60         Preamble
61         \providecommand*{\strong}[1]{\textbf{#1}}
62         EndPreamble
63         InToc                 true
64         HTMLTag               strong
65         ResetsFont            true
66         CustomPars            false
67         DocBookTag            personname
68         DocBookAttr           role='bold'
69         DocBookTagType        inline
70 End
71
72
73 InsetLayout Flex:Code
74         LyxType               charstyle
75         LabelString           code
76         LatexType             command
77         LatexName             code
78         Font
79           Family              Typewriter
80         EndFont
81         Preamble
82         \providecommand*{\code}[1]{\texttt{#1}}
83         EndPreamble
84         InToc                 true
85         HTMLTag               code
86         ResetsFont            true
87         CustomPars            false
88         Spellcheck            false
89         DocBookTag            code
90         DocBookTagType        inline
91 End