-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.tex
110 lines (105 loc) · 3.69 KB
/
demo.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
%% demo.tex
%% Copyright 2017 Pietro Saccardi (saccardi at or.uni-bonn.de)
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Pietro Saccardi.
%
% This work consists of the files bigsposter.cls, demo.tex, bigsposter.tex.
%
% -----
%
% The repository for this work is located at
% https://gitlab.com/5p4k/bigsposter
% https://github.com/LizardM4/bigsposter (mirror)
%
% Pull requests are very welcome!
%
\documentclass[a2paper]{bigsposter}
\usepackage{lipsum}
\usepackage[utf8]{inputenc}
\usepackage[linesnumbered, ruled, vlined]{algorithm2e}
\author{Given names, First name}
% Can also be empty! \advisor{}
\advisor{Prof.\ Dr.\ Escape Thespaces}
\title{An Outstanding Research Work}
\posteryear{2017}
\email{[email protected]}
\institute{Famous Research Institute}
% This is just for making the picture placeholder
\newcommand{\emptybox}[2]{\framebox[#1]{\rule{0pt}{#2}}}
% This is just for putting the bibliography in a single file
\bibliographystyle{alpha}
\begin{filecontents}{samplebib.bib}
@article{samplearticle,
author={E\'variste Galois},
title={M\'emoire sur les conditions de r\'esolubilit\'e des \'equations par radicaux},
year={1831}
}
\end{filecontents}
\begin{document}
\maketitle
\begin{blockrow}
\blocktitle{This column is called ``block''}
\textcolor{lightgray}{\lipsum[1]}
Supports also footnotes\blockfootnote{Usually not working properly inside \texttt{framed}, \texttt{multicol}, \textellipsis}.
\blockbreak
\textcolor{lightgray}{\lipsum[2]}
\begin{minipage}[t]{0.3\blockwidth}
Can put side-by-side \texttt{minipage}, but it needs to be sized according to the block width. The \texttt{caption} package is locked and loaded.
\end{minipage}
\begin{minipage}[t]{0.7\blockwidth}
\begin{blockfigure}
\emptybox{0.9\textwidth}{4em}
\blockcaption[0.9\textwidth]{Supports also figures and captions. Caption width is an optional parameter.}
\end{blockfigure}
\end{minipage}
\end{blockrow}
\begin{blockrow}[3]
\blocktitle{This block row\textellipsis}
\begin{blockfigure}
\emptybox{0.8\blockwidth}{5em}
\blockcaption{With some effort, you can make footnotes\blockfootnotemark~work in a caption too.}
\end{blockfigure}
\blockfootnotetext{As with usual footnotes, you need to split the mark and the text.}
\textcolor{lightgray}{\lipsum[3]}
\IncMargin{1em}
\begin{algorithm}[H]
\uIf{you plan to use \texttt{algorithm2e}}{
remember to use the \texttt{H} positioning\;
}{
no worries\;
}
\caption{Happy typesetting algorithm.}
\end{algorithm}
\DecMargin{1em}
\blockbreak
\blocktitle{{\textellipsis}has three\textellipsis}
\textcolor{lightgray}{\lipsum[4]}
\begin{blocktable}
\blockcaption{Supports also tables. Just use the correct environment.}
\begin{tabular}{c|c|c}
\textbf{Col 1} & \textbf{Col 2} & \textbf{Col 3} \\\hline\hline
1, 1 & 1, 2 & 1, 3 \\
2, 1 & 2, 2 & 2, 3 \\\hline
\end{tabular}
\end{blocktable}
\blocktitle{Extra title}
\textcolor{lightgray}{\lipsum[5]}
\blockbreak
\blocktitle{{\textellipsis}blocks.}
\textcolor{lightgray}{\lipsum[6]}
You can use bibliography directly in here.
\nocite{*}
\bibliography{samplebib}
\blockfoot
\end{blockrow}
\end{document}