From a8007ba3c3cdf0ab0e21ef6e2def138bd3b114fb Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Fri, 7 Feb 2020 01:11:47 -0500
Subject: added generic vtable
---
generic.tex | 13 +++++++++----
1 file 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}}
+ }
}
--
cgit