Commit 3e218d74 authored by Martin Ukrop's avatar Martin Ukrop
Browse files

Possibility for black-and-white version.

* Color profile setting (color/bw) added.
* Polising of Tikz code.
* Handles issue #5.
parent 4589b157
This diff is collapsed.
......@@ -28,6 +28,8 @@
\definecolor{blue-mu}{RGB}{0,39,118}
% Define name strings and setting commands
\def\@colorProfile{}
\newcommand{\setColorProfile}[1]{\def\@colorProfile{#1}}
\def\@reportType{}
\newcommand{\setReportType}[1]{\def\@reportType{#1}}
\def\@thesisType{}
......@@ -58,11 +60,15 @@ práce}
% Document header (logo + table with names)
\AtBeginDocument{
\begin{tikzpicture}[remember picture,overlay]
\node[] (A) at (current page.north west) {};
\node[anchor=north west](FI-stitok) [below right=-3mm and 11.5mm of A] {\includegraphics{fi-stitok}};
\node[] (TopLeft) at (current page.north west) {};
\node[anchor=north west](FI-logo) [below right=-3mm and 11.5mm of TopLeft] {%
\ifthenelse{\equal{\@colorProfile}{bw}}%
{\includegraphics{fi-logo-bw}}%
{\includegraphics{fi-logo-color}}%
};
\node[] (B) at (current page.north east) {};
\node[below left=14.3mm and 27mm of B](posudek){{\large \textsc{\@titleFirst}}};
\node[] (TopRight) at (current page.north east) {};
\node[below left=14.3mm and 27mm of TopRight](posudek){{\large \textsc{\@titleFirst}}};
\node[below=4.9mm of posudek.east,anchor=east]{{\large \textsc{\@titleSecond}}};
\end{tikzpicture}
\medskip
......
......@@ -2,6 +2,9 @@
\usepackage{lipsum}
% MANDATORY: Choose color or black-and-white version
\setColorProfile{color} % 'color' or 'bw'
% MANDATORY: Set report & thesis types, student and thesis names.
\setReportType{reader} % 'reader' or 'supervisor'
\setThesisType{bc} % 'bc' or 'mgr'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment