summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/AkkTeX/akkmathbasic.sty
blob: 0262180ad69c808bbf7fd7dfcab7e396d3b832e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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