aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-26 01:33:06 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-26 01:33:12 -0500
commit962daab351d488698e816ebf946f6bb4a2aeb193 (patch)
treeaa024167b7f16b4ed274740b0782f6b02759dd11
parent8595d6a3f8f25818fdaef30af25e7225ebdda1a7 (diff)
added \pre to format.tex in poster
-rw-r--r--poster/format.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/poster/format.tex b/poster/format.tex
index 2a5de37..4f96c4b 100644
--- a/poster/format.tex
+++ b/poster/format.tex
@@ -65,3 +65,7 @@
\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
\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}}}
+
+%% the godly `pre`
+
+\def\pre#1{\par\leavevmode\llap{\hbox to \parindent{\hfil #1 \hfil}}}