]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/heb-article.layout
Cleanup bv-dependent variables in InsetCollapsable
[lyx.git] / lib / layouts / heb-article.layout
index b74b27db1068bd2881368ee3c8b483a0116bd38b..c9122bdcbd5426945b0b94bf8a70480ec0838f6c 100644 (file)
@@ -1,25 +1,33 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[article]{article (Hebrew)}
+#  \DeclareLaTeXClass[article,theorem.sty]{Hebrew Article}
+#  \DeclareCategory{Articles}
 # Hebrew article textclass definition file.
 # Author: Dekel Tsur <dekel@math.tau.ac.il>
 # Few changes by Baruch Even <baruch.even@writeme.com>
 
+Format 60
 Input article
 
 Preamble
        \usepackage{theorem}
        \theorembodyfont{\upshape}
-       \newtheorem{theorem}{\R{îùôè}}[section]
+       \newtheorem{theorem}{\R{משפט}}[section]
        \AtBeginDocument{\make@lr\thetheorem}
-EndPreamble
-
 
-Style Abstract
-       LabelString           "øéö÷ú"
-End
+       % The following chunk fixes export with XeTeX.
+       % It is needed because polyglossia is used by default
+       % and \make@lr is only defined by babel.
+       \@ifundefined{make@lr}
+       {\def\make@lr#1{\begingroup
+           \toks@=\expandafter{#1}%
+           \edef\x{\endgroup
+         \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
+         \x}}{\relax}
+EndPreamble
 
 
 Style Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             theorem
@@ -34,7 +42,7 @@ Style Theorem
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           ".# èôùî"
+       LabelString           "Theorem #."
        Font
          Shape               Up
          Size                Normal
@@ -49,9 +57,9 @@ End
 Style Lemma
        CopyStyle             Theorem
        LatexName             lemma
-       LabelString           ".# äîì"
+       LabelString           "Lemma #."
        Preamble
-               \newtheorem{lemma}[theorem]{\R{ìîä}}
+               \newtheorem{lemma}[theorem]{\R{למה}}
        EndPreamble
 End
 
@@ -59,9 +67,9 @@ End
 Style Corollary
        CopyStyle             Theorem
        LatexName             corollary
-       LabelString           ".# äð÷ñî"
+       LabelString           "Corollary #."
        Preamble
-               \newtheorem{corollary}[theorem]{\R{îñ÷ðä}}
+               \newtheorem{corollary}[theorem]{\R{מסקנה}}
        EndPreamble
 End
 
@@ -69,9 +77,9 @@ End
 Style Claim
        CopyStyle             Theorem
        LatexName             claim
-       LabelString           ".# äðòè"
+       LabelString           "Claim #."
        Preamble
-               \newtheorem{claim}[theorem]{\R{èòðä}}
+               \newtheorem{claim}[theorem]{\R{טענה}}
        EndPreamble
 End
 
@@ -79,9 +87,9 @@ End
 Style Definition
        CopyStyle             Theorem
        LatexName             definition
-       LabelString           ".# äøãâä"
+       LabelString           "Definition #."
        Preamble
-               \newtheorem{definition}[theorem]{\R{äâãøä}}
+               \newtheorem{definition}[theorem]{\R{הגדרה}}
        EndPreamble
 End
 
@@ -89,14 +97,15 @@ End
 Style Remarks
        CopyStyle             Theorem
        LatexName             remark
-       LabelString           ".# äøòä"
+       LabelString           "Remarks #."
        Preamble
-               \newtheorem{remark}[theorem]{\R{äòøä}}
+               \newtheorem{remark}[theorem]{\R{הערה}}
        EndPreamble
 End
 
 
 Style Proof
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             proof
@@ -111,7 +120,7 @@ Style Proof
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           ":äçëåä"
+       LabelString           "Proof:"
        EndLabelType          Filled_Box
        Font
          Shape               Up
@@ -123,7 +132,9 @@ Style Proof
        EndFont
        Preamble
                \newenvironment{proof}%
-                       {\R{\textbf{äåëçä:}}}%
+                       {\R{\textbf{הוכחה:}}}%
                        {\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
        EndPreamble
 End
+
+Input theorems-refprefix.inc