]> git.lyx.org Git - wiki-uploads.git/blob - LyX/LinguistLyX/linguistics.inc
Update version in German docs
[wiki-uploads.git] / LyX / LinguistLyX / linguistics.inc
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>
6
7 # This include special environments for linguistic papers,
8 # like those provided by covington.sty.
9
10
11 # single numbered example with covington.sty
12 Style Numbered_Example_Single
13         LatexType       Environment
14         LatexName       example
15         NextNoIndent    1
16         LeftMargin      Example:
17         LabelSep        xx
18         ParSkip               0.0
19         ItemSep               0.2
20         TopSep                0.7
21         BottomSep             0.7
22         ParSep                0.3
23         Align                 Block
24         AlignPossible         Block, Left
25         LabelType             Static
26         LabelString           "Example:"
27         LabelFont
28                 Shape           Italic
29                 Color           Blue
30         EndFont
31         Preamble
32                 \usepackage{covington}
33         EndPreamble
34 End
35
36
37 # multiple numbered example with covington.sty
38 Style Numbered_Examples
39         CopyStyle             Numbered_Example_Single
40         Margin                Static
41         LatexType             Item_Environment
42         LatexName             examples
43 End
44
45 # multiple numbered example with covington.sty
46 Style Subexample
47         CopyStyle             Numbered_Example_Single
48         Margin                Static
49         LatexType             Item_Environment
50         LatexName             subexample
51         LeftMargin            Subexample:
52         LabelString           "Subexample:"
53         Preamble
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}}
61         EndPreamble
62 End