Brent Thorne | 293d5b6 | 2018-12-05 16:04:29 -0500 | [diff] [blame] | 1 | %brent's poster layout :) |
| 2 | |
| 3 | \documentclass[article,30pt,extrafontsizes]{memoir} |
| 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} |
| 12 | \usepackage[svgnames]{xcolor} |
| 13 | \usepackage[framemethod=tikz]{mdframed} |
| 14 | \usepackage{color} |
| 15 | \usepackage{geometry} |
| 16 | \usepackage{adjmulticol} |
| 17 | |
| 18 | |
| 19 | %For figure and table placement |
| 20 | \usepackage{float} |
| 21 | \floatplacement{figure}{H} |
| 22 | \floatplacement{table}{H} |
| 23 | |
| 24 | %spacing between figure/ table and caption |
| 25 | \setlength{\abovecaptionskip}{0.4in} |
| 26 | \setlength{\belowcaptionskip}{0.1in} |
| 27 | \captionnamefont{\footnotesize\sffamily\bfseries} |
| 28 | \captiontitlefont{\footnotesize\sffamily} |
| 29 | |
| 30 | %define column options |
| 31 | \setlength{\columnseprule}{1pt} |
| 32 | \def\columnseprulecolor{\color{red}} |
| 33 | \setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style |
| 34 | \setsecheadstyle{\small\color{red}} |
| 35 | \setsecnumformat{} |
| 36 | \def\sectionmark#1{\markboth{#1}{#1}} |
| 37 | |
| 38 | %----------------------------------------------------- |
| 39 | |
| 40 | \thispagestyle{empty} |
| 41 | \definecolor{light-gray}{gray}{0.9} |
| 42 | |
| 43 | |
| 44 | |
| 45 | \usepackage[style=alphabetic,backend=biber]{biblatex} |
| 46 | \renewcommand*{\bibfont}{\tiny} |
| 47 | |
| 48 | \bibliography{$bibliography$} |
| 49 | \author{$author$} |
| 50 | \title{$title$} |
| 51 | \counterwithout{section}{chapter} |
| 52 | \makechapterstyle{mydefault}{ |
| 53 | \addtocounter{secnumdepth}{2} |
| 54 | \setsecheadstyle{\Large\color{red}\textbf} |
| 55 | \setsubsecheadstyle{\itshape} |
| 56 | \setsubsubsecheadstyle{\itshape} |
| 57 | } |
| 58 | |
| 59 | \chapterstyle{mydefault} |
| 60 | |
| 61 | \defbibheading{bibliography}[\bibname]{% |
| 62 | \section*{#1}% |
| 63 | \markboth{#1}{#1}} |
| 64 | |
| 65 | |
| 66 | \AtBeginDocument{% |
| 67 | \renewcommand{\bibname}{References} |
| 68 | } |
| 69 | |
| 70 | |
| 71 | %define column spacing |
| 72 | \setlength\columnsep{1in} |
| 73 | |
| 74 | \setlength\parindent{0em} |
| 75 | \setlength\parskip{1em} |
| 76 | \setlength\hangparas{0} |
| 77 | |
| 78 | %spacing after section head title |
| 79 | \setaftersecskip{0.3in} |
| 80 | \setbeforesecskip{0.5in} |
| 81 | \setlength\textfloatsep{0.1in} |
| 82 | \setlength\floatsep{0.1in} |
| 83 | \setlength\intextsep{0.1in} |
| 84 | |
| 85 | \setstocksize{38in}{45in} |
| 86 | \settrimmedsize{\stockheight}{\stockwidth}{*} |
| 87 | \settypeblocksize{38in}{45in}{*} |
| 88 | \setlrmargins{*}{*}{1} |
| 89 | \setulmarginsandblock{2.5cm}{*}{*} |
| 90 | \setmarginnotes{0em}{0cm}{0cm} |
| 91 | \setlength{\footskip}{0cm} |
| 92 | \setlength{\footnotesep}{0cm} |
| 93 | \setlength{\headheight}{0pt} |
| 94 | \setlength{\headsep}{0pt} |
| 95 | \setlength{\trimtop}{0pt} |
| 96 | \setlength{\trimedge}{0pt} |
| 97 | \setlength{\uppermargin}{0pt} |
| 98 | \checkandfixthelayout |
| 99 | |
| 100 | \definecolor{myframecolour}{HTML}{00004d} |
| 101 | |
| 102 | % see https://stackoverflow.com/a/47122900 |
| 103 | $if(highlighting-macros)$ |
| 104 | $highlighting-macros$ |
| 105 | $endif$ |
| 106 | |
| 107 | %begin the document |
| 108 | \begin{document} |
| 109 | |
| 110 | \begin{mdframed}[backgroundcolor=myframecolour,linecolor=Red,topline=false,leftline=false,rightline=false,linewidth=2mm] |
| 111 | |
| 112 | % group which adds title author and other infor |
| 113 | % Used instead of \maketitle for better spacing options |
| 114 | \begingroup |
| 115 | \centering |
| 116 | \color{White} |
| 117 | \huge\textbf{$title$}\\[0.3in] |
| 118 | \Large $author$ \par |
| 119 | \vspace{1.2in} |
| 120 | % end title section ------------------- |
| 121 | \endgroup |
| 122 | \end{mdframed} |
| 123 | |
| 124 | % Brgin body of poster |
| 125 | \color{black} |
| 126 | \begin{adjmulticols*}{3}{10mm}{10mm} |
| 127 | \small{ |
| 128 | $body$ |
| 129 | \printbibliography |
| 130 | } |
| 131 | \end{adjmulticols*} |
| 132 | %end the poster |
| 133 | \end{document} |