Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox.sty')
-rw-r--r--toolbox.sty13
1 files changed, 12 insertions, 1 deletions
diff --git a/toolbox.sty b/toolbox.sty
index 456dd28..7f5738e 100644
--- a/toolbox.sty
+++ b/toolbox.sty
@@ -12,6 +12,12 @@
}
+%% larger skip
+\newskip\hugeskipamount
+ \hugeskipamount=24pt plus8pt minus8pt
+\def\hugeskip{\vskip\hugeskipamount}
+
+
%% penalty before large blocks
\def\preblock{
\penalty-500
@@ -28,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}}