Skip to content

Commit

Permalink
Add: optional parameter to load main document other than TUWmaster/TU…
Browse files Browse the repository at this point in the history
…Wbachelor
  • Loading branch information
gsalzer committed Jun 2, 2023
1 parent 6a4ff45 commit 2cbbe49
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 16 deletions.
Binary file modified TUWcurriculum.zip
Binary file not shown.
6 changes: 4 additions & 2 deletions TUWcurriculum/TUWAoMaster.tex
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
% TU Wien Curriculum 2023.5
% TU Wien Curriculum 2023.6

\newcommand*\Markierung{Lehrgang}
\newcommand*\Studienart{außerordentliche Masterstudium}
\newcommand*\ArtikelAkkusativStudienart{das}

\begin{document}
\DECKBLATT

\tableofcontents
Expand All @@ -11,7 +13,7 @@
\section{Grundlage und Geltungsbereich}\label{sec:GG}

Der vorliegende Studienplan definiert und regelt das
{\ifENGLISCHSPRACHIG{ englischsprachige}{}
\ifENGLISCHSPRACHIG{ englischsprachige}{}
außerordentliche Masterstudium \emph{\VAR{Titel}}
an der Technischen Universität Wien.
Dieses Masterstudium basiert auf dem Universitätsgesetz
Expand Down
6 changes: 5 additions & 1 deletion TUWcurriculum/TUWbachelor.tex
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
% TU Wien Curriculum 2023.5
% TU Wien Curriculum 2023.6

\newcommand*\Markierung{Bachelor}
\newcommand*\Studienart{Bachelorstudium}
\newcommand*\ArtikelAkkusativStudienart{das}

\begin{document}
\DECKBLATT

\tableofcontents
Expand Down Expand Up @@ -501,3 +503,5 @@ \section{Lehrveranstaltungstypen}\label{app:ALT}
\ifDEF{Anhang}{%
\VAR{Anhang}%
}{}

\end{document}
18 changes: 8 additions & 10 deletions TUWcurriculum/TUWcurriculum.cls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%% TU Wien Curriculum 2023.5
%% TU Wien Curriculum 2023.6
%% Copyright 2023 G. Salzer
%
% This work may be distributed and/or modified under the
Expand All @@ -16,7 +16,7 @@
% This work consists of the file TUWcurriculum.cls.

% Class stuff
\ProvidesClass{TUWcurriculum}[TU Wien Curriculum 2023.5]
\ProvidesClass{TUWcurriculum}[TU Wien Curriculum 2023.6]
\RequirePackage{xcolor}
\LoadClass[a4paper,12pt]{scrartcl}
\setcounter{tocdepth}{1}
Expand Down Expand Up @@ -475,7 +475,8 @@
% BACHELOR
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{Bachelor}{
\newenvironment{Bachelor}[1][TUWbachelor]{
\gdef\TUWbachelor{#1}
\BachelorBeginHook
\CURnewcmd{Titel}
\CURnewcmd{Kennzahl}
Expand Down Expand Up @@ -527,17 +528,16 @@
\ifDEF{Module}{\LadeModule{\VAR{Module}}}{}
\ifDEF{ExterneModule}{\LadeModule{\VAR{ExterneModule}}}{}
\LVcsv{lvas.csv}
\begin{document}
\input{TUWbachelor}
\end{document}
\input{\TUWbachelor}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MASTER
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{Master}{
\newenvironment{Master}[1][TUWmaster]{
\gdef\TUWmaster{#1}
\MasterBeginHook
\CURnewcmd{Titel}
\CURnewcmd{Kennzahl}
Expand Down Expand Up @@ -595,9 +595,7 @@
\ifDEF{Module}{\LadeModule{\VAR{Module}}}{}
\ifDEF{ExterneModule}{\LadeModule{\VAR{ExterneModule}}}{}
\LVcsv{lvas.csv}
\begin{document}
\input{TUWmaster}
\end{document}
\input{\TUWmaster}
}


Expand Down
2 changes: 1 addition & 1 deletion TUWcurriculum/TUWdeckblatt.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% TU Wien Curriculum 2023.5
% TU Wien Curriculum 2023.6
\newcommand\TUWfonts{TUWfonts}
\newfontfamily\TUtext{TUTextRegular.ttf}%
[Path = \currfiledir\TUWfonts/,%
Expand Down
4 changes: 3 additions & 1 deletion TUWcurriculum/TUWmaster.tex
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
% TU Wien Curriculum 2023.5
% TU Wien Curriculum 2023.6

\newcommand*\Markierung{Master}
\newcommand*\Studienart{Masterstudium}
\newcommand*\ArtikelAkkusativStudienart{das}

\begin{document}
\DECKBLATT

\tableofcontents
Expand Down
2 changes: 1 addition & 1 deletion TUWcurriculum/TUWmodul.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% TU Wien Curriculum 2023.5
% TU Wien Curriculum 2023.6

\ifENTWURF
\pagebreak
Expand Down

0 comments on commit 2cbbe49

Please sign in to comment.