Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox.sty')
-rw-r--r--toolbox.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolbox.sty b/toolbox.sty
index 620ed50..7f5738e 100644
--- a/toolbox.sty
+++ b/toolbox.sty
@@ -34,8 +34,13 @@
\@beginparpenalty=\prevparpenalty
}
+%% stack relations in subscript or superscript
+\def\mAthop#1{\displaystyle\mathop{\scriptstyle #1}}
%% array spanning the entire line
-\def\largearray{\begin{array}{@{}>{\displaystyle}l@{}}\hphantom{\hspace{\textwidth}}\\[-.5cm]}
+\newlength\largearray@width
+\setlength\largearray@width\textwidth
+\addtolength\largearray@width{-10pt}
+\def\largearray{\begin{array}{@{}>{\displaystyle}l@{}}\hphantom{\hspace{\largearray@width}}\\[-.5cm]}
\def\endlargearray{\end{array}}