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