lyx_mirror/lib/layouts/logicalmkup.module

59 lines
1.1 KiB
Plaintext
Raw Normal View History

#\DeclareLyXModule{Defines some character styles for logical markup: noun, emph, strong, and code.}{Logical Markup}
# Author : Martin vermeer <martin.vermeer@hut.fi>
Format 5
InsetLayout CharStyle:Noun
LyxType charstyle
LabelString noun
LatexType command
LatexName noun
Font
Shape Smallcaps
EndFont
Preamble
\newcommand{\noun}[1]{\textsc{#1}}
EndPreamble
End
InsetLayout CharStyle:Emph
LyxType charstyle
LabelString emph
LatexType command
LatexName emph
Font
Shape Italic
EndFont
End
InsetLayout CharStyle:Strong
LyxType charstyle
LabelString strong
LatexType command
LatexName strong
Font
Series Bold
EndFont
Preamble
\newcommand{\strong}[1]{\textbf{#1}}
EndPreamble
End
InsetLayout CharStyle:Code
LyxType charstyle
LabelString code
LatexType command
LatexName code
Font
Family Typewriter
EndFont
Preamble
\newcommand{\code}[1]{\texttt{#1}}
EndPreamble
End