aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic.tex13
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}}
+ }
}