X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fheb-article.layout;h=c9122bdcbd5426945b0b94bf8a70480ec0838f6c;hb=625e7609f0bb4087f0cd91ae3853beee6c6ba402;hp=07333dfc628d087bd0be2f2bcd4ae040c7f2910c;hpb=971d9986b7cacc332604a0046c012279a2407a0f;p=lyx.git diff --git a/lib/layouts/heb-article.layout b/lib/layouts/heb-article.layout index 07333dfc62..c9122bdcbd 100644 --- a/lib/layouts/heb-article.layout +++ b/lib/layouts/heb-article.layout @@ -1,20 +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 # Few changes by Baruch Even +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 @@ -46,7 +59,7 @@ Style Lemma LatexName lemma LabelString "Lemma #." Preamble - \newtheorem{lemma}[theorem]{\R{ìîä}} + \newtheorem{lemma}[theorem]{\R{למה}} EndPreamble End @@ -56,7 +69,7 @@ Style Corollary LatexName corollary LabelString "Corollary #." Preamble - \newtheorem{corollary}[theorem]{\R{îñ÷ðä}} + \newtheorem{corollary}[theorem]{\R{מסקנה}} EndPreamble End @@ -66,7 +79,7 @@ Style Claim LatexName claim LabelString "Claim #." Preamble - \newtheorem{claim}[theorem]{\R{èòðä}} + \newtheorem{claim}[theorem]{\R{טענה}} EndPreamble End @@ -76,7 +89,7 @@ Style Definition LatexName definition LabelString "Definition #." Preamble - \newtheorem{definition}[theorem]{\R{äâãøä}} + \newtheorem{definition}[theorem]{\R{הגדרה}} EndPreamble End @@ -86,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 @@ -118,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