From e4a6882f779ca5a92e2c9886a26a46b8ec197d4d Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Thu, 27 Oct 2016 20:10:38 +0200 Subject: Front page added to organisation leaflet A dedicated pandoc template *template.tex* is provided instead of the Pandoc variables --- leaflets/organisations/template.tex | 103 ++++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 leaflets/organisations/template.tex (limited to 'leaflets/organisations/template.tex') diff --git a/leaflets/organisations/template.tex b/leaflets/organisations/template.tex new file mode 100644 index 0000000..c9ba655 --- /dev/null +++ b/leaflets/organisations/template.tex @@ -0,0 +1,103 @@ +\documentclass[12pt, a4paper, tumble]{leaflet} +\usepackage{lmodern} +\usepackage{amssymb,amsmath} +\usepackage{ifxetex,ifluatex} +\usepackage{fixltx2e} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[swedish]{babel} + +\IfFileExists{upquote.sty}{\usepackage{upquote}}{} +\IfFileExists{microtype.sty}{\usepackage{microtype}}{} + +\usepackage{listings} + +%% \usepackage{graphicx} +%% \makeatletter +%% \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} +%% \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} +%% \makeatother +%% \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} + +\usepackage[unicode=true]{hyperref} +\hypersetup{breaklinks=true, + bookmarks=true, + pdfauthor={$author-meta$}, + pdftitle={$title-meta$}, + colorlinks=true, + citecolor=$if(citecolor)$$citecolor$$else$blue$endif$, + urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, + linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, + pdfborder={0 0 0}} +\urlstyle{same} % don't use monospace font for urls + +\setlength{\parindent}{0pt} +\setlength{\parskip}{6pt plus 2pt minus 1pt} +\setlength{\emergencystretch}{3em} % prevent overfull lines + +\setcounter{secnumdepth}{0} + +$if(title)$ +\title{$title$} +$endif$ +$if(subtitle)$ +\subtitle{$subtitle$} +$endif$ +$if(author)$ +\author{$for(author)$$author$$sep$ \and $endfor$} +$endif$ +$if(date)$ +\date{$date$} +$endif$ + +$for(header-includes)$ +$header-includes$ +$endfor$ + +\input{colors} + +\makeatletter +\let\thetitle\@title +\let\theauthor\@author +\let\thedate\@date +\makeatother + +\begin{document} + +\mbox{}\\ +\vfill +\resizebox{\linewidth}{!}{ + \rotatebox{40}{ + \setlength{\fboxsep}{9pt} + \setlength{\fboxrule}{0.8pt} + \fbox{\includegraphics[width=\linewidth, clip=true, trim=0 1.5pt 0 0] + {../../2011/mayday-flier/logosvart.png}} +}}\\ +\vfill +\parbox{\linewidth}{\sffamily\centering\color{gray50} + \fontsize{18pt}{26pt}\selectfont + \thetitle}% + +\newpage + +$if(title)$ +\maketitle +$endif$ +$if(abstract)$ +\begin{abstract} +$abstract$ +\end{abstract} +$endif$ + +$for(include-before)$ +$include-before$ + +$endfor$ + +$body$ + +$for(include-after)$ +$include-after$ + +$endfor$ +\end{document} -- cgit v1.2.3