diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-25 16:39:55 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-25 22:27:20 -0500 |
commit | 4036c4f8ead792073bd5006d0fb3dfd8ea434965 (patch) | |
tree | c5f1ddd10686bf9bb8659fb2f0ab39530606056c | |
parent | e5f69c019edcccced8161dc1229e7a6fbefb42a3 (diff) |
added format.tex
-rw-r--r-- | poster/format.tex | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/poster/format.tex b/poster/format.tex new file mode 100644 index 0000000..defd386 --- /dev/null +++ b/poster/format.tex @@ -0,0 +1,53 @@ +\input color + +\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} + +\pagecolor{darkgreen} % +\color{black} %text color + +\long\def\colo#1{\colorbox{white}{\vbox to 31in{#1\vfil}}} + +\pdfpageheight=36in +\pdfpagewidth=48in +\def\fullline{\hbox to \pdfpagewidth} +\hsize=11in +\vsize=35in +\nopagenumbers + +%gives ''\newfont myfont=cmr10@14pt'' +\newcount\spacing +\newdimen\size +\def\adjs{%adjust spacing + \baselineskip=\size \multiply\baselineskip by \spacing \divide\baselineskip by 100 \multiply\baselineskip by 6 \divide\baselineskip by 5%6/5 = normal 1.2 addition for character depth +} +\def\newfont#1=#2@#3pt{%name, base, size + \expandafter\font\csname x#1\endcsname=#2 at #3pt + \expandafter\edef\csname #1\endcsname{\size=#3pt \adjs \csname x#1\endcsname} +} + +% font definitions +\newfont title=cmss10@72pt +\newfont text=cmr10@18pt\text +\newfont head=cmb10@24pt +\spacing=120 + +% sectioning +\def\section#1{% + \noindent\colorbox{green}{% + \vbox{% + \vskip5pt% + \centerline{\head #1} + \vskip10pt% + }% + }% + \medbreak +} + +\def\include #1;#2\par{ + \section{#1} + \input #2\relax +} |