-
Notifications
You must be signed in to change notification settings - Fork 0
/
jmenovky.tex
60 lines (49 loc) · 1.55 KB
/
jmenovky.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
\documentclass[a4paper,12pt]{article}
\usepackage[left=5mm,right=5mm,bottom=5mm,top=5mm]{geometry}
\usepackage[czech]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lscape}
\usepackage{graphicx}
\usepackage{times}
\usepackage{overpic}
\usepackage{tikz}
\pagestyle{empty}
\usepackage{datatool}
% Load database 'names' from file 'namelist.csv'
\DTLloaddb{names}{prednasejici.csv}
\definecolor{track-oss}{HTML}{10753f}
\definecolor{track-iot}{HTML}{2f62ae}
\definecolor{track-edu}{HTML}{be1e2d}
\definecolor{track-security}{HTML}{57585a}
\definecolor{track-society}{HTML}{d37a6a}
\definecolor{track-openmobility}{HTML}{92378b}
\definecolor{track-openalt}{HTML}{f57900}
\definecolor{track-}{HTML}{ffffff}
\begin{document}
\sloppy
\DTLforeach{names}{\jmeno=jmeno,\funkce=funkce,\firma=firma,\track=track}{
\noindent \fbox{
\begin{minipage}[t][54mm]{89mm}
% \ifthenelse{\equal{\track}{}}{
% empty
% }{ % else
\begin{tikzpicture}[overlay, remember picture]
\fill[track-\track] (0.1\linewidth, -54mm) rectangle (0\linewidth, 0);
\end{tikzpicture}%
\begin{tikzpicture}[overlay, remember picture]
\fill[track-\track] (0.9\linewidth, -54mm) rectangle (1\linewidth, 0);
\end{tikzpicture}%
% } %endif
\begin{center}
\centerline{\includegraphics[scale=0.50]{logo.eps}}\par
\vspace{6mm}
{ \Large \funkce }
\vspace*{\fill}
{ \LARGE \bf \jmeno }
\vspace*{\fill}
{ \Large \firma }
\vspace*{\fill}
\end{center}
\end{minipage}
}}
\end{document}