#% 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 24
+Format 68
Input article
Preamble
\theorembodyfont{\upshape}
\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
Style Proof
+ Category Reasoning
Margin First_Dynamic
LatexType Environment
LatexName proof
{\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
EndPreamble
End
+
+Input theorems-refprefix.inc