]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/linguistics.module
Added IBM Plex fonts to lyx-GUI
[lyx.git] / lib / layouts / linguistics.module
index 062d5eedfcaac9119053bcbfed19377dcb382d7d..ead4a422553c19e7e4a49abcdb2462a3fb1c3289 100644 (file)
@@ -7,41 +7,37 @@
 
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
 
-Format 60
+Format 69
 
-# FIXME: It is currently not possible to share a
-# counter in layouts with STATIC and ENUMERATE
-# LabelType. The counters are not stepped properly.
 Counter example
        Within               chapter
-#      LabelString          "(\arabic{example})"
-       LabelString          "Examples:"
+       LabelString          "(\arabic{example})"
 End
 
 Counter examplei
        Within               chapter
-#      LabelString          "(\arabic{examplei})"
-       LabelString          "Examples:"
+       LabelString          "(\arabic{examplei})"
 End
 
 Counter subexample
        Within               examplei
-#      LabelString          "\theexamplei (\alph{subexample})"
-       LabelString          "Subexample:"
+       LabelString          "\theexamplei (\alph{subexample})"
 End
 
 Counter subexamplei
        Within               examplei
-#      LabelString          "\theexamplei (\alph{subexamplei})"
-       LabelString          "Subexample:"
+       LabelString          "\theexamplei (\alph{subexamplei})"
 End
 
+OutlinerName tableau    "Tableaux" #no AddToToc (built-in)
+
 # single numbered example with covington.sty
 Style Numbered_Example_(multiline)
        LatexType             Environment
        LatexName             covexample
        NextNoIndent          1
-       Margin                Dynamic
+       Margin                First_Dynamic
+       ParIndent             (1)x
        LabelSep              xx
        ParSkip               0.0
        ItemSep               0.2
@@ -51,10 +47,8 @@ Style Numbered_Example_(multiline)
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-#      LabelCounter          "example"
-       LabelString           "Example:"
+       LabelCounter          "examplei"
        LabelFont
-               Shape         Italic
                Color         Blue
        EndFont
        Requires              covington
@@ -76,6 +70,17 @@ Style Numbered_Examples_(consecutive)
        LatexName             covexamples
        LabelType             Enumerate
        LabelCounter          "example"
+       ResumeCounter         true
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
        Argument item:1
                LabelString   "Custom Numbering|s"
                Tooltip       "Customize the numeration"
@@ -95,6 +100,7 @@ Style Subexample
        CopyStyle             Numbered_Examples_(consecutive)
        LatexName             subexample
        LabelCounter          "subexample"
+       StepMasterCounter     true
        Requires              covington,enumitem
        Preamble
                \newenvironment{subexample}{%
@@ -261,6 +267,8 @@ End
 
 
 # Tableaux for Optimality Theory
+OutlinerName tableau        "Tableaux" #no AddToToc
+
 Float
        Type                  tableau
        GuiName               Tableau