Skip to content
Snippets Groups Projects
Commit 09ca65fa authored by witiko's avatar witiko
Browse files

Updated the \thesislogo macro definition.

parent d3872978
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -421,6 +421,8 @@ na nichž je položka použita.
% práce, jména studenta a roku vypracování vysadí také logo fakulty.
%
% \DescribeMacro{\thesistitle}
% Makro umožní vložit název práce, u dvouřádkových
% či víceřádkových názvů se standardně oddělí jednotlivé části
% příkazem $\backslash$$\backslash$ s~volitelným parametrem
% meziřádkového prokladu. Další možností je části nadpisu
% požadované na stejném řádku (kolokace, fráze) spojit
......@@ -458,7 +460,7 @@ na nichž je položka použita.
\def\endalwayssingle{\if@restonecol\twocolumn\fi}
% \end{macrocode}
% \fi
% \fi\fi
%
% \DescribeMacro{\thesisgender}
% Makro umožní vložit pohlaví studenta. Volby jsou: male (implicitní)
......@@ -473,6 +475,8 @@ na nichž je položka použita.
\def\arg{#1}%
\ifx\arg\Female\womantrue\else\womanfalse\fi}
\def\@w{\ifwoman a\else\fi}
% \end{macrocode}
%
% \DescribeMacro{\thesisfaculty}
......@@ -494,10 +498,13 @@ na nichž je položka použita.
% \begin{macrocode}
\def\thesisfaculty#1{
\gdef\@thesisfaculty{#1}
\def\@slash{/}
\def\@facultylogo{\@thesislogopath\ifx\@thesiscolor\True%
color\@slash%
\fi\@thesisfaculty-logo}
\ifx\@facultylogo\undefined
\def\@slash{/}
\gdef\@facultylogo{%
\@thesislogopath\ifx\@thesiscolor\True%
color\@slash%
\fi\@thesisfaculty-logo}
\fi
\ifx\@thesisfaculty\Fi
% The Faculty of Informatics
\definecolor{faculty}{HTML}{FFD451} % Pantone 122
......@@ -627,15 +634,15 @@ na nichž je položka použita.
% Makro umožní stanovit cestu k adresáři s logy fakult.
% Implicitní hodnota je \texttt{loga/}.
% \begin{macrocode}
\def\thesislogopath#1{\gdef\@thesislogopath{#1/}}
\def\thesislogopath#1{\def\@thesislogopath{#1/}}
% \end{macrocode}
%
% \DescribeMacro{\thesislogo}
% Makro umož stanovit soubor (bez přípony) loga fakulty pod
% jakou byla práce napsaná.
% Má význam jen v~případě, že práce není psaná pod MU.
% Makro umožňuje ručně stanovit pdf soubor loga,
% které se vysadí na titulní stranu práce. Jméno
% souboru se zadává bez přípony.
% \begin{macrocode}
\def\thesislogo#1{\gdef\@thesislogo{#1}}
\def\thesislogo#1{\def\@facultylogo{#1}}
% \end{macrocode}
%
% \DescribeMacro{\thesislang}
......@@ -651,7 +658,6 @@ na nichž je položka použita.
% \iffalse
% \begin{macrocode}
\def\@w{\ifwoman a\else\fi}
\def\DeclarationTextcs{%
Prohla\v{s}uji, \v{z}e tato \expandafter\lowecasewrapper\@thesissubtitle{}
je m\'{y}m p\r{u}vodn\'{i}m autorsk\'{y}m
......
......@@ -216,12 +216,17 @@
\def\arg{#1}%
\ifx\arg\Female\womantrue\else\womanfalse\fi}
\def\@w{\ifwoman a\else\fi}
\def\thesisfaculty#1{
\gdef\@thesisfaculty{#1}
\def\@slash{/}
\def\@facultylogo{\@thesislogopath\ifx\@thesiscolor\True%
color\@slash%
\fi\@thesisfaculty-logo}
\ifx\@facultylogo\undefined
\def\@slash{/}
\gdef\@facultylogo{%
\@thesislogopath\ifx\@thesiscolor\True%
color\@slash%
\fi\@thesisfaculty-logo}
\fi
\ifx\@thesisfaculty\Fi
% The Faculty of Informatics
\definecolor{faculty}{HTML}{FFD451} % Pantone 122
......@@ -335,12 +340,11 @@
\def\thesisyear#1{\gdef\@thesisyear{#1}}
\def\@thesisplaceyear{Brno, \@thesisyear}
\def\thesisadvisor#1{\gdef\@thesisadvisor{#1}}
\def\thesislogopath#1{\gdef\@thesislogopath{#1/}}
\def\thesislogo#1{\gdef\@thesislogo{#1}}
\def\thesislogopath#1{\def\@thesislogopath{#1/}}
\def\thesislogo#1{\def\@facultylogo{#1}}
\def\thesislang#1{\gdef\@thesislang{#1}%
\ifx\@thesislang\Langcz\gdef\@thesislang{cs}\fi}
\def\@w{\ifwoman a\else\fi}
\def\DeclarationTextcs{%
Prohla\v{s}uji, \v{z}e tato \expandafter\lowecasewrapper\@thesissubtitle{}
je m\'{y}m p\r{u}vodn\'{i}m autorsk\'{y}m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment