]> git.lyx.org Git - lyx.git/blob - lib/layouts/logicalmkup.module
include intl/libintl.h that is relative to $TOP_SRCDIR/src
[lyx.git] / lib / layouts / logicalmkup.module
1 #\DeclareLyXModule{Defines some character styles for logical markup: noun, emph, strong, and code.}{Logical Markup}
2
3 # Author : Martin vermeer <martin.vermeer@hut.fi>
4
5 Format 5
6
7 InsetLayout CharStyle:Noun
8         LyxType               charstyle
9         LabelString           noun
10         LatexType             command
11         LatexName             noun
12         Font
13           Shape               Smallcaps
14         EndFont
15         Preamble
16         \newcommand{\noun}[1]{\textsc{#1}}
17         EndPreamble
18 End
19
20
21 InsetLayout CharStyle:Emph
22         LyxType               charstyle
23         LabelString           emph
24         LatexType             command
25         LatexName             emph
26         Font
27           Shape               Italic
28         EndFont
29 End
30
31
32 InsetLayout CharStyle:Strong
33         LyxType               charstyle
34         LabelString           strong
35         LatexType             command
36         LatexName             strong
37         Font
38           Series              Bold
39         EndFont
40         Preamble
41         \newcommand{\strong}[1]{\textbf{#1}}
42         EndPreamble
43 End
44
45
46 InsetLayout CharStyle:Code
47         LyxType               charstyle
48         LabelString           code
49         LatexType             command
50         LatexName             code
51         Font
52           Family              Typewriter
53         EndFont
54         Preamble
55         \newcommand{\code}[1]{\texttt{#1}}
56         EndPreamble
57 End
58