]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-without-preamble.inc
Update tex2lyx test files
[lyx.git] / lib / layouts / theorems-without-preamble.inc
index 4be9bec6299957b6da7059362a07d4f43bee0f49..3ba499e438ad1ace215cf4086f3d5a8d01f29e03 100644 (file)
@@ -16,6 +16,7 @@
 # - Problem
 # - Prob
 # - Solution
+# - Sol
 # - Exercise
 # - Remark
 # - Claim
@@ -25,7 +26,7 @@
 # - Note
 
 
-Format 35
+Format 40
 
 
 Counter                theorem
@@ -48,7 +49,7 @@ Style Theorem
        AlignPossible   Left
        LabelType       Counter
        LabelCounter    theorem
-       LabelString     "Theorem \thetheorem"
+       LabelString     "Theorem \thetheorem."
        Font
          Shape         Italic
          Size          Normal
@@ -72,7 +73,7 @@ Style Corollary
        CopyStyle       Theorem
        LabelCounter    corollary
        LatexName       corollary
-       LabelString     "Corollary \thecorollary"
+       LabelString     "Corollary \thecorollary."
        LangPreamble
                \providecommand{\corollaryname}{_(Corollary)}
        EndLangPreamble
@@ -88,7 +89,7 @@ Style Lemma
        CopyStyle       Theorem
        LabelCounter    lemma
        LatexName       lemma
-       LabelString     "Lemma \thelemma"
+       LabelString     "Lemma \thelemma."
        LangPreamble
                \providecommand{\lemmaname}{_(Lemma)}
        EndLangPreamble
@@ -104,7 +105,7 @@ Style Proposition
        CopyStyle       Theorem
        LabelCounter    proposition
        LatexName       proposition
-       LabelString     "Proposition \theproposition"
+       LabelString     "Proposition \theproposition."
        LangPreamble
                \providecommand{\propositionname}{_(Proposition)}
        EndLangPreamble
@@ -127,12 +128,6 @@ Style Prop
        LabelFont
          Series        Medium
        EndFont
-       LangPreamble
-               \providecommand{\propname}{_(Prop)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\propname}{_(Prop)}}
-       EndBabelPreamble
 End
 
 
@@ -142,7 +137,7 @@ Style Conjecture
        CopyStyle       Theorem
        LabelCounter    conjecture
        LatexName       conjecture
-       LabelString     "Conjecture \theconjecture"
+       LabelString     "Conjecture \theconjecture."
        Font
          Shape         Up
        EndFont
@@ -181,7 +176,7 @@ Style Definition
        CopyStyle       Theorem
        LabelCounter    definition
        LatexName       definition
-       LabelString     "Definition \thedefinition"
+       LabelString     "Definition \thedefinition."
        RefPrefix       def
        Font
          Shape         Up
@@ -205,7 +200,7 @@ Style Example
        CopyStyle       Conjecture
        LabelCounter    example
        LatexName       example
-       LabelString     "Example \theexample"
+       LabelString     "Example \theexample."
        RefPrefix       exa
        LangPreamble
                \providecommand{\examplename}{_(Example)}
@@ -223,10 +218,8 @@ Style Problem
        Category        Exercise
        LabelCounter    problem
        LatexName       problem
-       LabelString     "Problem \theproblem"
+       LabelString     "Problem \theproblem."
        RefPrefix       prob
-       OptionalArgs    1
-       RequiredArgs    1
        LangPreamble
                \providecommand{\problemname}{_(Problem)}
        EndLangPreamble
@@ -239,11 +232,30 @@ End
 Counter                prob
   Within       chapter
 End
+# Prob does not copy a style to avoid preamble code
 Style Prob
-       CopyStyle       Problem
-       LabelCounter    prob
+       Category        Exercise
+       LatexType       Environment
        LatexName       prob
-       LabelString     "\theprob"
+       Margin          First_Dynamic
+       LabelType       Counter
+       LabelCounter    prob
+       LabelString     "\theprob."
+       RefPrefix       pro
+       NextNoIndent    1
+       OptionalArgs    0
+       LabelSep        xx
+       ParIndent       MMM
+       ParSkip         0.4
+       ItemSep         0.2
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0.3
+       Align           Block
+       AlignPossible   Left
+       LabelFont
+         Series        Bold
+       EndFont
 End
 
 
@@ -253,8 +265,8 @@ Style Solution
        CopyStyle       Problem
        LabelCounter    solution
        LatexName       solution
-       LabelString     "Solution \thesolution"
-       RefPrefix       sol
+       LabelString     "Solution \thesolution."
+       RefPrefix       solu
        LangPreamble
                \providecommand{\solutionname}{_(Solution)}
        EndLangPreamble
@@ -264,13 +276,22 @@ Style Solution
 End
 
 
+Style Sol
+       CopyStyle       Prob
+       LatexName       sol
+       LabelType       Static
+       LabelString     "# [number of Prob]"
+       RequiredArgs    1
+End
+
+
 Counter                exercise
 End
 Style Exercise
        CopyStyle       Definition
        LabelCounter    exercise
        LatexName       exercise
-       LabelString     "Exercise \theexercise"
+       LabelString     "Exercise \theexercise."
        RefPrefix       exer
        LangPreamble
                \providecommand{\exercisename}{_(Exercise)}
@@ -287,7 +308,7 @@ Style Remark
        CopyStyle       Conjecture
        LabelCounter    remark
        LatexName       remark
-       LabelString     "Remark \theremark"
+       LabelString     "Remark \theremark."
        RefPrefix       rem
        LangPreamble
                \providecommand{\remarkname}{_(Remark)}
@@ -317,7 +338,7 @@ Style Case
        CopyStyle       Remark
        LabelCounter    case
        LatexName       case
-       LabelString     "Case \thecase"
+       LabelString     "Case \thecase."
        RefPrefix       case
        LangPreamble
                \providecommand{\casename}{_(Case)}
@@ -334,7 +355,7 @@ Style Property
        CopyStyle       Claim
        LabelCounter    property
        LatexName       property
-       LabelString     "Property \theproperty"
+       LabelString     "Property \theproperty."
        RefPrefix       prop
        LangPreamble
                \providecommand{\propertyname}{_(Property)}
@@ -351,7 +372,7 @@ Style Question
        CopyStyle       Claim
        LabelCounter    question
        LatexName       question
-       LabelString     "Question \thequestion"
+       LabelString     "Question \thequestion."
        RefPrefix       que
        LangPreamble
                \providecommand{\questionname}{_(Question)}
@@ -368,7 +389,7 @@ Style Note
        CopyStyle       Claim
        LabelCounter    note
        LatexName       note
-       LabelString     "Note \thenote"
+       LabelString     "Note \thenote."
        RefPrefix       note
        LangPreamble
                \providecommand{\notename}{_(Note)}