From 9a6e474c57016a8729bb13e1bc3ea13d1aa7f9e4 Mon Sep 17 00:00:00 2001
From: Ian Jauslin <ian.jauslin@roma1.infn.it>
Date: Sun, 11 Sep 2016 22:25:23 +0000
Subject: As presented at Oberwolfach on 2016-09-12

---
 toolbox.sty | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 toolbox.sty

(limited to 'toolbox.sty')

diff --git a/toolbox.sty b/toolbox.sty
new file mode 100644
index 0000000..b214a3e
--- /dev/null
+++ b/toolbox.sty
@@ -0,0 +1,32 @@
+%%
+%% A collection of useful commands
+%%
+
+%% can call commands even when they are not defined
+\def\safe#1{
+  \ifdefined#1
+    #1
+  \else
+    {\color{red}\bf?}
+  \fi
+}
+
+
+%% larger skip
+\newskip\hugeskipamount
+  \hugeskipamount=24pt plus8pt minus8pt
+\def\hugeskip{\vskip\hugeskipamount}
+
+
+%% stack relations in subscript or superscript
+\def\mAthop#1{\displaystyle\mathop{\scriptstyle #1}}
+
+%% array spanning the entire line
+\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}}
+
+%% qedsquare
+\def\qed{\penalty10000\hfill\penalty10000$\square$}
-- 
cgit v1.2.3-70-g09d2

