| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| %% %% Posterdown PDF class for LaTeX files 08-JAN-2019 |
| %% %% For any information please send an e-mail to: |
| %% %% brentthonre18@gmail.com (Brent Thorne) |
| %% %% |
| %% %% Initial class provided by: |
| %% %% Brent Thorne |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| |
| \documentclass[article,$font_size$,extrafontsizes]{memoir} |
| |
| %utf-8 seems to be important |
| \RequirePackage[utf8]{inputenc} |
| \RequirePackage[T1]{fontenc} |
| \RequirePackage{multicol} |
| \RequirePackage{graphicx} |
| \RequirePackage{blindtext} |
| \RequirePackage[svgnames,table]{xcolor} |
| \RequirePackage{tikz} |
| \RequirePackage[framemethod=tikz]{mdframed} |
| \RequirePackage{color} |
| \RequirePackage{geometry} |
| \RequirePackage{adjmulticol} |
| |
| %For kable extra package :) |
| \RequirePackage{booktabs} |
| \RequirePackage{longtable} |
| \RequirePackage{array} |
| \RequirePackage{multirow} |
| \RequirePackage{wrapfig} |
| \RequirePackage{float} |
| \RequirePackage{colortbl} |
| \RequirePackage{pdflscape} |
| \RequirePackage{pagecolor} |
| \RequirePackage{tabu} |
| \RequirePackage{threeparttable} |
| \RequirePackage{threeparttablex} |
| \RequirePackage[normalem]{ulem} |
| \RequirePackage{makecell} |
| |
| %%%%%%%%% COLOURS %%%%%%%% |
| |
| %Fill/ Line Colours |
| \definecolor{titlebgcol}{HTML}{$title_bgcol$} |
| \definecolor{columnlinecol}{HTML}{$columnline_col$} |
| \definecolor{posterbgcol}{HTML}{$poster_bgcol$} |
| \definecolor{posterbgcol}{HTML}{$poster_bgcol$} |
| \definecolor{headerbgcol}{HTML}{$header_bgcol$} |
| |
| % Text Colours |
| \definecolor{titletextcol}{HTML}{$title_textcol$} |
| \definecolor{authortextcol}{HTML}{$author_textcol$} |
| \definecolor{affiliationtextcol}{HTML}{$affiliation_textcol$} |
| \definecolor{headertextcol}{HTML}{$header_textcol$} |
| \definecolor{bodytextcol}{HTML}{$body_textcol$} |
| \definecolor{footnotetextcol}{HTML}{$footnote_textcol$} |
| \definecolor{citecol}{HTML}{$cite_col$} |
| \definecolor{urlcol}{HTML}{$url_col$} |
| \definecolor{linkcol}{HTML}{$link_col$} |
| |
| \RequirePackage{hyperref} |
| \hypersetup{ |
| colorlinks=true, |
| linkcolor=linkcol, |
| citecolor=citecol, |
| filecolor=magenta, |
| urlcolor=urlcol, |
| } |
| |
| %For figure and table placement |
| \RequirePackage{float} |
| \floatplacement{figure}{H} |
| \floatplacement{table}{H} |
| |
| %spacing between figure/ table and caption |
| \setlength{\abovecaptionskip}{0.4in} |
| \setlength{\belowcaptionskip}{0.2in} |
| \captionnamefont{\footnotesize\sffamily\bfseries} |
| \captiontitlefont{\footnotesize\sffamily} |
| |
| %define column options |
| \setlength{\columnseprule}{1pt} |
| \def\columnseprulecolor{\color{columnlinecol}} |
| |
| \setsubsubsecheadstyle{\small\color{headertextcol}\textbf}% Set \section style |
| \setsecheadstyle{\small\color{headertextcol}} |
| \setsecnumformat{} |
| \def\sectionmark#1{\markboth{#1}{#1}} |
| |
| %----------------------------------------------------- |
| |
| \thispagestyle{empty} |
| \definecolor{light-gray}{gray}{0.9} |
| |
| %biblatex options |
| \RequirePackage[sorting=none,backend=biber]{biblatex} |
| \renewcommand*{\bibfont}{\tiny} |
| \bibliography{$bibliography$} |
| \defbibheading{bibliography}[\bibname]{% |
| \section*{#1}% |
| \markboth{#1}{#1}} |
| \AtBeginDocument{% |
| \renewcommand{\bibname}{References} |
| } |
| |
| %bring in the users information |
| \author{$author$} |
| \title{$title$} |
| \counterwithout{section}{chapter} |
| \makechapterstyle{mydefault}{ |
| \addtocounter{secnumdepth}{2} |
| \setsecheadstyle{\centering\Large\color{headertextcol}\textbf} |
| \setsubsecheadstyle{\itshape} |
| \setsubsubsecheadstyle{\itshape} |
| } |
| |
| \chapterstyle{mydefault} |
| |
| %define column spacing |
| \setlength\columnsep{1in} |
| |
| \setlength\parindent{1em} |
| \setlength\parskip{1em} |
| \setlength\hangparas{0} |
| |
| %spacing after section head title |
| \setaftersecskip{0.3in} |
| \setbeforesecskip{1in} |
| \setlength\textfloatsep{0.3in} |
| \setlength\floatsep{0.3in} |
| \setlength\intextsep{0.3in} |
| |
| \setstocksize{$poster_height$}{$poster_width$} |
| \settrimmedsize{\stockheight}{\stockwidth}{*} |
| \settypeblocksize{$poster_height$}{$poster_width$}{*} |
| \setlrmargins{*}{*}{1} |
| \setulmarginsandblock{2.5cm}{*}{*} |
| \setmarginnotes{0em}{0cm}{0cm} |
| \setlength{\footskip}{0cm} |
| \setlength{\footnotesep}{0cm} |
| \setlength{\headheight}{0pt} |
| \setlength{\headsep}{0pt} |
| \setlength{\trimtop}{0pt} |
| \setlength{\trimedge}{0pt} |
| \setlength{\uppermargin}{0pt} |
| \checkandfixthelayout |
| |
| \mdfdefinestyle{brentsmdfstyle}{% |
| backgroundcolor=titlebgcol, |
| linecolor=columnlinecol, |
| topline=false, |
| leftline=false, |
| rightline=false, |
| linewidth=2mm} |
| |
| %Footnote to white |
| \RequirePackage{footmisc} |
| \def\footnotelayout{\centering\color{footnotetextcol}} |
| |
| % see https://stackoverflow.com/a/47122900 |
| $if(highlighting-macros)$ |
| $highlighting-macros$ |
| $endif$ |
| |
| % choose font family |
| \RequirePackage{$font_family$} |
| \renewcommand*\familydefault{\sfdefault} |
| \newpagecolor{posterbgcol} |
| |
| %begin the document |
| \begin{document} |
| |
| \begin{mdframed}[style=brentsmdfstyle] |
| |
| %sets footnote to be white hopefully |
| \renewcommand\footnoterule{} |
| \renewcommand{\thempfootnote}{\footnotesize\color{footnotetextcol}{\arabic{mpfootnote}}} |
| |
| % group which adds title author and other infor |
| % Used instead of \maketitle for better spacing options |
| \begingroup |
| \centering |
| \color{titletextcol} |
| \vspace{0.5in} |
| \Huge{$title$} \\[0.3in] |
| \color{authortextcol} \Large{$author$} \\[0.2in] |
| \color{affiliationtextcol} \large{$affiliation$} \par |
| \vspace{0.2in} |
| |
| % end title section ------------------- |
| \endgroup |
| \end{mdframed} |
| |
| % Brgin body of poster |
| \begin{adjmulticols*}{$column_numbers$}{10mm}{10mm} |
| \normalsize{ |
| \color{bodytextcol} |
| $body$ |
| \printbibliography |
| } |
| \end{adjmulticols*} |
| %end the poster |
| \end{document} |