summaryrefslogtreecommitdiff
path: root/doc/tex/qwertz.sty
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-02 17:22:43 +0000
committerMartin Mares <mj@ucw.cz>2000-06-02 17:22:43 +0000
commit6cba2d5eeb522cbf6f1cc28c38fc2c445f41d1e6 (patch)
tree82132a93cfc0e01dd06facd9df36d2d13cb89659 /doc/tex/qwertz.sty
parent3fa5722defc340571a6518d5556b1e354f05ce18 (diff)
Typographical enhancements. Now, the documentation is typeset using a modified
book style. Please look at this version and tell me your opinion. Especially I don't feel happy about the spacing and (not) indenting of paragraphs. Also, I've removed things like "fax" and "letter" from the LaTeX mapping file.
Diffstat (limited to 'doc/tex/qwertz.sty')
-rw-r--r--doc/tex/qwertz.sty19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/tex/qwertz.sty b/doc/tex/qwertz.sty
new file mode 100644
index 00000000..aeade62b
--- /dev/null
+++ b/doc/tex/qwertz.sty
@@ -0,0 +1,19 @@
+
+% qwertz TeX macros
+
+\catcode`\"=12
+\sloppy
+\newtheorem{definition}{Definition}
+\newtheorem{proposition}{Proposition}
+\newtheorem{lemma}{Lemma}
+\newtheorem{corollary}{Corollary}
+\newtheorem{theorem}{Theorem}
+\newcommand{\mch}[1]{{\ifmmode#1 \else\(#1\)\fi}}
+\newcommand{\lt}{{\ifmmode{<}\else{\verb+<+}\fi}}
+\newcommand{\gt}{{\ifmmode{>}\else{\verb+>+}\fi}}
+\newcommand{\verbar}{{\ifmmode{|}\else{\tt|}\fi}}
+\newcommand{\idx}[1]{#1\index{#1}}
+\newcommand{\cdx}[1]{#1\index{#1@{\tt #1}}}
+\newcommand{\nidx}[1]{\index{#1}}
+\newcommand{\ncdx}[1]{\index{#1@{\tt #1}}}
+