X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flinguistics.module;h=84972814d4af26d6071ce4e2069ed091fbc21ec5;hb=ccd3293c516524c94b7b96bf54aa32b605cd06df;hp=51b379f2b29704d01e3ff940606e6aac99010581;hpb=7c28905b177b8366531915903ac903a0fff716de;p=lyx.git diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index 51b379f2b2..84972814d4 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -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 -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 +