-#\DeclareLyXModule[covington.sty]{Defines some special environments useful for linguistics (numbered examples, glosses, semantic markup).}{Linguistics}
+#\DeclareLyXModule[covington.sty]{Linguistics}
+#DescriptionBegin
+#Defines some special environments useful for linguistics (numbered examples,
+#glosses, semantic markup).
+#DescriptionEnd
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 5
+Format 7
# single numbered example with covington.sty
Style Numbered_Example_(multiline)
Shape Italic
Color Blue
EndFont
- Preamble
- \usepackage{covington}
- EndPreamble
+ Requires covington
End
LatexName subexample
LeftMargin XSubexample:
LabelString "Subexample:"
+ Requires covington,enumitem
Preamble
- \usepackage{covington}
- \usepackage{enumitem}
\newenvironment{subexample}{%
\begin{example}\begin{enumerate}[leftmargin=1.7em]
\renewcommand\theenumi{\alph{enumi}}
MultiPar true
PassThru true
FreeSpacing true
+ Requires covington
Preamble
- \usepackage{covington}
\@ifundefined{linggloss}{%
\newenvironment{linggloss}[1]{%
\gll #1}
MultiPar true
PassThru true
FreeSpacing true
+ Requires covington
Preamble
- \usepackage{covington}
\@ifundefined{lingglosss}{%
\newenvironment{lingglosss}[1]{%
\glll #1}
LabelString meaning
LatexType command
LatexName lingmeaning
+ Requires csquotes
Preamble
- \usepackage{csquotes}
\newcommand{\lingmeaning}[1]{\enquote*{#1}}
EndPreamble
End