mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 13:40:39 +00:00
e3da8b65f6
Includes: semantic markup (sorry about noun: Additional.lyx uses it to mark menus; there is something better in DocBook, but it looks like the LaTeX equivalent is really for person names), boxes, info layouts.
92 lines
2.0 KiB
Plaintext
92 lines
2.0 KiB
Plaintext
#\DeclareLyXModule{Logical Markup}
|
|
#\DeclareCategory{Text Markup}
|
|
#DescriptionBegin
|
|
#Defines some character styles for logical markup: noun, emph, strong, and code.
|
|
#DescriptionEnd
|
|
|
|
# Author : Martin vermeer <martin.vermeer@hut.fi>
|
|
|
|
Format 82
|
|
|
|
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
|
|
CustomPars false
|
|
DocBookTag personname
|
|
DocBookTagType inline
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Emph
|
|
LyxType charstyle
|
|
LabelString emph
|
|
LatexType command
|
|
LatexName emph
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
InToc true
|
|
HTMLTag em
|
|
ResetsFont true
|
|
CustomPars false
|
|
DocBookTag emphasis
|
|
DocBookTagType inline
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Strong
|
|
LyxType charstyle
|
|
LabelString strong
|
|
LatexType command
|
|
LatexName strong
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
Preamble
|
|
\providecommand*{\strong}[1]{\textbf{#1}}
|
|
EndPreamble
|
|
InToc true
|
|
HTMLTag strong
|
|
ResetsFont true
|
|
CustomPars false
|
|
DocBookTag personname
|
|
DocBookAttr role='bold'
|
|
DocBookTagType inline
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Code
|
|
LyxType charstyle
|
|
LabelString code
|
|
LatexType command
|
|
LatexName code
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
Preamble
|
|
\providecommand*{\code}[1]{\texttt{#1}}
|
|
EndPreamble
|
|
InToc true
|
|
HTMLTag code
|
|
ResetsFont true
|
|
CustomPars false
|
|
Spellcheck false
|
|
DocBookTag code
|
|
DocBookTagType inline
|
|
End
|