Rev Author Line No. Line
4540 kaklik 1 %Class for Poster2014 ( without guarantee:-))
2  
3 \message{*****Class for the Poster 2016 *****}
4 \message{(c) Frantisek Rund, inspired by templates for Internoise2004 (Marek Brothanek), Radioengineering (Josef Dobes, Jakub Stastny, Miroslav Strupl), Poster 2005 (Karel Motl, Kamil Ptacek)\dots}
5 \NeedsTeXFormat{LaTeX2e}%[1996/12/01]
6 \ProvidesClass{poster16}
7 \RequirePackage{graphicx}
8 \RequirePackage{times}
9 \RequirePackage{fancyhdr}
10 \LoadClass[twocolumn,a4paper,twoside,10pt]{article}
11  
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13  
14  
15 \hoffset=-28mm %
16 \voffset=-21.5mm %
17 \oddsidemargin=22.6mm %
18 \evensidemargin=17.6mm %
19 \topmargin=10mm %
20 \textwidth=175mm %
21 \textheight=241mm %
22 \headsep=9mm
23 \parindent=7.5mm %
24 \parskip=2mm %
25  
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27  
28 \widowpenalty 10000
29 \clubpenalty 10000
30 \displaywidowpenalty 10000
31  
32 \def\@seccntformat#1{\csname the#1\endcsname.\space}
33  
34 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
35 \newcommand{\headerfont}{\footnotesize\sffamily\selectfont}
36 \newcommand{\abstractfont}{\normalsize\itshape\selectfont}
37 \newcommand{\titlefont}{\fontseries{b}\fontshape{n}\fontsize{20pt}{20pt} \selectfont}
38 \newcommand{\titleautfont}{\large\itshape\selectfont}
39 \newcommand{\titleaddfont}{\normalsize\selectfont}
40 \newcommand{\sectionfont}{\fontsize{14pt}{1}\fontseries{b}\selectfont}
41 \newcommand{\subsectionfont}{\large\fontseries{b}\selectfont}
42 \newcommand{\captionfont}{\footnotesize\selectfont}
43 \newcommand{\tablefont}{\footnotesize\bfseries\sffamily\selectfont}
44 \newcommand{\reffont}{\footnotesize\selectfont}
45 %%%%%%%%%%%
46 %%%%%%%%%%%%%%%%%%%%%
47 \columnsep=6mm
48  
49 \emergencystretch=4em
50  
51 %%%%%%%%%%%%%
52 \fancypagestyle{first}{
53 \fancyhead[LO]{\headerfont POSTER 2016, PRAGUE MAY 24\\[-3mm]}
54 \fancyhead[CO]{}
55 \fancyhead[RO]{\headerfont \thepage\\ [-3mm]}
56 \fancyhead[LE]{\headerfont \thepage\\ [-3mm]}
57 \fancyhead[CE]{}
58  
59 \lfoot{}
60 \rfoot{}
61 \cfoot{}
62 }
63 \fancypagestyle{other}{
64 \fancyhead[LO]{\headerfont POSTER 2016, PRAGUE MAY 24\\[-3mm]}
65 \fancyhead[CO]{}
66 \fancyhead[RO]{\headerfont \thepage\\ [-3mm]}
67 \fancyhead[LE]{\headerfont \thepage\\ [-3mm]}
68 \fancyhead[CE]{}
69  
70 \lfoot{}
71 \rfoot{}
72 \cfoot{}
73 }
74 \newcommand*\headtitle[1]{\fancyhead[RE]{\headerfont {#1} \\ [-3mm]}}
75 \pagestyle{other}
76  
77 %%%%%%title
78  
79 \newcommand*\affiliation[1]{\def\@affiliation{#1}}
80 \newcommand*\affiliationmark[1]{\textsuperscript{#1}}
81 \newcommand*\email[1]{\def\em@il{#1}}
82  
83 \title{TITLE here}
84 \author{AUTHOR here}
85 \affiliation{AFFILIATION here}
86 \email{EMAIL here}
87  
88 \newbox\temp@box
89  
90 \renewcommand\maketitle{%
91 \par
92 \begingroup
93 \gdef\@thanks{}%
94 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
95 \def\@makefnmark
96 {\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
97 \long\def\@makefntext##1{\parindent 1em\noindent
98 \normalfont\@thefnmark~##1}%
99 \twocolumn[\@maketitle]%
100 \@thanks
101 \endgroup
102 \setcounter{footnote}{0}%
103 \setcounter{section}{0}%
104 \thispagestyle{first}%
105 }
106 \renewcommand\@maketitle{%
107 \newpage
108 \null
109 \begin{center}%
110 \vspace*{-1.5mm}
111 % \let \footnote \thanks
112 {\titlefont
113 \@title \par}
114 \vspace{2em}
115 {
116 \titleautfont
117 \ignorespaces
118 \@author
119 \par}%
120 \vspace{1em}
121 {
122 \titleaddfont
123 \ignorespaces
124 \@affiliation\par}%
125 \vspace{1em}
126 {\titleaddfont
127 \em@il\par}%
128 \vspace{2em}
129 \unhbox\temp@box
130 \end{center}%
131 \par
132 \vspace{-5mm}
133 }
134  
135  
136 \renewenvironment{abstract}
137 {\parindent=0pt%
138 \abstractfont%\
139 \setlength{\baselineskip}{2.8ex}
140 \textup{\textbf{Abstract.}}
141 }
142 {}
143  
144 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
145  
146 \addtocounter{secnumdepth}{-1}
147 \renewcommand\section{\@startsection {section}{1}{\z@}%
148 {9mm}
149 {0.8mm}
150 {
151 \sectionfont
152 }}
153 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
154 {9mm}
155 {0.8mm}
156 {
157 \subsectionfont
158 }}
159 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
160 {9mm}
161 {0.8mm}
162 {\normalsize\fontseries{b}\selectfont}
163 }
164  
165 %%%%%%%%%%%%%%%%%
166 \renewenvironment{thebibliography}[1]
167 {\section*{\refname}%
168 \reffont
169 \list{\@biblabel{\@arabic\c@enumiv}}%
170 {\settowidth\labelwidth{\@biblabel{#1}}%
171 \leftmargin\labelwidth
172 \itemsep\z@
173 \advance\leftmargin\labelsep
174 \@openbib@code
175 \usecounter{enumiv}%
176 \let\p@enumiv\@empty
177 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
178 \sloppy
179 \renewcommand\baselinestretch{0.9}%
180 \clubpenalty4000
181 \@clubpenalty \clubpenalty
182 \widowpenalty4000%
183 \sfcode`\.\@m}
184 {\def\@noitemerr
185 {\@latex@warning{Empty `thebibliography' environment}}%
186 \endlist}
187 %%%%%%%%%%%%%%%
188  
189  
190 \newenvironment{authorcv}[1]{\parindent=0pt
191 \begin{center}\section*{About Authors\dots}\end{center}
192 \textbf{#1}}{}
193  
194 %%%%%%
195 \newenvironment{keywords}{\section*{Keywords}
196 \noindent
197 \hspace{0.75cm}\begin{minipage}[t]{22em}}{\end{minipage}}
198  
199 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
200 \renewcommand{\belowcaptionskip}{0em}
201  
202 \long\def\@makecaption#1#2{%
203 \vskip\abovecaptionskip
204 \begin{center}
205 {\parbox[t]{1.5cm}{\hspace{5mm}{\captionfont \bfseries #1.}}%
206 \parbox[t]{.75\columnwidth}{ \captionfont {#2}}}%
207 \end{center}
208 \vskip\belowcaptionskip\vspace{-0.8cm}
209 }
210  
211 \newcommand\captionwide[1]{
212 \vskip\abovecaptionskip
213 \begin{center}
214 {\parbox[t]{1.5cm}{\hspace{5mm}{\refstepcounter{figure}\captionfont \bfseries \figurename \thefigure.}}%
215 \parbox[t]{.8\textwidth}{ \captionfont {#1}}}%
216 \end{center}
217 \vskip\belowcaptionskip\vspace{-0.8cm}
218 }
219 %\small\refstepcounter{figure}%
220 % \centering\figurename\ \thefigure :\ #1}
221 %\long\def\@makecaption#1#2{%
222 % \vskip\abovecaptionskip
223 % \begin{center}
224 %{\parbox[t]{1.5cm}{\hspace{5mm}#1.}\parbox[t]{63mm}{ \captionfont {#2}}}
225 % \end{center}
226 % \vskip\belowcaptionskip\vspace{-0.8cm}
227 % }
228 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
229  
230 \setcounter{tocdepth}{0}
231 \pagestyle{fancy}
232 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
233 \renewcommand{\figurename}{{%\captionfont
234 %\bfseries
235 Fig.}}
236 %\renewcommand{\thefigure}{{\captionfont
237 %\bfseries \arabic{figure}}}
238 \renewcommand{\tablename}{{%\captionfont
239 %\bfseries
240 Tab.}}
241 %\renewcommand{\thetable}{{\captionfont
242 %\bfseries \arabic{table}}}
243