aboutsummaryrefslogtreecommitdiff
path: root/poster/format.tex
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-25 21:13:39 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-25 22:27:20 -0500
commitd46f22ad26cd85667775db7474d9eabd06889c59 (patch)
tree93e8ca4dfa3be2ad1001006b54b511ae17f6ab25 /poster/format.tex
parent42a7269857622ba510cf8176b52c022d17eb9d9c (diff)
added all text and stub image files; working format file
Diffstat (limited to 'poster/format.tex')
-rw-r--r--poster/format.tex35
1 files changed, 24 insertions, 11 deletions
diff --git a/poster/format.tex b/poster/format.tex
index 8118023..1637384 100644
--- a/poster/format.tex
+++ b/poster/format.tex
@@ -2,20 +2,24 @@
\fboxsep=0pt %color.tex is stupid
-\definecolor{darkgreen}{rgb}{0,0.2,0}
-\definecolor{lightgreen}{rgb}{0.624,0.878,0.624}
-\definecolor{green}{rgb}{0,0.5,0}
+\definecolor{page}{rgb}{0,0.2,0}
+\definecolor{head}{rgb}{0,0,0}
+\definecolor{body}{rgb}{0.624,0.878,0.624}
+\definecolor{section}{rgb}{0,0.5,0}
+\definecolor{text}{rgb}{0,0,0}
-\pagecolor{darkgreen} %
-\color{black} %text color
+\pagecolor{page} %
+\color{text} %text color
\long\def\colo#1{\colorbox{white}{\vbox to 31in{#1\vfil}}}
\pdfpageheight=36in
\pdfpagewidth=48in
-\def\fullline{\hbox to \pdfpagewidth}
+\newdimen\fullhsize\fullhsize=48in
+\voffset=-1in\hoffset=-1in
+\def\fullline{\hbox to \fullhsize}
\hsize=11in
-\vsize=35in
+\vsize=36in
\nopagenumbers
%gives ''\newfont myfont=cmr10@14pt''
@@ -30,26 +34,35 @@
}
% font definitions
+\spacing=100
\newfont title=cmss10@72pt
\newfont text=cmr10@18pt\text
+\newfont bold=cmb10@18pt
+\newfont ital=cmmi10@18pt
\newfont head=cmb10@24pt
-\spacing=120
\parindent=.5in
% sectioning
\def\section#1{%
- \noindent\colorbox{green}{%
+ \noindent\colorbox{section}{%
\vbox{%
\vskip5pt%
\centerline{\head #1}
\vskip10pt%
}%
}%
- \medbreak
+ \bigbreak
}
\def\include #1;#2\par{
\section{#1}
- \input #2\relax
+ {\leftskip=12pt\rightskip=\leftskip\input #2\par}
+ \bigbreak
}
+
+%% 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\advance\pics by 1\fi\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}}