diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-07-05 22:39:41 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-07-06 18:42:06 -0400 |
commit | a397704baca9c18aed7575006703e9880b9e27e0 (patch) | |
tree | e9fa1068628978d92058cdb793cb6d44ecd0f747 /fmt/com.h | |
parent | 7fb897a5dce7c3c3af4b432366967132e7c5a06c (diff) |
cleanup, extension, and table improvements
Diffstat (limited to 'fmt/com.h')
-rw-r--r-- | fmt/com.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,3 +22,8 @@ \def\imgskip{\vskip\imgskipamount} \imgskipamount=0pt plus 48pt \def\image #1 {\imgskip\input #1\imgskip} + +\newcount\pics +\def\caption#1{\def\a{#1}\ifx\a\empty\else\global\advance\pics by +1\smallskip\line{\vbox{\leftskip=0pt plus 1fill\rightskip=0pt plus +1fill\parindent=0pt\relax Fig \number\pics: #1}}\smallskip\fi} |