aboutsummaryrefslogtreecommitdiff
path: root/poster
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-25 23:57:01 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-25 23:57:01 -0500
commitcf8fce2b935ce461dcdfd332a36cf8d98a711991 (patch)
tree19666476a82227b94f21920088321df3b3a8540c /poster
parent37b154fc24acef5e4bdddc018639d8511becc56a (diff)
moved caption-empty checking to the correct place
Diffstat (limited to 'poster')
-rw-r--r--poster/format.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/poster/format.tex b/poster/format.tex
index 1e62d3e..2a5de37 100644
--- a/poster/format.tex
+++ b/poster/format.tex
@@ -63,5 +63,5 @@
%% pictures
\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\global\advance\pics by 1\fi\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}}
+\def\caption#1{\def\a{#1}\ifx\a\empty\else\global\advance\pics by 1\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{\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}}