From 36e7a42e682fa9b8f91ff83e62991dcb45254f47 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 25 Jan 2020 11:38:36 -0500 Subject: added more poster --- document/format.tex | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ poster.orig.tex | 59 ----------------------------------------------------- poster/document.tex | 11 ++++++++++ 3 files changed, 70 insertions(+), 59 deletions(-) create mode 100644 document/format.tex delete mode 100644 poster.orig.tex create mode 100644 poster/document.tex diff --git a/document/format.tex b/document/format.tex new file mode 100644 index 0000000..58d6f32 --- /dev/null +++ b/document/format.tex @@ -0,0 +1,59 @@ +\input color + +\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 + +\def\colo#1{\colorbox{white}{\vbox to 31.5in{#1}}} + +\newbox\contents \setbox\contents\vbox{} +\newbox\curbox +\def\getcontents height #1 width #2{%#1 is height, #2 is width; returns that much of the \contents box + {% + \hsize=#2\relax + \setbox\curbox=\vsplit\contents to #1 + \box\curbox + } +} +\def\appendcontents #1{%appends a vbox to contents + \setbox\contents\vbox{\box\contents #1} +} +\pdfpageheight=36in +\pdfpagewidth=48in +\hsize=11in +\vsize=32in +\voffset=2in +\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=cmb10@48pt +\newfont text=cmr10@36pt\text +\newfont head=cmb10@24pt +\spacing=120 + +% sectioning +\def\section#1{ + \centerline{ + \fcolorbox{green}{black}% + \head #1% + } +} + +\def\include#1;#2\par{ + \section{#1} + \input #2\relax +} diff --git a/poster.orig.tex b/poster.orig.tex deleted file mode 100644 index 920a17f..0000000 --- a/poster.orig.tex +++ /dev/null @@ -1,59 +0,0 @@ -\input color - -\definecolor{darkgreen}{rgb}{0,0.8,0} -\definecolor{lightgreen}{rgb}{0.624,0.878,0.624} -\definecolor{green}{rgb}{0,0.5,0} - -\pagecolor{darkgreen} % -\color{black} %text color - -\def\colo{\vbox to \vsize\begingroup\fcolorbox{lightgreen}{black}} -\def\endcolo{\endgroup} - -\newbox\contents -\newbox\curbox -\def\getcontents height #1 width #2{%#1 is height, #2 is width; returns that much of the \contents box - {% - \hsize=#2\relax - \setbox\curbox=\vsplit\contents to #1 - \box\curbox - } -} -\def\appendcontents #1{%appends a vbox to contents - \setbox\contents={\box\contents\box#1} -} -\pdfpageheight=36in -\pdfpagewidth=48in -\hsize=11in -\vsize=32in -\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=cmb10@48pt -\newfont text=cmr10@12pt -\newfont head=cmb10@24pt -\spacing=120 - -% sectioning -\def\section#1{ - \centerline{ - \fcolorbox{green}{black}% - \head #1% - } -} - -\def\include#1;#2\par{ - \section{#1} - \input #2\relax -} diff --git a/poster/document.tex b/poster/document.tex new file mode 100644 index 0000000..e3d1e4b --- /dev/null +++ b/poster/document.tex @@ -0,0 +1,11 @@ +\input format + +\appendcontents{Test} + +\appendcontents{Test 2} + +\headline={\centerline{\title Antlions}} + +\colo{test} + +\bye -- cgit