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
Loading
Loading
Loading
Loading

fi-logo-bw.pdf

0 → 100644
+64.7 KiB

File added.

Preview size limit exceeded, changes collapsed.

(68.9 KiB)

File moved.

+10 −4
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -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'