mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Move logical markup to a module, per Martin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20342 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8a42fa39c2
commit
df08a4e4b8
58
lib/layouts/logicalmkup.module
Normal file
58
lib/layouts/logicalmkup.module
Normal file
@ -0,0 +1,58 @@
|
||||
#\DeclareLyXModule{Defines some character styles for logical markup: noun, emph, strong, and code.}{Logical Markup}
|
||||
|
||||
# Author : Martin vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
Format 5
|
||||
|
||||
InsetLayout CharStyle:Noun
|
||||
LyxType charstyle
|
||||
LabelString noun
|
||||
LatexType command
|
||||
LatexName noun
|
||||
Font
|
||||
Shape Smallcaps
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\noun}[1]{\textsc{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Emph
|
||||
LyxType charstyle
|
||||
LabelString emph
|
||||
LatexType command
|
||||
LatexName emph
|
||||
Font
|
||||
Shape Italic
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Strong
|
||||
LyxType charstyle
|
||||
LabelString strong
|
||||
LatexType command
|
||||
LatexName strong
|
||||
Font
|
||||
Series Bold
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\strong}[1]{\textbf{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Code
|
||||
LyxType charstyle
|
||||
LabelString code
|
||||
LatexType command
|
||||
LatexName code
|
||||
Font
|
||||
Family Typewriter
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\code}[1]{\texttt{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
@ -3,58 +3,6 @@
|
||||
# Character Styles definition
|
||||
|
||||
Format 5
|
||||
InsetLayout CharStyle:Noun
|
||||
LyxType charstyle
|
||||
LabelString noun
|
||||
LatexType command
|
||||
LatexName noun
|
||||
Font
|
||||
Shape Smallcaps
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\noun}[1]{\textsc{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Emph
|
||||
LyxType charstyle
|
||||
LabelString emph
|
||||
LatexType command
|
||||
LatexName emph
|
||||
Font
|
||||
Shape Italic
|
||||
EndFont
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Strong
|
||||
LyxType charstyle
|
||||
LabelString strong
|
||||
LatexType command
|
||||
LatexName strong
|
||||
Font
|
||||
Series Bold
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\strong}[1]{\textbf{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
InsetLayout CharStyle:Code
|
||||
LyxType charstyle
|
||||
LabelString code
|
||||
LatexType command
|
||||
LatexName code
|
||||
Font
|
||||
Family Typewriter
|
||||
EndFont
|
||||
Preamble
|
||||
\newcommand{\code}[1]{\texttt{#1}}
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
# Error fallback:
|
||||
InsetLayout CharStyle
|
||||
|
Loading…
Reference in New Issue
Block a user