diff options
-rw-r--r-- | format.tex | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -41,3 +41,8 @@ Kuhn %% Bullet Points and Numbering \def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}} + +%% Pictures +\newcount\pics \pics=0 +\def\picture#1#2{{\advance\pics by 1\vbox{\centerline{\pdfximage width 4in{#1}\pdfrefximage\pdflastximage}\centerline{\vbox{\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #2}}}}} +\def\twopicture#1#2#3{{\advance\pics by 1\line{\vbox{\centerline{\pdfximage width 4in{#1}\pdfrefximage\pdflastximage\pdfximage width 4in{#2}\pdfrefximage\pdflastximage}\centerline{\vbox{\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #3}}}}}} |