summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/lyx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/lyx
Initial commit
Diffstat (limited to 'macros/latex/contrib/lyx')
-rw-r--r--macros/latex/contrib/lyx/sikumuna/README24
-rw-r--r--macros/latex/contrib/lyx/sikumuna/article-sikumuna.layout193
2 files changed, 217 insertions, 0 deletions
diff --git a/macros/latex/contrib/lyx/sikumuna/README b/macros/latex/contrib/lyx/sikumuna/README
new file mode 100644
index 0000000000..c714dd8c21
--- /dev/null
+++ b/macros/latex/contrib/lyx/sikumuna/README
@@ -0,0 +1,24 @@
+Guy Rutenberg (c) 2006
+guyrutenberg@gmail.com
+License: GPLv2
+
+Article(Sikumuna) layout for LyX
+//////////////////////////////////////////
+
+
+This is a layout style based on the article-hebrew layout for the article Latex class for lyx.
+
+This is the recommended layout for papers submitteted to Sikumuna, a free site for school and university lectures notes.
+
+This layout contains styles for numbered examples, exercises and solutions and also unumbered styles for the above mentioned environments. This class was tested on Lyx 1.4.* and should also work on older versions of LyX and also future versions
+
+http://www.sikumuna.co.il
+
+
+Change Log:
+
+Version 1.1:
+* Fixes to the spacing after the unumbered environments (example, exercise, and solution).
+
+Version 1.0:
+* Original version \ No newline at end of file
diff --git a/macros/latex/contrib/lyx/sikumuna/article-sikumuna.layout b/macros/latex/contrib/lyx/sikumuna/article-sikumuna.layout
new file mode 100644
index 0000000000..aa64f332eb
--- /dev/null
+++ b/macros/latex/contrib/lyx/sikumuna/article-sikumuna.layout
@@ -0,0 +1,193 @@
+#% Do not delete the line below; configure depends on this
+# \DeclareLaTeXClass[article]{article (Sikumuna)}
+
+
+# ENCODING: cp 1255
+# A textclass definition file for Sikumuna
+# which is based on the hebrew article textclass by Dekel Tsur
+# Author: Guy Rutenberg <guyrutenberg@gmail.com>
+# License: GPLv2
+# Version: 1.1
+
+# Hebrew article textclass definition file.
+# Author: Dekel Tsur <dekel@math.tau.ac.il>
+# Few changes by Baruch Even <baruch.even@writeme.com>
+
+Format 2
+Input article
+
+Preamble
+ \usepackage{theorem}
+ \theorembodyfont{\upshape}
+ \newtheorem{theorem}{\R{משפט}}[section]
+ \AtBeginDocument{\make@lr\thetheorem}
+EndPreamble
+
+
+Style Theorem
+ Margin First_Dynamic
+ LatexType Environment
+ LatexName theorem
+ NextNoIndent 1
+ LabelSep xx
+ ParIndent MMM
+ ParSkip 0.4
+ ItemSep 0.2
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.3
+ Align Block
+ AlignPossible Block, Left
+ LabelType Static
+ LabelString "Theorem #."
+ Font
+ Shape Up
+ Size Normal
+ EndFont
+ LabelFont
+ Shape Up
+ Series Bold
+ EndFont
+End
+
+Style Example
+ CopyStyle Theorem
+ LatexName example
+ LabelString "Example #."
+ Preamble
+ \newtheorem{example}{דוגמא}
+ EndPreamble
+End
+
+Style Exercise
+ CopyStyle Theorem
+ LatexName exercise
+ LabelString "Exercise #."
+ Preamble
+ \newtheorem{exercise}{תרגיל}
+ EndPreamble
+End
+
+Style Solution
+ CopyStyle Theorem
+ LatexName solution
+ LabelString "Solution #."
+ Preamble
+ \newtheorem{exercise}{פתרון}
+ EndPreamble
+End
+
+Style Example*
+ CopyStyle Theorem
+ LatexName example*
+ LabelString "Example"
+ Preamble
+ \newenvironment{example*}%
+ {\R{\textbf{דוגמא}}}%
+ {\par\vspace{2mm}}
+ EndPreamble
+End
+
+Style Exercise*
+ CopyStyle Theorem
+ LatexName exercise*
+ LabelString "Exercise"
+ Preamble
+ \newenvironment{exersice*}%
+ {\R{\textbf{תרגיל}}}%
+ {\par\vspace{2mm}}
+ EndPreamble
+End
+
+Style Solution*
+ CopyStyle Theorem
+ LatexName solution*
+ LabelString "Solution"
+ Preamble
+ \newenvironment{solution*}%
+ {\R{\textbf{פתרון}}}%
+ {\par\vspace{2mm}}
+ EndPreamble
+End
+
+Style Lemma
+ CopyStyle Theorem
+ LatexName lemma
+ LabelString "Lemma #."
+ Preamble
+ \newtheorem{lemma}[theorem]{\R{למה}}
+ EndPreamble
+End
+
+
+Style Corollary
+ CopyStyle Theorem
+ LatexName corollary
+ LabelString "Corollary #."
+ Preamble
+ \newtheorem{corollary}[theorem]{\R{מסקנה}}
+ EndPreamble
+End
+
+
+Style Claim
+ CopyStyle Theorem
+ LatexName claim
+ LabelString "Claim #."
+ Preamble
+ \newtheorem{claim}[theorem]{\R{טענה}}
+ EndPreamble
+End
+
+
+Style Definition
+ CopyStyle Theorem
+ LatexName definition
+ LabelString "Definition #."
+ Preamble
+ \newtheorem{definition}[theorem]{\R{הגדרה}}
+ EndPreamble
+End
+
+
+Style Remarks
+ CopyStyle Theorem
+ LatexName remark
+ LabelString "Remarks #."
+ Preamble
+ \newtheorem{remark}[theorem]{\R{הערה}}
+ EndPreamble
+End
+
+
+Style Proof
+ Margin First_Dynamic
+ LatexType Environment
+ LatexName proof
+ NextNoIndent 1
+ LabelSep xx
+ ParIndent MMM
+ ParSkip 0.4
+ ItemSep 0.2
+ TopSep 0.7
+ BottomSep 0.7
+ ParSep 0.3
+ Align Block
+ AlignPossible Block, Left
+ LabelType Static
+ LabelString "Proof:"
+ EndLabelType Filled_Box
+ Font
+ Shape Up
+ Size Normal
+ EndFont
+ LabelFont
+ Shape Up
+ Series Bold
+ EndFont
+ Preamble
+ \newenvironment{proof}%
+ {\R{\textbf{הוכחה:}}}%
+ {\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
+ EndPreamble
+End