]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
Allow literate documents other than noweb to work out of the box. Currently
[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 11
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 End
21
22
23 InsetLayout CharStyle:Emph
24         LyxType               charstyle
25         LabelString           emph
26         LatexType             command
27         LatexName             emph
28         Font
29           Shape               Italic
30         EndFont
31         InToc                 true
32 End
33
34
35 InsetLayout CharStyle:Strong
36         LyxType               charstyle
37         LabelString           strong
38         LatexType             command
39         LatexName             strong
40         Font
41           Series              Bold
42         EndFont
43         Preamble
44         \newcommand{\strong}[1]{\textbf{#1}}
45         EndPreamble
46         InToc                 true
47 End
48
49
50 InsetLayout CharStyle:Code
51         LyxType               charstyle
52         LabelString           code
53         LatexType             command
54         LatexName             code
55         Font
56           Family              Typewriter
57         EndFont
58         Preamble
59         \newcommand{\code}[1]{\texttt{#1}}
60         EndPreamble
61         InToc                 true
62 End