Skip to content

Commit

Permalink
Convert to tudscr-based document class
Browse files Browse the repository at this point in the history
  • Loading branch information
l3nkz committed Nov 7, 2024
1 parent 0a68176 commit a768c59
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 50 deletions.
46 changes: 30 additions & 16 deletions content/00_title.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,39 @@

\begin{singlespace}

\subject{{\LARGE Diplomarbeit}}
% Depending on the thesis that you are writing, choose the proper setting here
\subject{diploma} % for Diploma Thesis
\graduation[Dipl-Inf]{Diplom Informatiker*in}
% \subject{master} % for Master Thesis
% \graduation[M.Sc.]{Master of Science}
% \subject{bachelor} % for Bachelor Thesis
% \graduation[B.Sc.]{Bachelor of Science}
% \subject{evidence} % for Student Research Project (Großer Beleg)

\title{Dein Titel}

\author{Otto Mustermann}

\publishers{Technische Universität Dresden\\
Fakultät Informatik\\
Institut für Systemarchitektur\\
Professur für Betriebssysteme\\
\begin{minipage}{\textwidth}%\\
\vspace{6cm}
{\normalsize }\begin{tabular}{ll}
Betreuender Hochschullehrer: &
Prof.\ Dr.-Ing.\ Horst Schirmeier\tabularnewline
Betreuender Mitarbeiter: &
Dipl.-Inf.\ Dein Betreuer\tabularnewline
\end{tabular} {\normalsize }
\end{minipage}}
\author{%
Otto Mustermann%
\matriculationnumber{123456789}%
\dateofbirth{2.1.1990}%
\placeofbirth{Dresden}%
}

% English version
\faculty{Faculty of Computer Science}
\institute{Institute of Systems Architecture}
\chair{Chair of Operating Systems}
% German version
%\faculty{Fakultät Informatik}
%\institute{Institut für Systemarchitektur}
%\chair{Lehrstuhl für Betriebssysteme}

\professor{Porf.\ Dr.-Ing.\ Horst Schirmeier}
\supervisor{
Dipl.-Inf.\ Betreuer Eins%
\and%
M.Sc.\ Betreuer Zwei%
}

\maketitle
\end{singlespace}
Expand Down
2 changes: 0 additions & 2 deletions content/02_abstract.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

\ldots abstract \ldots

\todo{write abstract}

%%% Local Variables:
%%% TeX-master: "diplom"
%%% End:
Expand Down
2 changes: 1 addition & 1 deletion diplom.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
DIV=12,
appendixprefix,
final
] {scrreprt}
] {tudscrreprt}

% You should select either american or british instead of english here:
\usepackage[ngerman,english]{babel}
Expand Down
3 changes: 0 additions & 3 deletions preamble/packages.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
\usepackage{todonotes}
\usepackage{xspace}
\usepackage{setspace}
\usepackage{fancyhdr} % enables cool header line and footer line manipulations
\usepackage{lastpage} % enables the usage of the label "LastPage" to get the
% number of pages with \pageref{LastPage}

% use this one last
% (redefines some macros for compatibility with KOMAScript)
Expand Down
28 changes: 0 additions & 28 deletions preamble/style.tex
Original file line number Diff line number Diff line change
Expand Up @@ -56,31 +56,3 @@
% see: https://mirror.physik.tu-berlin.de/pub/CTAN/macros/latex/contrib/koma-script/doc/scrguide.pdf
\addtokomafont{disposition}{\rmfamily}

% ########################################################
% With the fancyhdr package we can let all pages look more professional.
% Each page (except for special ones such as chapters or the cover) will contain a
% header that looks like this:
%
% Chapter %NUM%. %CHAPTER_NAME% 3/10
%
% On even pages the page number is on the left, on odd pages the page number is on the right.
%
\pagestyle{fancy}
% Reset all existing header styles
\fancyhf{}

% Even pages (Ex)
% EL: even left: show page number
\fancyhead[EL]{\thepage~/~\pageref{LastPage}}
% ER: even right: show chapter
\fancyhead[ER]{\leftmark}

% Odd pages (Ox)
% OL: odd left: show page number
\fancyhead[OR]{\thepage~/~\pageref{LastPage}}
% OR: odd right: show chapter
\fancyhead[OL]{\rightmark}


% Additionally page number always on the bottom
% \fancyfoot[EC,OC]{\thepage}

0 comments on commit a768c59

Please sign in to comment.