From e4cc0db4da9ff6760fdf12d5fd8ee62c66b77862 Mon Sep 17 00:00:00 2001
From: Patrick Simianer <p@simianer.de>
Date: Thu, 8 Dec 2016 11:24:33 +0100
Subject: tikzposter template

---
 templates/poster/poster.tex | 84 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)
 create mode 100644 templates/poster/poster.tex

(limited to 'templates/poster/poster.tex')

diff --git a/templates/poster/poster.tex b/templates/poster/poster.tex
new file mode 100644
index 0000000..1cec962
--- /dev/null
+++ b/templates/poster/poster.tex
@@ -0,0 +1,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
+
-- 
cgit v1.2.3

