1 # Standard textclass definition file. Taken from initial LyX source code
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Transposed by Pascal André <andre@via.ecp.fr>
4 # Heavily modifed and enhanced by several developers.
5 # Split from stdstruct.inc by Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7 # This include special environments for linguistic papers,
8 # like those provided by covington.sty.
11 # single numbered example with covington.sty
12 Style Numbered_Example_Single
24 AlignPossible Block, Left
26 LabelString "Example:"
32 \usepackage{covington}
37 # multiple numbered example with covington.sty
38 Style Numbered_Examples
39 CopyStyle Numbered_Example_Single
41 LatexType Item_Environment
45 # multiple numbered example with covington.sty
47 CopyStyle Numbered_Example_Single
49 LatexType Item_Environment
51 LeftMargin Subexample:
52 LabelString "Subexample:"
54 \usepackage{covington}
55 \newenvironment{subexample}{%
56 \begin{example}\begin{enumerate}
57 \renewcommand\theenumi{\alph{enumi}}
58 \renewcommand\labelenumi{(\theenumi)}
59 \renewcommand\p@enumi{\theequation\,}}%
60 {\end{enumerate}\end{example}}