Стили текста 2
This commit is contained in:
parent
3c947051ba
commit
09ffbb0f35
102
espdmarkup.module
Normal file
102
espdmarkup.module
Normal file
@ -0,0 +1,102 @@
|
||||
#\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
|
||||
Preamble
|
||||
\newcommand{\strong}[1]{\textbf{#1}}
|
||||
EndPreamble
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user