diff --git a/.gitignore b/.gitignore index 3cde652..ea27e78 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ *.gz *.out *.toc +*.xdv diff --git a/amuthesis.cls b/amuthesis.cls index 5f6c926..9303316 100644 --- a/amuthesis.cls +++ b/amuthesis.cls @@ -177,10 +177,14 @@ % Oświadczenie % % ======================================================== % +\RequirePackage{ifthen} + % Zdefiniuj parametry oświadczenia \newif\if@stmale -\newcommand*{\stmale}{\@stmaletrue} -\newcommand*{\stfemale}{\@stmalefalse} +\@stmaletrue +\newcommand*{\stsex}[1]{% + \ifthenelse{\equal{\unexpanded{#1}}{M}}{\@stmaletrue}{\@stmalefalse}% +} \newcommand*{\stdate}[1]{\gdef\@stdate{#1}} \newcommand*{\@stdate}{} diff --git a/thesis.pdf b/thesis.pdf index 1c5a1ce..86c994d 100644 Binary files a/thesis.pdf and b/thesis.pdf differ diff --git a/thesis.tex b/thesis.tex index aace14c..643a4aa 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,8 +1,4 @@ -% Opcje pakietu 'amuthesis': -% --- polski (domyślnie) -% --- english -% --- lineno (włącz numerowanie wierszy) -% --- indent (wcinaj pierwszy akapit paragrafu) +%!TEX program=xelatex \documentclass[polski]{amuthesis} % --- Autor pracy @@ -21,10 +17,8 @@ % --- Data złożenia pracy (Miasto, miesiąc rok) \date{Poznań, wrzesień 2017} -% --- Płeć autora (wybierz jedną) -\stmale -%\stfemale - +% --- Płeć autora (M/K) +\stsex{M} % --- Zgoda na udostępnienie pracy w czytelni (TAK/NIE) \stread{TAK} % --- Zgoda na udostępnienie pracy w zakresie ochrony (TAK/NIE)