From 0e34b0169aaf874eb62717fb1a4ef66950528efe Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Feb 2019 20:36:39 +0100 Subject: [PATCH 1/4] added master-proposal parameter to setthesis --- vutinfth.dtx | 58 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/vutinfth.dtx b/vutinfth.dtx index 5f01602..7b803fa 100644 --- a/vutinfth.dtx +++ b/vutinfth.dtx @@ -258,6 +258,7 @@ % Command & Options & Description\\ % \midrule % |\setthesis|\marg{list} & |bachelor| & Specifies a bachelor's thesis. \\ +% & |master-proposal| & Specifies a master's thesis proposal. \\ % & |master| & Specifies a master's thesis. \\ % & |doctor| & Specifies a dissertation. \\ % & |phd-school| & Specifies a disseration at the Vienna \\ @@ -950,6 +951,7 @@ % \begin{macrocode} \newcommand{\vutinfth@thesis@bachelor}{bachelor}% \newcommand{\vutinfth@thesis@master}{master}% +\newcommand{\vutinfth@thesis@masterp}{master-proposal}% \newcommand{\vutinfth@thesis@doctor}{doctor}% \newcommand{\vutinfth@thesis@phd}{phd-school}% % \end{macrocode} @@ -990,6 +992,15 @@ \@setthesisname{\vutinfth@polylingual@BACHELORTHESIS}% \@setdegreename{\vutinfth@polylingual@Bdeg}% }{}% + \ifdefstring{\vutinfth@thesis@masterp}{#1}{% +% \end{macrocode} +% Initializes |master proposal| thesis type. +% \begin{macrocode} + \renewcommand{\vutinfth@thesis@basetype}{% + \vutinfth@thesis@basetype@undergraduate}% + \@setthesisname{\vutinfth@polylingual@MASTERPROPOSAL}% + \@setdegreename{}% + }{}% \ifdefstring{\vutinfth@thesis@master}{#1}{% % \end{macrocode} % Initializes |master| thesis type. @@ -1287,6 +1298,9 @@ \CreatePolylingual[ english=BACHELOR'S THESIS, naustrian=BACHELORARBEIT]{BACHELORTHESIS}% +\CreatePolylingual[ + english=Proposal, + naustrian=Masterarbeitsantrag]{MASTERPROPOSAL}% \CreatePolylingual[ english=MASTER'S THESIS, naustrian=MASTERARBEIT]{MASTERTHESIS}% @@ -1669,8 +1683,15 @@ % \end{macrocode} % Title and subtitle are bottom aligned and grow upwards. % \begin{macrocode} + \ifdefstring{\vutinfth@polylingual@thesisname}{\vutinfth@polylingual@MASTERPROPOSAL}{ + \vfill + }{}% \begin{minipage}[t][5cm][b]{\textwidth}% \centering + \ifdefstring{\vutinfth@polylingual@thesisname}{\vutinfth@polylingual@MASTERPROPOSAL}{% + \vutinfth@bigskip + \vutinfth@LARGE\vutinfth@polylingual@thesisname\par + }{}% \vutinfth@HUGE{\bfseries\vutinfth@polylingual@Title}\\ \bigskip \vutinfth@huge{\bfseries @@ -1679,25 +1700,27 @@ }% }% \end{minipage}\par - \vutinfth@bigskip\vutinfth@bigskip - {\vutinfth@LARGE\vutinfth@polylingual@thesisname}\par - \vutinfth@bigskip - {\vutinfth@large\vutinfth@polylingual@submission}\par \vutinfth@bigskip - \ifundergraduate{% - {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@degreename}}\par + \ifdefstring{\vutinfth@polylingual@thesisname}{\vutinfth@polylingual@MASTERPROPOSAL}{}{% + {\vutinfth@LARGE\vutinfth@polylingual@thesisname}\par \vutinfth@bigskip - {\vutinfth@large\vutinfth@polylingual@in}\par + {\vutinfth@large\vutinfth@polylingual@submission}\par \vutinfth@bigskip - {\vutinfth@Large{\bfseries\vutinfth@polylingual@Curriculum}}\par - }% - \ifgraduate{% - {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@degreename}}\par - \ifphd{% + \ifundergraduate{% + {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@degreename}}\par \vutinfth@bigskip - {\vutinfth@large\vutinfth@polylingual@within}\par + {\vutinfth@large\vutinfth@polylingual@in}\par \vutinfth@bigskip - {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@School}}\par + {\vutinfth@Large{\bfseries\vutinfth@polylingual@Curriculum}}\par + }% + \ifgraduate{% + {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@degreename}}\par + \ifphd{% + \vutinfth@bigskip + {\vutinfth@large\vutinfth@polylingual@within}\par + \vutinfth@bigskip + {\vutinfth@LARGE{\bfseries\vutinfth@polylingual@School}}\par + }% }% }% \vutinfth@bigskip @@ -1708,6 +1731,9 @@ {\vutinfth@large\vutinfth@polylingual@Registrationnumber\ \vutinfth@data@regnumber}\par }% + \ifdefstring{\vutinfth@polylingual@thesisname}{\vutinfth@polylingual@MASTERPROPOSAL}{ + \vfill + }{}% \vutinfth@bigskip\vutinfth@bigskip \ifgraduate{\ifphd{\vspace*{-8mm}}}% \begin{minipage}[b][1.6cm][c]{\textwidth}% @@ -1720,7 +1746,9 @@ % Add stretchable glue between the advisor block and the signatures. % This ensures that the signature part is always at the bottom of the page. % \begin{macrocode} - \vfill + \ifdefstring{\vutinfth@polylingual@thesisname}{\vutinfth@polylingual@MASTERPROPOSAL}{}{ + \vfill + }% \ReviewerBlock\par \SignatureBlock\par \vspace*{1cm}% -- GitLab From 09d1a7eb82d4a10f2efcd501c684b58b45a491a5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Feb 2019 20:38:51 +0100 Subject: [PATCH 2/4] added example for master-proposal --- example.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example.tex b/example.tex index 727152d..7cf7bb7 100644 --- a/example.tex +++ b/example.tex @@ -79,6 +79,9 @@ %\setthesis{master} %\setmasterdegree{dipl.} % dipl. / rer.nat. / rer.soc.oec. / master % +% Master Proposal: +%\setthesis{master-proposal} +% % Doctor: %\setthesis{doctor} %\setdoctordegree{rer.soc.oec.}% rer.nat. / techn. / rer.soc.oec. @@ -86,7 +89,7 @@ % Doctor at the PhD School %\setthesis{phd-school} % Deactivate non-English title pages (see below) -% For bachelor and master: +% For bachelor, master-proposal and master: \setcurriculum{Media Informatics and Visual Computing}{Medieninformatik und Visual Computing} % Sets the English and German name of the curriculum. % For dissertations at the PhD School: -- GitLab From 5175d10290b29921e7f3bdef4ed7841f15cd9b7b Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Feb 2019 22:32:28 +0100 Subject: [PATCH 3/4] added master-proposal example --- example-master-proposal.tex | 161 ++++++++++++++++++++++++++++++++++++ 1 file changed, 161 insertions(+) create mode 100644 example-master-proposal.tex diff --git a/example-master-proposal.tex b/example-master-proposal.tex new file mode 100644 index 0000000..f1d5bca --- /dev/null +++ b/example-master-proposal.tex @@ -0,0 +1,161 @@ +% Copyright (C) 2014-2019 by Thomas Auzinger + +% \documentclass[draft,final]{vutinfth} % Remove option 'final' to obtain debug information. +% for master proposal it is preferred to use every site +\documentclass[oneside,draft,final]{vutinfth} % Remove option 'final' to obtain debug information. + +% Load packages to allow in- and output of non-ASCII characters. +\usepackage{lmodern} % Use an extension of the original Computer Modern font to minimize the use of bitmapped letters. +\usepackage[T1]{fontenc} % Determines font encoding of the output. Font packages have to be included before this line. +\usepackage[utf8]{inputenc} % Determines encoding of the input. All input files have to use UTF8 encoding. + +% Extended LaTeX functionality is enables by including packages with \usepackage{...}. +\usepackage{amsmath} % Extended typesetting of mathematical expression. +\usepackage{amssymb} % Provides a multitude of mathematical symbols. +\usepackage{mathtools} % Further extensions of mathematical typesetting. +\usepackage{microtype} % Small-scale typographic enhancements. +\usepackage[inline]{enumitem} % User control over the layout of lists (itemize, enumerate, description). +\usepackage{multirow} % Allows table elements to span several rows. +\usepackage{booktabs} % Improves the typesettings of tables. +\usepackage{subcaption} % Allows the use of subfigures and enables their referencing. +\usepackage[ruled,linesnumbered,algochapter]{algorithm2e} % Enables the writing of pseudo code. +\usepackage[usenames,dvipsnames,table]{xcolor} % Allows the definition and use of colors. This package has to be included before tikz. +\usepackage{nag} % Issues warnings when best practices in writing LaTeX documents are violated. +\usepackage{todonotes} % Provides tooltip-like todo notes. +\usepackage{hyperref} % Enables cross linking in the electronic document version. This package has to be included second to last. +\usepackage[acronym,toc]{glossaries} % Enables the generation of glossaries and lists fo acronyms. This package has to be included last. + +% Define convenience functions to use the author name and the thesis title in the PDF document properties. +\newcommand{\authorname}{Forename Surname} % The author name without titles. +\newcommand{\thesistitle}{Title of the Thesis} % The title of the thesis. The English version should be used, if it exists. + +% Set PDF document properties +\hypersetup{ + pdfpagelayout = TwoPageRight, % How the document is shown in PDF viewers (optional). + linkbordercolor = {Melon}, % The color of the borders of boxes around crosslinks (optional). + pdfauthor = {\authorname}, % The author's name in the document properties (optional). + pdftitle = {\thesistitle}, % The document's title in the document properties (optional). + pdfsubject = {Subject}, % The document's subject in the document properties (optional). + pdfkeywords = {a, list, of, keywords} % The document's keywords in the document properties (optional). +} + +\setpnumwidth{2.5em} % Avoid overfull hboxes in the table of contents (see memoir manual). +\setsecnumdepth{subsection} % Enumerate subsections. + +\nonzeroparskip % Create space between paragraphs (optional). +\setlength{\parindent}{0pt} % Remove paragraph identation (optional). + +\makeindex % Use an optional index. +\makeglossaries % Use an optional glossary. +%\glstocfalse % Remove the glossaries from the table of contents. + +% Set persons with 4 arguments: +% {title before name}{name}{title after name}{gender} +% where both titles are optional (i.e. can be given as empty brackets {}). +\setauthor{Pretitle}{\authorname}{Posttitle}{female} +\setadvisor{Pretitle}{Forename Surname}{Posttitle}{male} + +% For bachelor and master theses: +\setfirstassistant{Pretitle}{Forename Surname}{Posttitle}{male} +\setsecondassistant{Pretitle}{Forename Surname}{Posttitle}{male} +\setthirdassistant{Pretitle}{Forename Surname}{Posttitle}{male} + +% For dissertations: +\setfirstreviewer{Pretitle}{Forename Surname}{Posttitle}{male} +\setsecondreviewer{Pretitle}{Forename Surname}{Posttitle}{male} + +% For dissertations at the PhD School and optionally for dissertations: +\setsecondadvisor{Pretitle}{Forename Surname}{Posttitle}{male} % Comment to remove. + +% Required data. +\setregnumber{0123456} +\setdate{01}{01}{2001} % Set date with 3 arguments: {day}{month}{year}. +\settitle{\thesistitle}{Titel der Arbeit} % Sets English and German version of the title (both can be English or German). If your title contains commas, enclose it with additional curvy brackets (i.e., {{your title}}) or define it as a macro as done with \thesistitle. +\setsubtitle{Optional Subtitle of the Thesis}{Optionaler Untertitel der Arbeit} % Sets English and German version of the subtitle (both can be English or German). + +% Select the thesis type: bachelor / master / doctor / phd-school. +% Bachelor: +% \setthesis{bachelor} +% +% Master: +%\setthesis{master} +%\setmasterdegree{dipl.} % dipl. / rer.nat. / rer.soc.oec. / master +% +% Master Proposal: +\setthesis{master-proposal} +% +% Doctor: +%\setthesis{doctor} +%\setdoctordegree{rer.soc.oec.}% rer.nat. / techn. / rer.soc.oec. +% +% Doctor at the PhD School +%\setthesis{phd-school} % Deactivate non-English title pages (see below) + +% For bachelor, master-proposal and master: +\setcurriculum{Media Informatics and Visual Computing}{Medieninformatik und Visual Computing} % Sets the English and German name of the curriculum. + +% For dissertations at the PhD School: +\setfirstreviewerdata{Affiliation, Country} +\setsecondreviewerdata{Affiliation, Country} + + +\begin{document} + +\frontmatter % Switches to roman numbering. +% The structure of the thesis has to conform to +% http://www.informatik.tuwien.ac.at/dekanat + +\addtitlepage{naustrian} % German title page (not for dissertations at the PhD School). +\addtitlepage{english} % English title page. + +% Select the language of the thesis, e.g., english or naustrian. +\selectlanguage{english} + +% Add a table of contents (toc). +\tableofcontents % Starred version, i.e., \tableofcontents*, removes the self-entry. + +% Switch to arabic numbering and start the enumeration of chapters in the table of content. +\mainmatter + +% Remove following line for the final thesis. +% \input{intro.tex} % A short introduction to LaTeX. + +\chapter{Problemstellung} +\todo{Insert text here} + +\chapter{erwartetes Resultat} +\todo{Insert text here} + +\chapter{methodisches Vorgehen} +\todo{Insert text here} + +\chapter{State-of-the art } +\todo{Insert text here (inkl. mind. vier Literaturreferenzen)} + +\chapter{Bezug zum angeführten Studium} +\todo{Insert text here} + +\backmatter + +% Use an optional list of figures. +% \listoffigures % Starred version, i.e., \listoffigures*, removes the toc entry. + +% Use an optional list of tables. +% \cleardoublepage % Start list of tables on the next empty right hand page. +% \listoftables % Starred version, i.e., \listoftables*, removes the toc entry. + +% Use an optional list of alogrithms. +% \listofalgorithms +% \addcontentsline{toc}{chapter}{List of Algorithms} + +% Add an index. +\printindex + +% Add a glossary. +\printglossaries + +% Add a bibliography. +\bibliographystyle{alpha} +\bibliography{intro} + +\end{document} \ No newline at end of file -- GitLab From db0d976a69e6a7fa54520608e305c6133641676f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 17 Feb 2019 22:35:37 +0100 Subject: [PATCH 4/4] changed german pretitle --- vutinfth.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vutinfth.dtx b/vutinfth.dtx index 7b803fa..c607fc8 100644 --- a/vutinfth.dtx +++ b/vutinfth.dtx @@ -1300,7 +1300,7 @@ naustrian=BACHELORARBEIT]{BACHELORTHESIS}% \CreatePolylingual[ english=Proposal, - naustrian=Masterarbeitsantrag]{MASTERPROPOSAL}% + naustrian=Abstract]{MASTERPROPOSAL}% \CreatePolylingual[ english=MASTER'S THESIS, naustrian=MASTERARBEIT]{MASTERTHESIS}% -- GitLab