]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Update layout format.
[lyx.git] / lib / layouts / linguistics.module
index bbca7aa380d6646e6dfe34908eea03e3eac25951..a078ddd8c3352d2446c2036b1fe80e81837a3247 100644 (file)
@@ -1,19 +1,20 @@
 #\DeclareLyXModule[covington.sty]{Linguistics}
 #DescriptionBegin
 #Defines some special environments useful for linguistics (numbered examples,
-#glosses, semantic markup).
+#glosses, semantic markup, tableau floats).
+#See linguistics.lyx file in examples.
 #DescriptionEnd
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 8
+Format 27
 
 # 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
@@ -35,8 +36,6 @@ 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:"
@@ -46,10 +45,8 @@ End
 # 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
@@ -75,8 +72,11 @@ InsetLayout Custom:Glosse
          Size                Small
        EndFont
        MultiPar              true
+       CustomPars            false
+       ForcePlain            true
        PassThru              true
        FreeSpacing           true
+       ForceLTR              true
        Requires              covington
        Preamble
                \@ifundefined{linggloss}{%
@@ -84,6 +84,7 @@ InsetLayout Custom:Glosse
                        \gll #1}
                {\glend}}{}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -99,8 +100,12 @@ InsetLayout Custom:Tri-Glosse
          Size                Small
        EndFont
        MultiPar              true
+       CustomPars            false
+       ForcePlain            true
        PassThru              true
        FreeSpacing           true
+       ForceLTR              true
+       InToc                 true
        Requires              covington
        Preamble
                \@ifundefined{lingglosss}{%
@@ -111,6 +116,7 @@ InsetLayout Custom:Tri-Glosse
 End
 
 
+# Some semantik markup for Semantics
 InsetLayout CharStyle:Expression
        LyxType               charstyle
        LabelString           expr.
@@ -122,6 +128,7 @@ InsetLayout CharStyle:Expression
        Preamble
                \newcommand{\lingexpr}[1]{\emph{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -136,6 +143,7 @@ InsetLayout CharStyle:Concepts
        Preamble
                \newcommand{\lingconcept}[1]{\textsc{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -144,8 +152,23 @@ InsetLayout CharStyle:Meaning
        LabelString           meaning
        LatexType             command
        LatexName             lingmeaning
-       Requires              csquotes
+       Requires              csquotes
        Preamble
                \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"
+       NeedsFloatPkg         true
+End
+