brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 1 | %brent's poster layout :) |
| 2 | |
brentthorne | 3044646 | 2018-12-05 08:42:45 -0500 | [diff] [blame] | 3 | \documentclass[article,30pt,extrafontsizes,showtrims]{memoir} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 4 | |
| 5 | %utf-8 seems to be important |
| 6 | \usepackage[utf8]{inputenc} |
| 7 | \usepackage[T1]{fontenc} |
| 8 | \usepackage{palatino} |
| 9 | \usepackage{multicol} |
| 10 | \usepackage{graphicx} |
| 11 | \usepackage{blindtext,xcolor} |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 12 | \usepackage{framed} |
| 13 | \usepackage{color} |
| 14 | |
| 15 | %For figure and table placement |
| 16 | \usepackage{float} |
| 17 | \floatplacement{figure}{H} |
| 18 | \floatplacement{table}{H} |
| 19 | |
| 20 | %spacing between figure/ table and caption |
| 21 | \setlength{\abovecaptionskip}{0.4in} |
| 22 | \setlength{\belowcaptionskip}{0.1in} |
| 23 | \captionnamefont{\footnotesize\sffamily\bfseries} |
| 24 | \captiontitlefont{\footnotesize\sffamily} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 25 | |
| 26 | %define column options |
| 27 | \setlength{\columnseprule}{1pt} |
| 28 | \def\columnseprulecolor{\color{red}} |
| 29 | \setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 30 | \setsecheadstyle{\small\color{red}} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 31 | \setsecnumformat{} |
| 32 | \def\sectionmark#1{\markboth{#1}{#1}} |
| 33 | |
| 34 | %----------------------------------------------------- |
| 35 | |
| 36 | %define poster size |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 37 | \usepackage[paperwidth=45in,paperheight=38in, text={7in,10in},centering]{geometry} |
| 38 | |
| 39 | \geometry{ |
| 40 | left=5mm, |
| 41 | right=5mm, |
| 42 | top=0mm, |
| 43 | bottom=5mm, |
| 44 | headheight=0mm, |
| 45 | } |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 46 | |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 47 | \thispagestyle{empty} |
| 48 | |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 49 | \usepackage[style=numeric,backend=biber]{biblatex} |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 50 | \renewcommand*{\bibfont}{\tiny} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 51 | |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 52 | \bibliography{$bibliography$} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 53 | |
| 54 | \counterwithout{section}{chapter} |
| 55 | \makechapterstyle{mydefault}{ |
| 56 | \addtocounter{secnumdepth}{2} |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 57 | \setsecheadstyle{\Large\color{red}\textbf} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 58 | \setsubsecheadstyle{\itshape} |
| 59 | \setsubsubsecheadstyle{\itshape} |
| 60 | } |
| 61 | |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 62 | \setlength\parindent{10mm} |
| 63 | \setlength\hangindent{10mm} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 64 | |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 65 | \chapterstyle{mydefault} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 66 | |
| 67 | \defbibheading{bibliography}[\bibname]{% |
| 68 | \section*{#1}% |
| 69 | \markboth{#1}{#1}} |
| 70 | |
| 71 | |
| 72 | \AtBeginDocument{% |
| 73 | \renewcommand{\bibname}{References} |
| 74 | } |
| 75 | |
| 76 | |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 77 | %define column spacing |
| 78 | \setlength\columnsep{1.2in} |
| 79 | |
| 80 | %spacing after section head title |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 81 | \setaftersecskip{0.3in} |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 82 | \setbeforesecskip{0.5in} |
| 83 | \setlength\textfloatsep{0.1in} |
| 84 | \setlength\floatsep{0.1in} |
| 85 | \setlength\intextsep{0.1in} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 86 | \setlength{\parskip}{0pt} |
| 87 | |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 88 | %for shading the top |
| 89 | \definecolor{shadecolor}{gray}{0.9} |
| 90 | |
| 91 | |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 92 | %begin the document |
| 93 | \begin{document} |
| 94 | |
| 95 | |
| 96 | % group which adds title author and other infor |
| 97 | % Used instead of \maketitle for better spacing options |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 98 | \begin{shaded} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 99 | \begingroup |
| 100 | \centering |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 101 | \huge\textbf{$title$}\\[0.3in] |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 102 | \Large $author$\par |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 103 | \endgroup |
| 104 | \vspace{1.2in} |
| 105 | % end title section ------------------- |
brentthorne | 87d869b | 2018-12-04 23:23:58 -0500 | [diff] [blame] | 106 | \end{shaded} |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 107 | |
| 108 | % Brgin body of poster |
| 109 | \begin{multicols*}{3} |
brentthorne | 7fa24a2 | 2018-12-04 09:53:19 -0500 | [diff] [blame] | 110 | \small{\noindent |
brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame] | 111 | $body$ |
| 112 | \printbibliography |
| 113 | } |
| 114 | \end{multicols*} |
| 115 | |
| 116 | %end the poster |
| 117 | \end{document} |