summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty')
-rw-r--r--macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty b/macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty
new file mode 100644
index 0000000000..89422bfeef
--- /dev/null
+++ b/macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty
@@ -0,0 +1,51 @@
+%=====================================================================================================================================
+% Package akkmathbasic by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005
+% Package providing basic utilities for typesetting mathematics.
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License (latest version).
+%
+% The latest version of this license can be found at
+% http://www.latex-project.org/lppl.txt
+%
+% This file may only be distributed together with the full 'AkkTeX' bundle.
+%=====================================================================================================================================
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{akkmathbasic}[2005/04/30 3.0.0 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 Package providing basic utilities for typesetting mathematics]
+%=====================================================================================================================================
+
+\RequirePackage{amsmath}
+\RequirePackage{amstext}
+\RequirePackage{array}
+%----------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+%------------------------------------------------------------------------------
+% Parantheses and brackets
+%------------------------------------------------------------------------------
+\renewcommand {\(} {\left(}
+\renewcommand {\)} {\right)}
+\renewcommand {\[} {\left[}
+\renewcommand {\]} {\right]}
+
+%------------------------------------------------------------------------------
+% Utilities for use within mathematical environments
+%------------------------------------------------------------------------------
+% allow a page break within amstex math formulas,
+% use \\* to prohibit a page break
+\allowdisplaybreaks[1]
+
+\newcommand \interintertext[1] {{\intertext{\hspace*{-\mathindent}\hspace*{-\mathindent}#1}}}
+
+
+%------------------------------------------------------------------------------
+% Array column types
+%------------------------------------------------------------------------------
+\newcolumntype {C} {>{\displaystyle}c}
+\newcolumntype {L} {>{\displaystyle}l}
+\newcolumntype {R} {>{\displaystyle}r}
+
+%------------------------------------------------------------------------------
+% Greek letters
+%------------------------------------------------------------------------------
+\newcommand \eps \varepsilon
+\newcommand \la \lambda