Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <jauslin@ias.edu>2018-05-18 22:53:34 +0000
committerIan Jauslin <jauslin@ias.edu>2018-05-18 22:53:34 +0000
commit06e19c0db24d4c527f82ed934ecb56228ea0aee8 (patch)
treeff988087ebcbe1815c1fc2b7cb7faf026c770baa /libs/largearray.sty
Initial commitv0.0
Diffstat (limited to 'libs/largearray.sty')
-rw-r--r--libs/largearray.sty19
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/largearray.sty b/libs/largearray.sty
new file mode 100644
index 0000000..ad5753b
--- /dev/null
+++ b/libs/largearray.sty
@@ -0,0 +1,19 @@
+%%
+%% largearray package:
+%% Array spanning the entire line
+%%
+
+%% TeX format
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+
+%% package name
+\ProvidesPackage{largearray}[2016/11/10]
+
+\RequirePackage{array}
+
+%% 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}}