diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-02-07 01:11:47 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-02-07 01:11:47 -0500 |
commit | a8007ba3c3cdf0ab0e21ef6e2def138bd3b114fb (patch) | |
tree | 7fde8d002afcec9e6badb76186ca9064124887c1 | |
parent | 92cf2bae018fe3d65f9078dedba1454ea026db9f (diff) |
added generic vtable
-rw-r--r-- | generic.tex | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/generic.tex b/generic.tex index 8a46642..3d3cca7 100644 --- a/generic.tex +++ b/generic.tex @@ -41,10 +41,15 @@ \def\twopicture#1#2#3{\def\a{#3}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#2}}\caption{#3}}} %% Table -\def\table#1#2{ +\def\table#1{ + \medskip\vbox{\vbox{\halign{&\vrule\strut\hskip3pt\hfil ##\hfil\hskip3pt\vrule\cr\noalign{\hrule} + #1 + }}}\medskip +} +\def\vtable#1{ \medskip\line{\hfil - \vbox{\halign{&\vrule\vphantom{\vbox{\vskip9pt}}\strut\hskip3pt\hfil ##\hfil\hskip3pt\vrule\cr\noalign{\hrule} + \vbox{\line{\hfil{\hsize=1.5in\valign{&\hrule\vfil\vskip2pt\noindent \line{\hfil##\hfil}\par\vfil\vskip2pt\hrule\cr\noalign{\vrule} #1 - }}\hfil} - \medskip + }}\hfil}} + } } |