-#\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, tableau floats).
+#See linguistics.lyx file in examples.
+#DescriptionEnd
# Author: Jürgen Spitzmüller <spitz@lyx.org>
-Format 5
+Format 42
# single numbered example with covington.sty
Style Numbered_Example_(multiline)
LatexType Environment
LatexName example
NextNoIndent 1
- LeftMargin XExample:
+ Margin Dynamic
LabelSep xx
ParSkip 0.0
ItemSep 0.2
Shape Italic
Color Blue
EndFont
- Preamble
- \usepackage{covington}
- EndPreamble
+ Requires covington
+ Category Linguistics
End
# multiple numbered examples with covington.sty
Style Numbered_Examples_(consecutive)
CopyStyle Numbered_Example_(multiline)
- Margin Static
- LeftMargin XExamples:
LatexType Item_Environment
LatexName examples
LabelString "Examples:"
# multiple numbered example with covington.sty
Style Subexample
CopyStyle Numbered_Example_(multiline)
- Margin Static
LatexType Item_Environment
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}}
# glosse (2 lines) with covington.sty
# mandatory translation must be entered verbatim!
-InsetLayout Custom:Glosse
+InsetLayout Flex:Glosse
LyXType custom
LabelString Glosse
LatexType environment
Size Small
EndFont
MultiPar true
+ CustomPars false
+ ForcePlain true
PassThru true
+ ParbreakIsNewline true
FreeSpacing true
+ ForceLTR true
+ Requires covington
Preamble
- \usepackage{covington}
\@ifundefined{linggloss}{%
\newenvironment{linggloss}[1]{%
\gll #1}
{\glend}}{}
EndPreamble
+ InToc true
End
# glosse (3 lines) with covington.sty
# mandatory translation must be entered verbatim!
-InsetLayout Custom:Tri-Glosse
+InsetLayout Flex:Tri-Glosse
LyXType custom
LabelString Tri-Glosse
LatexType environment
Size Small
EndFont
MultiPar true
+ CustomPars false
+ ForcePlain true
PassThru true
+ ParbreakIsNewline true
FreeSpacing true
+ ForceLTR true
+ InToc true
+ Requires covington
Preamble
- \usepackage{covington}
\@ifundefined{lingglosss}{%
\newenvironment{lingglosss}[1]{%
\glll #1}
End
-InsetLayout CharStyle:Expression
+# Some semantik markup for Semantics
+InsetLayout Flex:Expression
LyxType charstyle
LabelString expr.
LatexType command
Preamble
\newcommand{\lingexpr}[1]{\emph{#1}}
EndPreamble
+ InToc true
End
-InsetLayout CharStyle:Concepts
+InsetLayout Flex:Concepts
LyxType charstyle
LabelString concept
LatexType command
Preamble
\newcommand{\lingconcept}[1]{\textsc{#1}}
EndPreamble
+ InToc true
End
-InsetLayout CharStyle:Meaning
+InsetLayout Flex:Meaning
LyxType charstyle
LabelString meaning
LatexType command
LatexName lingmeaning
+ Requires csquotes
Preamble
- \usepackage{csquotes}
\newcommand{\lingmeaning}[1]{\enquote*{#1}}
EndPreamble
+ InToc true
+End
+
+
+# Tableaux for Optimality Theory
+Float
+ Type tableau
+ GuiName Tableau
+ Placement tbp
+ Extension otl
+ NumberWithin none
+ Style plain
+ ListName "List of Tableaux"
+ IsPredefined false
+ UsesFloatPkg true
End
+