X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fheb-article.layout;h=f9ca52d93e7b70956eb3ede0c966fa04167fb466;hb=b474aa5d4d8437eef35c751c7cfb9b6a30e7ee97;hp=2261601a3ffe3280af7bebb506d106a52d82b30d;hpb=28f4beaefac5839f6ba7fae615d46a6ba107486d;p=lyx.git diff --git a/lib/layouts/heb-article.layout b/lib/layouts/heb-article.layout index 2261601a3f..f9ca52d93e 100644 --- a/lib/layouts/heb-article.layout +++ b/lib/layouts/heb-article.layout @@ -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 # Few changes by Baruch Even +Format 63 Input article Preamble -\usepackage{theorem} -\theorembodyfont{\upshape} -\newtheorem{theorem}{\R{îùôè}}[section] -\AtBeginDocument{\make@lr\thetheorem} + \usepackage{theorem} + \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 Abstract - LabelString "øéö÷ú" -End - - 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 @@ -122,6 +131,10 @@ Style Proof Series Bold EndFont Preamble -\newenvironment{proof}{\R{\textbf{äåëçä:}}}{\hfill\rule{2mm}{2mm}\par\vspace{2mm}} + \newenvironment{proof}% + {\R{\textbf{הוכחה:}}}% + {\hfill\rule{2mm}{2mm}\par\vspace{2mm}} EndPreamble End + +Input theorems-refprefix.inc