Brent Thorne | 78c3cca | 2018-12-06 12:58:15 -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,table]{xcolor} |
| 13 | \usepackage[framemethod=tikz]{mdframed} |
| 14 | \usepackage{color} |
| 15 | \usepackage{geometry} |
| 16 | \usepackage{adjmulticol} |
| 17 | |
| 18 | %For kable extra package :) |
| 19 | \usepackage{booktabs} |
| 20 | \usepackage{longtable} |
| 21 | \usepackage{array} |
| 22 | \usepackage{multirow} |
| 23 | \usepackage{wrapfig} |
| 24 | \usepackage{float} |
| 25 | \usepackage{colortbl} |
| 26 | \usepackage{pdflscape} |
| 27 | \usepackage{tabu} |
| 28 | \usepackage{threeparttable} |
| 29 | \usepackage{threeparttablex} |
| 30 | \usepackage[normalem]{ulem} |
| 31 | \usepackage{makecell} |
| 32 | |
| 33 | \usepackage{hyperref} |
| 34 | \hypersetup{ |
| 35 | colorlinks=true, |
| 36 | linkcolor=blue, |
| 37 | citecolor=red, |
| 38 | filecolor=magenta, |
| 39 | urlcolor=cyan, |
| 40 | } |
| 41 | |
| 42 | |
| 43 | %For figure and table placement |
| 44 | \usepackage{float} |
| 45 | \floatplacement{figure}{H} |
| 46 | \floatplacement{table}{H} |
| 47 | |
| 48 | %spacing between figure/ table and caption |
| 49 | \setlength{\abovecaptionskip}{0.4in} |
| 50 | \setlength{\belowcaptionskip}{0.2in} |
| 51 | \captionnamefont{\footnotesize\sffamily\bfseries} |
| 52 | \captiontitlefont{\footnotesize\sffamily} |
| 53 | |
| 54 | %define column options |
| 55 | \setlength{\columnseprule}{1pt} |
| 56 | \def\columnseprulecolor{\color{red}} |
| 57 | \setsubsubsecheadstyle{\small\color{red}\textbf}% Set \section style |
| 58 | \setsecheadstyle{\small\color{red}} |
| 59 | \setsecnumformat{} |
| 60 | \def\sectionmark#1{\markboth{#1}{#1}} |
| 61 | |
| 62 | %----------------------------------------------------- |
| 63 | |
| 64 | \thispagestyle{empty} |
| 65 | \definecolor{light-gray}{gray}{0.9} |
| 66 | |
| 67 | %biblatex options |
| 68 | \usepackage[sorting=none,backend=biber]{biblatex} |
| 69 | \renewcommand*{\bibfont}{\tiny} |
| 70 | \bibliography{$bibliography$} |
| 71 | \defbibheading{bibliography}[\bibname]{% |
| 72 | \section*{#1}% |
| 73 | \markboth{#1}{#1}} |
| 74 | \AtBeginDocument{% |
| 75 | \renewcommand{\bibname}{References} |
| 76 | } |
| 77 | |
| 78 | %bring in the users information |
| 79 | \author{$author$} |
| 80 | \title{$title$} |
| 81 | \counterwithout{section}{chapter} |
| 82 | \makechapterstyle{mydefault}{ |
| 83 | \addtocounter{secnumdepth}{2} |
| 84 | \setsecheadstyle{\Large\color{red}\textbf} |
| 85 | \setsubsecheadstyle{\itshape} |
| 86 | \setsubsubsecheadstyle{\itshape} |
| 87 | } |
| 88 | |
| 89 | \chapterstyle{mydefault} |
| 90 | |
| 91 | %define column spacing |
| 92 | \setlength\columnsep{1in} |
| 93 | |
| 94 | \setlength\parindent{1em} |
| 95 | \setlength\parskip{1em} |
| 96 | \setlength\hangparas{0} |
| 97 | |
| 98 | %spacing after section head title |
| 99 | \setaftersecskip{0.3in} |
| 100 | \setbeforesecskip{1in} |
| 101 | \setlength\textfloatsep{0.3in} |
| 102 | \setlength\floatsep{0.3in} |
| 103 | \setlength\intextsep{0.3in} |
| 104 | |
| 105 | \setstocksize{38in}{45in} |
| 106 | \settrimmedsize{\stockheight}{\stockwidth}{*} |
| 107 | \settypeblocksize{38in}{45in}{*} |
| 108 | \setlrmargins{*}{*}{1} |
| 109 | \setulmarginsandblock{2.5cm}{*}{*} |
| 110 | \setmarginnotes{0em}{0cm}{0cm} |
| 111 | \setlength{\footskip}{0cm} |
| 112 | \setlength{\footnotesep}{0cm} |
| 113 | \setlength{\headheight}{0pt} |
| 114 | \setlength{\headsep}{0pt} |
| 115 | \setlength{\trimtop}{0pt} |
| 116 | \setlength{\trimedge}{0pt} |
| 117 | \setlength{\uppermargin}{0pt} |
| 118 | \checkandfixthelayout |
| 119 | |
| 120 | \definecolor{myframecolour}{HTML}{00004d} |
| 121 | |
| 122 | \mdfdefinestyle{brentsmdfstyle}{% |
| 123 | backgroundcolor=myframecolour, |
| 124 | linecolor=Red, |
| 125 | topline=false, |
| 126 | leftline=false, |
| 127 | rightline=false, |
| 128 | linewidth=2mm, |
| 129 | settings={\definecolor{linkcolor}{RGB}{255,255,255}}} |
| 130 | |
| 131 | %Footnote to white |
| 132 | \usepackage{footmisc} |
| 133 | \def\footnotelayout{\centering\color{white}} |
| 134 | |
| 135 | % see https://stackoverflow.com/a/47122900 |
| 136 | $if(highlighting-macros)$ |
| 137 | $highlighting-macros$ |
| 138 | $endif$ |
| 139 | |
| 140 | %begin the document |
| 141 | \begin{document} |
| 142 | |
| 143 | \begin{mdframed}[style=brentsmdfstyle] |
| 144 | %sets footnote to be white hoprefully |
| 145 | \renewcommand\footnoterule{} |
| 146 | \renewcommand{\thempfootnote}{\footnotesize\color{red}{\arabic{mpfootnote}}} |
| 147 | |
| 148 | % group which adds title author and other infor |
| 149 | % Used instead of \maketitle for better spacing options |
| 150 | \begingroup |
| 151 | \centering |
| 152 | \color{White} |
| 153 | \vspace{0.5in} |
| 154 | \Huge\textbf{$title$}\\[0.3in] |
| 155 | \color{cyan} \Large{\textbf{$author$}} \par |
| 156 | \vspace{0.2in} |
| 157 | |
| 158 | % end title section ------------------- |
| 159 | \endgroup |
| 160 | \end{mdframed} |
| 161 | |
| 162 | % Brgin body of poster |
| 163 | \begin{adjmulticols*}{3}{10mm}{10mm} |
| 164 | \normalsize{ |
| 165 | \color{black} |
| 166 | $body$ |
| 167 | \printbibliography |
| 168 | } |
| 169 | \end{adjmulticols*} |
| 170 | %end the poster |
| 171 | \end{document} |