]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
* linguistics.module:
[lyx.git] / lib / layouts / linguistics.module
index 51b379f2b29704d01e3ff940606e6aac99010581..84972814d4af26d6071ce4e2069ed091fbc21ec5 100644 (file)
@@ -1,12 +1,13 @@
 #\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 6
+Format 11
 
 # single numbered example with covington.sty
 Style Numbered_Example_(multiline)
@@ -75,8 +76,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 +88,7 @@ InsetLayout Custom:Glosse
                        \gll #1}
                {\glend}}{}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -99,8 +104,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 +120,7 @@ InsetLayout Custom:Tri-Glosse
 End
 
 
+# Some semantik markup for Semantics
 InsetLayout CharStyle:Expression
        LyxType               charstyle
        LabelString           expr.
@@ -122,6 +132,7 @@ InsetLayout CharStyle:Expression
        Preamble
                \newcommand{\lingexpr}[1]{\emph{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -136,6 +147,7 @@ InsetLayout CharStyle:Concepts
        Preamble
                \newcommand{\lingconcept}[1]{\textsc{#1}}
        EndPreamble
+       InToc                 true
 End
 
 
@@ -144,8 +156,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"
+       LaTeXBuiltin          false
+End
+