]> git.lyx.org Git - lyx.git/blob - lib/layouts/heb-article.layout
84fcb427f393912c539d38ecbbc57473649bdabf
[lyx.git] / lib / layouts / heb-article.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[article,theorem.sty]{Hebrew Article}
3 #  \DeclareCategory{Articles}
4 # Hebrew article textclass definition file.
5 # Author: Dekel Tsur <dekel@math.tau.ac.il>
6 # Few changes by Baruch Even <baruch.even@writeme.com>
7
8 Format 66
9 Input article
10
11 Preamble
12         \usepackage{theorem}
13         \theorembodyfont{\upshape}
14         \newtheorem{theorem}{\R{משפט}}[section]
15         \AtBeginDocument{\make@lr\thetheorem}
16
17         % The following chunk fixes export with XeTeX.
18         % It is needed because polyglossia is used by default
19         % and \make@lr is only defined by babel.
20         \@ifundefined{make@lr}
21         {\def\make@lr#1{\begingroup
22             \toks@=\expandafter{#1}%
23             \edef\x{\endgroup
24           \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
25           \x}}{\relax}
26 EndPreamble
27
28
29 Style Theorem
30         Category              Reasoning
31         Margin                First_Dynamic
32         LatexType             Environment
33         LatexName             theorem
34         NextNoIndent          1
35         LabelSep              xx
36         ParIndent             MMM
37         ParSkip               0.4
38         ItemSep               0.2
39         TopSep                0.7
40         BottomSep             0.7
41         ParSep                0.3
42         Align                 Block
43         AlignPossible         Block, Left
44         LabelType             Static
45         LabelString           "Theorem #."
46         Font
47           Shape               Up
48           Size                Normal
49         EndFont
50         LabelFont
51           Shape               Up
52           Series              Bold
53         EndFont
54 End
55
56
57 Style Lemma
58         CopyStyle             Theorem
59         LatexName             lemma
60         LabelString           "Lemma #."
61         Preamble
62                 \newtheorem{lemma}[theorem]{\R{למה}}
63         EndPreamble
64 End
65
66
67 Style Corollary
68         CopyStyle             Theorem
69         LatexName             corollary
70         LabelString           "Corollary #."
71         Preamble
72                 \newtheorem{corollary}[theorem]{\R{מסקנה}}
73         EndPreamble
74 End
75
76
77 Style Claim
78         CopyStyle             Theorem
79         LatexName             claim
80         LabelString           "Claim #."
81         Preamble
82                 \newtheorem{claim}[theorem]{\R{טענה}}
83         EndPreamble
84 End
85
86
87 Style Definition
88         CopyStyle             Theorem
89         LatexName             definition
90         LabelString           "Definition #."
91         Preamble
92                 \newtheorem{definition}[theorem]{\R{הגדרה}}
93         EndPreamble
94 End
95
96
97 Style Remarks
98         CopyStyle             Theorem
99         LatexName             remark
100         LabelString           "Remarks #."
101         Preamble
102                 \newtheorem{remark}[theorem]{\R{הערה}}
103         EndPreamble
104 End
105
106
107 Style Proof
108         Category              Reasoning
109         Margin                First_Dynamic
110         LatexType             Environment
111         LatexName             proof
112         NextNoIndent          1
113         LabelSep              xx
114         ParIndent             MMM
115         ParSkip               0.4
116         ItemSep               0.2
117         TopSep                0.7
118         BottomSep             0.7
119         ParSep                0.3
120         Align                 Block
121         AlignPossible         Block, Left
122         LabelType             Static
123         LabelString           "Proof:"
124         EndLabelType          Filled_Box
125         Font
126           Shape               Up
127           Size                Normal
128         EndFont
129         LabelFont
130           Shape               Up
131           Series              Bold
132         EndFont
133         Preamble
134                 \newenvironment{proof}%
135                         {\R{\textbf{הוכחה:}}}%
136                         {\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
137         EndPreamble
138 End
139
140 Input theorems-refprefix.inc