mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +00:00
5ee35ace6f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28377 a592a061-630c-0410-9148-cb99ea01b6c8
63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
#\DeclareLyXModule{Logical Markup}
|
|
#DescriptionBegin
|
|
#Defines some character styles for logical markup: noun, emph, strong, and code.
|
|
#DescriptionEnd
|
|
|
|
# Author : Martin vermeer <martin.vermeer@hut.fi>
|
|
|
|
Format 11
|
|
|
|
InsetLayout CharStyle:Noun
|
|
LyxType charstyle
|
|
LabelString noun
|
|
LatexType command
|
|
LatexName noun
|
|
Font
|
|
Shape Smallcaps
|
|
EndFont
|
|
Requires noun
|
|
InToc true
|
|
End
|
|
|
|
|
|
InsetLayout CharStyle:Emph
|
|
LyxType charstyle
|
|
LabelString emph
|
|
LatexType command
|
|
LatexName emph
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
InToc true
|
|
End
|
|
|
|
|
|
InsetLayout CharStyle:Strong
|
|
LyxType charstyle
|
|
LabelString strong
|
|
LatexType command
|
|
LatexName strong
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
Preamble
|
|
\newcommand{\strong}[1]{\textbf{#1}}
|
|
EndPreamble
|
|
InToc true
|
|
End
|
|
|
|
|
|
InsetLayout CharStyle:Code
|
|
LyxType charstyle
|
|
LabelString code
|
|
LatexType command
|
|
LatexName code
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
Preamble
|
|
\newcommand{\code}[1]{\texttt{#1}}
|
|
EndPreamble
|
|
InToc true
|
|
End
|