# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 57
+Format 60
# single numbered example with covington.sty
Style Numbered_Example_(multiline)
LatexType Environment
- LatexName example
+ LatexName covexample
NextNoIndent 1
Margin Dynamic
LabelSep xx
Color Blue
EndFont
Requires covington
+ Preamble
+ % Backwards compatibility with covington < 1.1
+ % This code can be removed eventually
+ \@ifundefined{covexample}{%
+ \newenvironment{covexample}{\begin{example}}{\end{example}}%
+ }
+ EndPreamble
Category Linguistics
End
Style Numbered_Examples_(consecutive)
CopyStyle Numbered_Example_(multiline)
LatexType Item_Environment
- LatexName examples
+ LatexName covexamples
LabelString "Examples:"
Argument item:1
LabelString "Custom Numbering|s"
Tooltip "Customize the numeration"
EndArgument
+ Preamble
+ % Backwards compatibility with covington < 1.1
+ % This code can be removed eventually
+ \@ifundefined{covexamples}{%
+ \newenvironment{covexamples}{\begin{examples}}{\end{examples}}%
+ }
+ EndPreamble
End
Requires forest
ResetsFont true
PassThruChars []
+ Preamble
+ % Load forest linguistics library, if available
+ \@ifpackagelater{forest}{2016/02/20}{%
+ \useforestlibrary*{linguistics}
+ }{}
+ EndPreamble
End
\newcommand{\lingexpr}[1]{\emph{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End
\newcommand{\lingconcept}[1]{\textsc{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End
\newcommand{\lingmeaning}[1]{\enquote*{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End