aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--format.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/format.tex b/format.tex
index 90a578b..1e3f41d 100644
--- a/format.tex
+++ b/format.tex
@@ -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}}}}}}