summaryrefslogtreecommitdiff
path: root/preamble.tex
diff options
context:
space:
mode:
Diffstat (limited to 'preamble.tex')
-rw-r--r--preamble.tex15
1 files changed, 12 insertions, 3 deletions
diff --git a/preamble.tex b/preamble.tex
index 183313b..369abf6 100644
--- a/preamble.tex
+++ b/preamble.tex
@@ -97,23 +97,25 @@ keywordstyle=
97 {}% header specification (empty for default) 97 {}% header specification (empty for default)
98\makeatother 98\makeatother
99 99
100\theoremstyle{definition.indented} 100\makeatletter
101\@ifclassloaded{article}{\theoremstyle{definition.indented}}{\theoremstyle{definition}}
101\newtheorem{defn}{\GetTranslation{thm-definition}} 102\newtheorem{defn}{\GetTranslation{thm-definition}}
102\newtheorem*{defn*}{\GetTranslation{thm-definition}} 103\newtheorem*{defn*}{\GetTranslation{thm-definition}}
103 104
104\theoremstyle{plain.indented} 105\@ifclassloaded{article}{\theoremstyle{plain.indented}}{\theoremstyle{plain}}
105\newtheorem{thm}{\GetTranslation{thm-theorem}} 106\newtheorem{thm}{\GetTranslation{thm-theorem}}
106\newtheorem*{thm*}{\GetTranslation{thm-theorem}} 107\newtheorem*{thm*}{\GetTranslation{thm-theorem}}
107\newtheorem{lem}[thm]{\GetTranslation{thm-lemma}} 108\newtheorem{lem}[thm]{\GetTranslation{thm-lemma}}
108\newtheorem*{lem*}{\GetTranslation{thm-lemma}} 109\newtheorem*{lem*}{\GetTranslation{thm-lemma}}
109 110
110\theoremstyle{remark.indented} 111\@ifclassloaded{article}{\theoremstyle{remark.indented}}{\theoremstyle{remark}}
111\newtheorem{rem}{\GetTranslation{thm-remark}} 112\newtheorem{rem}{\GetTranslation{thm-remark}}
112\newtheorem*{rem*}{\GetTranslation{thm-remark}} 113\newtheorem*{rem*}{\GetTranslation{thm-remark}}
113\newtheorem{eg}[rem]{\GetTranslation{thm-example}} 114\newtheorem{eg}[rem]{\GetTranslation{thm-example}}
114\newtheorem*{eg*}{\GetTranslation{thm-example}} 115\newtheorem*{eg*}{\GetTranslation{thm-example}}
115\newtheorem*{sketch}{\GetTranslation{thm-proofsketch}} 116\newtheorem*{sketch}{\GetTranslation{thm-proofsketch}}
116\newtheorem*{tshow}{\GetTranslation{thm-show}} 117\newtheorem*{tshow}{\GetTranslation{thm-show}}
118\makeatother
117 119
118\newcommand\restr[2]{{% we make the whole thing an ordinary symbol 120\newcommand\restr[2]{{% we make the whole thing an ordinary symbol
119 \left.\kern-\nulldelimiterspace % automatically resize the bar with \right 121 \left.\kern-\nulldelimiterspace % automatically resize the bar with \right
@@ -121,3 +123,10 @@ keywordstyle=
121 \vphantom{\big|} % pretend it's a little taller at normal size 123 \vphantom{\big|} % pretend it's a little taller at normal size
122 \right|_{#2} % this is the delimiter 124 \right|_{#2} % this is the delimiter
123 }} 125 }}
126
127\makeatletter
128\@ifclassloaded{article}{
129 \usepackage{abstract}
130 \AtBeginDocument{\setlength{\absparindent}{0em}}
131}{}
132\makeatother