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