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