diff --git a/example.pdf b/example.pdf index 3f9e8d1748d63fbe26f7396ecaff2118cfd1e007..e4192a80704f66719a277bb24be0e3a872c7f577 100644 Binary files a/example.pdf and b/example.pdf differ diff --git a/fithesis.pdf b/fithesis.pdf index bff066a03f22128ede2f5c967e5ad8a35ed5b1b3..9a436c7345add87502210c71978fce41fb5b32f1 100644 Binary files a/fithesis.pdf and b/fithesis.pdf differ diff --git a/fithesis.raw.dtx b/fithesis.raw.dtx index dfeee74c5ab7483b7e5be02520436c761a8a7312..a2cc4046b5c2a3052ae1aa47c8cb17391a650061 100644 --- a/fithesis.raw.dtx +++ b/fithesis.raw.dtx @@ -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ĹľnĂ 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 diff --git a/fithesis3.cls b/fithesis3.cls index de0a59933992df30f1620b9a839d4bfe069f2225..6500f712ad21730da0698f1f4a1058b97962ba00 100644 --- a/fithesis3.cls +++ b/fithesis3.cls @@ -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