100 lines
2.0 KiB
Plaintext
100 lines
2.0 KiB
Plaintext
#\DeclareLyXModule{ESPD Markup}
|
|
#DescriptionBegin
|
|
#Defines some character styles for logical markup: noun, emph, strong, and code.
|
|
#DescriptionEnd
|
|
#Category: charstyles
|
|
|
|
# Author : Martin vermeer <martin.vermeer@hut.fi>
|
|
|
|
Format 60
|
|
|
|
InsetLayout Flex:Noun
|
|
LyxType charstyle
|
|
LabelString noun
|
|
LatexType command
|
|
LatexName noun
|
|
Font
|
|
Shape Smallcaps
|
|
EndFont
|
|
Requires noun
|
|
InToc true
|
|
HTMLTag span
|
|
HTMLAttr class='noun'
|
|
HTMLStyle
|
|
span.noun {
|
|
font-family: sans-serif;
|
|
}
|
|
EndHTMLStyle
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Emph
|
|
LyxType charstyle
|
|
LabelString emph
|
|
LatexType command
|
|
LatexName emph
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
InToc true
|
|
HTMLTag em
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Strong
|
|
LyxType charstyle
|
|
LabelString strong
|
|
LatexType command
|
|
LatexName strong
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
InToc true
|
|
HTMLTag strong
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Code
|
|
LyxType charstyle
|
|
LabelString code
|
|
LatexType command
|
|
LatexName code
|
|
Font
|
|
Family Typewriter
|
|
Size Small
|
|
Series Normal
|
|
EndFont
|
|
Preamble
|
|
\newcommand{\code}[1]{\texttt{\small{}#1}}
|
|
EndPreamble
|
|
InToc true
|
|
HTMLTag code
|
|
ResetsFont true
|
|
Spellcheck false
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Code-Bold
|
|
LyxType charstyle
|
|
LabelString code-bold
|
|
LatexType command
|
|
LatexName codebold
|
|
Font
|
|
Family Typewriter
|
|
Size Small
|
|
Series Bold
|
|
EndFont
|
|
Preamble
|
|
\newcommand{\codebold}[1]{\texttt{\textbf{\small{}{#1}}}}
|
|
EndPreamble
|
|
InToc true
|
|
HTMLTag code
|
|
ResetsFont true
|
|
Spellcheck false
|
|
End
|
|
|
|
|