summaryrefslogtreecommitdiff
path: root/templates/poster/poster.tex
blob: 1cec9627cdfeabe2468498eab09a2b8be0d7a31a (plain)
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
\documentclass[25pt, a0paper, portrait, margin=0mm, innermargin=10mm,
    blockverticalspace=10mm, colspace=10mm, subcolspace=5mm]{tikzposter}

\usepackage[utf8]{inputenc}

\usetheme{Autumn}
\usecolorstyle{Germany}

\title{\textsf{Title}}
\author{\textsf{Author 1$^\dag$, Author 2$^{\dag*}$, Auhtor 3$^{\dag\ddag}$}}
\institute{\large\textsf{Department$^\dag$  \& IWR$^\ddag$, University, Country \\
 $^*$ Other university, other Country}}

% logos
% source: http://tex.stackexchange.com/questions/263563/add-logos-beyond-the-title-tikzposter/263564
\makeatletter
\newcommand\insertlogoi[2][]{\def\@insertlogoi{\includegraphics[#1]{#2}}}
\newcommand\insertlogoii[2][]{\def\@insertlogoii{\includegraphics[#1]{#2}}}
\newlength\LogoSep
\setlength\LogoSep{0pt}
\insertlogoi[width=13cm]{hdu.pdf}
\insertlogoii[width=13cm]{dfg.pdf}
\renewcommand\maketitle[1][]{  % #1 keys
    \normalsize
    \setkeys{title}{#1}
    % Title dummy to get title height
    \node[transparent,inner sep=\TP@titleinnersep, line width=\TP@titlelinewidth, anchor=north, minimum width=\TP@visibletextwidth-2\TP@titleinnersep]
        (TP@title) at ($(0, 0.5\textheight-\TP@titletotopverticalspace)$) {\parbox{\TP@titlewidth-2\TP@titleinnersep}{\TP@maketitle}};
    \draw let \p1 = ($(TP@title.north)-(TP@title.south)$) in node {
        \setlength{\TP@titleheight}{\y1}
        \setlength{\titleheight}{\y1}
        \global\TP@titleheight=\TP@titleheight
        \global\titleheight=\titleheight
    };

    % Compute title position
    \setlength{\titleposleft}{-0.5\titlewidth}
    \setlength{\titleposright}{\titleposleft+\titlewidth}
    \setlength{\titlepostop}{0.5\textheight-\TP@titletotopverticalspace}
    \setlength{\titleposbottom}{\titlepostop-\titleheight}

    % Title style (background)
    \TP@titlestyle

    % Title node
    \node[inner sep=\TP@titleinnersep, line width=\TP@titlelinewidth, anchor=north, minimum width=\TP@visibletextwidth-2\TP@titleinnersep]
        at (0,0.5\textheight-\TP@titletotopverticalspace)
        (title)
        {\parbox{\TP@titlewidth-2\TP@titleinnersep}{\TP@maketitle}};

    \node[inner sep=0pt,anchor=west]
      at ([xshift=-\LogoSep]title.west)
      {\@insertlogoi};

    \node[inner sep=0pt,anchor=east]
      at ([xshift=\LogoSep]title.east)
      {\@insertlogoii};

    % Settings for blocks
    \normalsize
    \setlength{\TP@blocktop}{\titleposbottom-\TP@titletoblockverticalspace}
}
\makeatother
% end logos

\begin{document}

\maketitle

\begin{columns}
  \column{.5}
  \begin{block}{Left column}
    left column
  \end{block}
  \column{.5}
  \begin{block}{Right column}
    Right column
  \end{block}
\end{columns}

\end{document}

\endinput