]> 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 7648fd1b65f9ac73c907a816736290adadad0a89..c9122bdcbd5426945b0b94bf8a70480ec0838f6c 100644 (file)
@@ -1,21 +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 2
+Format 60
 Input article
 
 Preamble
        \usepackage{theorem}
        \theorembodyfont{\upshape}
-       \newtheorem{theorem}{\R{îùôè}}[section]
+       \newtheorem{theorem}{\R{משפט}}[section]
        \AtBeginDocument{\make@lr\thetheorem}
+
+       % 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
@@ -47,7 +59,7 @@ Style Lemma
        LatexName             lemma
        LabelString           "Lemma #."
        Preamble
-               \newtheorem{lemma}[theorem]{\R{ìîä}}
+               \newtheorem{lemma}[theorem]{\R{למה}}
        EndPreamble
 End
 
@@ -57,7 +69,7 @@ Style Corollary
        LatexName             corollary
        LabelString           "Corollary #."
        Preamble
-               \newtheorem{corollary}[theorem]{\R{îñ÷ðä}}
+               \newtheorem{corollary}[theorem]{\R{מסקנה}}
        EndPreamble
 End
 
@@ -67,7 +79,7 @@ Style Claim
        LatexName             claim
        LabelString           "Claim #."
        Preamble
-               \newtheorem{claim}[theorem]{\R{èòðä}}
+               \newtheorem{claim}[theorem]{\R{טענה}}
        EndPreamble
 End
 
@@ -77,7 +89,7 @@ Style Definition
        LatexName             definition
        LabelString           "Definition #."
        Preamble
-               \newtheorem{definition}[theorem]{\R{äâãøä}}
+               \newtheorem{definition}[theorem]{\R{הגדרה}}
        EndPreamble
 End
 
@@ -87,12 +99,13 @@ Style Remarks
        LatexName             remark
        LabelString           "Remarks #."
        Preamble
-               \newtheorem{remark}[theorem]{\R{äòøä}}
+               \newtheorem{remark}[theorem]{\R{הערה}}
        EndPreamble
 End
 
 
 Style Proof
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             proof
@@ -119,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