X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flinguistics.module;h=8e360f7b2bef18efead9ba8981b6ff595f2c2cfb;hb=adefdf8eebb9aebccdd472482579e55758857f66;hp=eafea9659500d8ed2293b6b81aebd40e39018f67;hpb=7f4f9a99f06a44f210dbfa8e354d94df45969774;p=lyx.git diff --git a/lib/layouts/linguistics.module b/lib/layouts/linguistics.module index eafea96595..8e360f7b2b 100644 --- a/lib/layouts/linguistics.module +++ b/lib/layouts/linguistics.module @@ -8,7 +8,7 @@ # Author: Jürgen Spitzmüller -Format 102 +Format 104 # # Counters @@ -18,42 +18,49 @@ Counter example GuiName Example Within chapter LabelString "(\arabic{example})" + PrettyFormat "(\arabic{example})" End Counter examplei GuiName "Numbered Example (Multiline)" Within chapter LabelString "(\arabic{examplei})" + PrettyFormat "(\arabic{examplei})" End Counter subexample GuiName Subexample Within examplei LabelString "\theexamplei (\alph{subexample})" + PrettyFormat "\theexamplei (\alph{subexample})" End Counter subexamplei GuiName Subexample Within examplei LabelString "\theexamplei (\alph{subexamplei})" + PrettyFormat "\theexamplei (\alph{subexamplei})" End Counter subexampleii GuiName Subexample Within examplei LabelString "\theexamplei (\alph{subexampleii})" + PrettyFormat "\theexamplei (\alph{subexampleii})" End Counter subexampleiii GuiName Subexample Within examplei LabelString "\theexamplei (\alph{subexampleiii})" + PrettyFormat "\theexamplei (\alph{subexampleiii})" End Counter subexampleiv GuiName Subexample Within examplei LabelString "\theexamplei (\alph{subexampleiv})" + PrettyFormat "\theexamplei (\alph{subexampleiv})" End # @@ -157,6 +164,8 @@ InsetLayout Flex:Example_Preamble AllowedInLayouts Numbered_Example_(multiline), Numbered_Examples_(consecutive) EndAllowedInLayouts + AllowedOccurrences 1 + AllowedOccurrencesPerItem true End InsetLayout Flex:Subexample_Preamble @@ -596,5 +605,6 @@ Float ListName "List of Tableaux" IsPredefined false UsesFloatPkg true + PrettyFormat "Tableau ##" End