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