lyx_mirror/lib/layouts/logicalmkup.module
Juergen Spitzmueller bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00

83 lines
1.7 KiB
Plaintext

#\DeclareLyXModule{Logical 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 68
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
End
InsetLayout Flex:Emph
LyxType charstyle
LabelString emph
LatexType command
LatexName emph
Font
Shape Italic
EndFont
InToc true
HTMLTag em
ResetsFont true
CustomPars false
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
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
End