X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flinguistics.module;h=efe0b66ac06e48316422e078bd03b16e5fdcd416;hb=a88e6e1ea5861f8275adbe4c962c2629fb482613;hp=b2a7f8c6fb058630278948fd7a8225f91ff1499c;hpb=0e2ded8161399bf46ed4737e091bc62a38e1d564;p=lyx.git diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index b2a7f8c6fb..efe0b66ac0 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -7,14 +7,14 @@ # Author: Jürgen Spitzmüller -Format 11 +Format 53 # 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 @@ -30,14 +30,13 @@ Style Numbered_Example_(multiline) Color Blue EndFont Requires covington + Category Linguistics 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:" @@ -47,10 +46,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 @@ -66,7 +63,7 @@ End # glosse (2 lines) with covington.sty # mandatory translation must be entered verbatim! -InsetLayout Custom:Glosse +InsetLayout Flex:Glosse LyXType custom LabelString Glosse LatexType environment @@ -79,7 +76,9 @@ InsetLayout Custom:Glosse CustomPars false ForcePlain true PassThru true + ParbreakIsNewline true FreeSpacing true + ForceLTR true Requires covington Preamble \@ifundefined{linggloss}{% @@ -87,12 +86,14 @@ InsetLayout Custom:Glosse \gll #1} {\glend}}{} EndPreamble + InToc true + ResetsFont true End # glosse (3 lines) with covington.sty # mandatory translation must be entered verbatim! -InsetLayout Custom:Tri-Glosse +InsetLayout Flex:Tri-Glosse LyXType custom LabelString Tri-Glosse LatexType environment @@ -105,7 +106,10 @@ InsetLayout Custom:Tri-Glosse CustomPars false ForcePlain true PassThru true + ParbreakIsNewline true FreeSpacing true + ForceLTR true + InToc true Requires covington Preamble \@ifundefined{lingglosss}{% @@ -113,11 +117,12 @@ InsetLayout Custom:Tri-Glosse \glll #1} {\glend}}{} EndPreamble + ResetsFont true End # Some semantik markup for Semantics -InsetLayout CharStyle:Expression +InsetLayout Flex:Expression LyxType charstyle LabelString expr. LatexType command @@ -128,10 +133,12 @@ InsetLayout CharStyle:Expression Preamble \newcommand{\lingexpr}[1]{\emph{#1}} EndPreamble + InToc true + ResetsFont true End -InsetLayout CharStyle:Concepts +InsetLayout Flex:Concepts LyxType charstyle LabelString concept LatexType command @@ -142,18 +149,22 @@ InsetLayout CharStyle:Concepts Preamble \newcommand{\lingconcept}[1]{\textsc{#1}} EndPreamble + InToc true + ResetsFont true End -InsetLayout CharStyle:Meaning +InsetLayout Flex:Meaning LyxType charstyle LabelString meaning LatexType command LatexName lingmeaning - Requires csquotes + Requires csquotes Preamble \newcommand{\lingmeaning}[1]{\enquote*{#1}} EndPreamble + InToc true + ResetsFont true End @@ -166,6 +177,7 @@ Float NumberWithin none Style plain ListName "List of Tableaux" - LaTeXBuiltin false + IsPredefined false + UsesFloatPkg true End