1# stackengine package
2# Matthew Bertucci 11/27/2021 for v4.11
3
4#include:etoolbox
5#include:listofitems
6#include:calc
7
8#keyvals:\usepackage/stackengine#c
9usestackEOL
10oldsyntax
11#endkeyvals
12
13\Sstackgap
14\Lstackgap
15\setstackgap{S or L}{gap%l}
16\stackgap
17\stackalignment
18\quietstack
19\useanchorwidth
20\stacktype
21\stackMath
22\lstackMath
23\stackText
24\lstackText
25\strutlongstacks{T or F}
26\strutshortanchors{T or F}
27\setstackEOL{end-of-line character}
28\stackengine{gap%l}{anchor}{item}{O or U}{align%keyvals}{quiet-bool}{anchorwidth-bool}{type}
29\stackon{anchor}{item}
30\stackon[length]{anchor}{item}
31\stackunder{anchor}{item}
32\stackunder[length]{anchor}{item}
33\Shortstack{item1 ... itemN anchor}
34\Shortstack[align%keyvals]{item1 ... itemN anchor}
35\Longstack{item1 ... itemN anchor}
36\Longstack[align%keyvals]{item1 ... itemN anchor}
37\Shortunderstack{anchor item1 ... itemN}
38\Shortunderstack[align%keyvals]{anchor item1 ... itemN}
39\Longunderstack{anchor item1 ... itemN}
40\Longunderstack[align%keyvals]{anchor item1 ... itemN}
41\tllap[length]{item}
42\tllap{item}
43\tclap[length]{item}
44\tclap{item}
45\trlap[length]{item}
46\trlap{item}
47\bllap[length]{item}
48\bllap{item}
49\bclap[length]{item}
50\bclap{item}
51\brlap[length]{item}
52\brlap{item}
53\toplap{direction%keyvals}{item}
54\toplap[length]{direction%keyvals}{item}
55\bottomlap{direction%keyvals}{item}
56\bottomlap[length]{direction%keyvals}{item}
57\stackanchor{top item}{bottom item}
58\stackanchor[gap%l]{top item}{bottom item}
59\Centerstack{item1 ... itemN}
60\Centerstack[align%keyvals]{item1 ... itemN}
61\Vectorstack{item1 ... itemN%formula}
62\Vectorstack[align%keyvals]{item1 ... itemN%formula}
63\parenVectorstack{item1 ... itemN}#m
64\parenVectorstack[align%keyvals]{item1 ... itemN}#m
65\bracketVectorstack{item1 ... itemN}#m
66\bracketVectorstack[align%keyvals]{item1 ... itemN}#m
67\braceVectorstack{item1 ... itemN}#m
68\braceVectorstack[align%keyvals]{item1 ... itemN}#m
69\vertVectorstack{item1 ... itemN}#m
70\vertVectorstack[align%keyvals]{item1 ... itemN}#m
71\ensurestackMath{formula}
72\abovebaseline{item}
73\abovebaseline[gap%l]{item}
74\belowbaseline{item}
75\belowbaseline[gap%l]{item}
76\stackinset{Halign%keyvals}{Hoffset%l}{Valign}{Voffset}{inset item}{anchor item}
77\addstackgap{item}
78\addstackgap[gap%l]{item}
79\hsmash{item}
80\savestack{macro%cmd}{stacking operation}#d
81
82#keyvals:\stackengine#c,\Shortstack#c,\Longstack#c,\Shortunderstack#c,\Longunderstack#c,\toplap#c,\bottomlap#c,\Centerstack#c,\Vectorstack#c,\parenVectorstack#c,\bracketVectorstack#c,\braceVectorstack#c,\vertVectorstack#c,\stackinset#c
83l
84c
85r
86#endkeyvals
87
88\stackengineversionnumber#S
89\removebs{arg}#S
90\stackedbox#S
91
92# deprecated
93\bottominset#S
94\topinset#S