]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsmaths.inc
include intl/libintl.h that is relative to $TOP_SRCDIR/src
[lyx.git] / lib / layouts / amsmaths.inc
index 6c4f4db39a5bd87442195a087498b011062626ca..973956f4fc011e598b77a2c7a7ec6d917513b80c 100644 (file)
@@ -45,8 +45,8 @@ Style Theorem
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
-       #DependsOn             TheoremStyle
        NextNoIndent          1
+       OptionalArgs          1
        LabelSep              xx
        ParIndent             MMM
        ParSkip               0.4
@@ -58,7 +58,7 @@ Style Theorem
        AlignPossible         Block, Left
        LabelType             Counter
        LabelCounter          theorem
-       LabelString           "Theorem @Section@.\arabic{theorem}."
+       LabelString           "Theorem \thetheorem."
        Font
          Shape               Italic
          Size                Normal
@@ -88,8 +88,9 @@ End
 
 Style Corollary
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             cor
-       LabelString           "Corollary @Section@.\arabic{theorem}."
+       LabelString           "Corollary \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{cor}[thm]{Corollary}
@@ -110,8 +111,9 @@ End
 
 Style Lemma
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             lem
-       LabelString           "Lemma @Section@.\arabic{theorem}."
+       LabelString           "Lemma \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{lem}[thm]{Lemma}
@@ -132,8 +134,9 @@ End
 
 Style Proposition
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             prop
-       LabelString           "Proposition @Section@.\arabic{theorem}."
+       LabelString           "Proposition \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{prop}[thm]{Proposition}
@@ -154,8 +157,9 @@ End
 
 Style Conjecture
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             conjecture
-       LabelString           "Conjecture @Section@.\arabic{theorem}."
+       LabelString           "Conjecture \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{conjecture}[thm]{Conjecture}
@@ -176,8 +180,9 @@ End
 
 Style Criterion
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             criterion
-       LabelString           "Criterion @Section@.\arabic{theorem}."
+       LabelString           "Criterion \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{criterion}[thm]{Criterion}
@@ -197,8 +202,9 @@ End
 
 Style Algorithm
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             algorithm
-       LabelString           "Algorithm @Section@.\arabic{theorem}."
+       LabelString           "Algorithm \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{algorithm}[thm]{Algorithm}
@@ -219,8 +225,9 @@ End
 
 Style Fact
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             fact
-       LabelString           "Fact @Section@.\arabic{theorem}."
+       LabelString           "Fact \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{fact}[thm]{Fact}
@@ -241,8 +248,9 @@ End
 
 Style Axiom
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             ax
-       LabelString           "Axiom @Section@.\arabic{theorem}."
+       LabelString           "Axiom \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{ax}[thm]{Axiom}
@@ -263,8 +271,9 @@ End
 
 Style Definition
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             defn
-       LabelString           "Definition @Section@.\arabic{theorem}."
+       LabelString           "Definition \thetheorem."
        Font
          Shape               Up
        EndFont
@@ -294,7 +303,7 @@ End
 Style Example
        CopyStyle             Definition
        LatexName             example
-       LabelString           "Example @Section@.\arabic{theorem}."
+       LabelString           "Example \thetheorem."
        Preamble
         \theoremstyle{definition}
          \newtheorem{example}[thm]{Example}
@@ -316,7 +325,7 @@ End
 Style Condition
        CopyStyle             Definition
        LatexName             condition
-       LabelString           "Condition @Section@.\arabic{theorem}."
+       LabelString           "Condition \thetheorem."
        Preamble
          \theoremstyle{definition}
          \newtheorem{condition}[thm]{Condition}
@@ -338,7 +347,7 @@ End
 Style Problem
        CopyStyle             Definition
        LatexName             problem
-       LabelString           "Problem @Section@.\arabic{theorem}."
+       LabelString           "Problem \thetheorem."
        Preamble
          \theoremstyle{definition}
          \newtheorem{problem}[thm]{Problem}
@@ -360,7 +369,7 @@ End
 Style Exercise
        CopyStyle             Definition
        LatexName             xca
-       LabelString           "Exercise @Section@.\arabic{theorem}."
+       LabelString           "Exercise \thetheorem."
        Preamble
          \theoremstyle{definition}
          \newtheorem{xca}[thm]{Exercise}
@@ -381,8 +390,9 @@ End
 
 Style Remark
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             rem
-       LabelString           "Remark @Section@.\arabic{theorem}."
+       LabelString           "Remark \thetheorem."
        Font
          Shape               Up
          Size                Normal
@@ -413,7 +423,7 @@ End
 Style Claim
        CopyStyle             Remark
        LatexName             claim
-       LabelString           "Claim @Section@.\arabic{theorem}."
+       LabelString           "Claim \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{claim}[thm]{Claim}
@@ -435,7 +445,7 @@ End
 Style Note
        CopyStyle             Remark
        LatexName             note
-       LabelString           "Note @Section@.\arabic{theorem}."
+       LabelString           "Note \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{note}[thm]{Note}
@@ -457,7 +467,7 @@ End
 Style Notation
        CopyStyle             Remark
        LatexName             notation
-       LabelString           "Notation @Section@.\arabic{theorem}."
+       LabelString           "Notation \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{notation}[thm]{Notation}
@@ -479,7 +489,7 @@ End
 Style Summary
        CopyStyle             Remark
        LatexName             summary
-       LabelString           "Summary @Section@.\arabic{theorem}."
+       LabelString           "Summary \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{summary}[thm]{Summary}
@@ -501,7 +511,7 @@ End
 Style Acknowledgement
        CopyStyle             Remark
        LatexName             acknowledgement
-       LabelString           "Acknowledgement @Section@.\arabic{theorem}."
+       LabelString           "Acknowledgement \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{acknowledgement}[thm]{Acknowledgement}
@@ -523,7 +533,7 @@ End
 Style Conclusion
        CopyStyle             Remark
        LatexName             conclusion
-       LabelString           "Conclusion @Section@.\arabic{theorem}."
+       LabelString           "Conclusion \thetheorem."
        Preamble
          \theoremstyle{remark}
          \newtheorem{conclusion}[thm]{Conclusion}
@@ -544,8 +554,9 @@ End
 
 Style Assumption
        CopyStyle             Theorem
+       DependsOn             Theorem
        LatexName             assumption
-       LabelString           "Assumption @Section@.\arabic{theorem}."
+       LabelString           "Assumption \thetheorem."
        Preamble
          \theoremstyle{plain}
          \newtheorem{assumption}[thm]{Assumption}