diff options
-rw-r--r-- | poster/format.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poster/format.tex b/poster/format.tex index b0f1f89..87771fb 100644 --- a/poster/format.tex +++ b/poster/format.tex @@ -61,4 +61,4 @@ \newcount\pics \def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage} \def\caption#1{\def\a{#1}\ifx\a\empty\else\line{\vbox{\baselineskip=18pt\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi} -\def\picture#1#2#3{\def\a{#2}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}} +\def\picture#1#2#3{\def\a{#2}\ifx\a\empty\else\global\advance\pics by 1\fi\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}} |