Thesis-Aufbau definiert und Listing Beispiel mit eingefügt

This commit is contained in:
marcodn 2024-01-27 13:37:35 +01:00
parent 072a8dab6a
commit e038b6b781
12 changed files with 223 additions and 46 deletions

View file

@ -0,0 +1,4 @@
\chapter{Einleitung}
\label{ch:intro}

View file

@ -0,0 +1,3 @@
\chapter{Grundlagen}
\label{ch:intro}

View file

@ -0,0 +1,13 @@
\chapter{Konzept}
\label{ch:concept}
\section{Aufbau der Umfrage}
\section{Allgemeine Betrachtung des Systems}
\section{Das Vorgehen der Optimierung}
\section{Aktueller Aufbau der Software}
\section{Vergleich mit anderen Technologien}

View file

@ -0,0 +1,11 @@
\chapter{Performance-Untersuchung}
\label{ch:performance-checking}
\section{Auswertung der Umfrage}
\section{Einbau und Aktivieren von Performance-Messung}
\section{Statistiken im PostrgreSQL auswerten}
\section{Überprüfung des PostgreSQL und Servers}

View file

@ -0,0 +1,15 @@
\chapter{Optimierung}
\label{ch:optimizing}
\section{Ermittlung der Performance-Probleme}
\section{Analyse der Abfrage}
\section{Optimierungen der Abfragen}
\section{Anpassung der Konfiguration}
und hier ein sql-beispiel \autoref{lst:tester}
\includecode[SQL]{chapters/thesis/chapter05_example.sql}{lst:tester}{ein sql beispiel}

View file

@ -0,0 +1,3 @@
select *
from tblCPDataX
where szName = N'EDA01'

View file

@ -0,0 +1,11 @@
\chapter{Evaluierung}
\label{ch:evaluation}
\section{Befragung der Benutzer und Entwickler}
\section{Erneute Laufzeitanalyse starten}
\section{Statistiken im PostgreSQL auswerten}
\section{Vergleich der Ergebnisse vor und nach der Optimierung}

View file

@ -0,0 +1,3 @@
\chapter{Zusammenfassung und Ausblick}
\label{ch:summary_and_outlook}

Binary file not shown.

View file

@ -1,33 +1,3 @@
%*************************************************************************
% A Classic Thesis Style
% An Homage to The Elements of Typographic Style
%
% Copyright (C) 2017 André Miede and Ivo Pletikosić
%
% If you like the style then I would appreciate a postcard. My address
% can be found in the file ClassicThesis.pdf. A collection of the
% postcards I received so far is available online at
% http://postcards.miede.de
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE
% IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex)
%*************************************************************************
\RequirePackage{silence} % :-\
\WarningFilter{scrreprt}{Usage of package `titlesec'}
%\WarningFilter{scrreprt}{Activating an ugly workaround}
@ -41,18 +11,31 @@
%*************************************************************************
% Note: Make all your adjustments in here
%*************************************************************************
\input{fernuni-hagen-thesis-config}
\input{marco-galster-config}
\input{classicthesis-config}
\renewcommand{\myThesisType}{Bachelorarbeit\xspace}
\renewcommand{\myTime}{01. Januar 2024\xspace}
\renewcommand{\myVersion}{version 1.0\xspace}
% https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings
%\lstinputlisting[frame=tb,language=SQL,caption={ein sql beispiel},label=lst:tester]{chapters/thesis/chapter05_example.sql}
\newcommand{\includecode}[4][c]{\lstinputlisting[caption=#4,frame=tb,label=#3,language=#1]{#2}}
% Beispiel für externe Datei:
%\includecode[SQL]{chapters/thesis/chapter05_example.sql}{lst:tester}{ein sql beispiel}
% Beispiel für direkte Eingabe:
%\begin{lstlisting}[float=b,language=Pascal,frame=tb,caption={A floating example (\texttt{listings} manual)},label=lst:useless]
% for i:=maxint downto 0 do
% begin
% { do nothing or other things }
% end;
%\end{lstlisting}
%*************************************************************************
% Bibliographies
%*************************************************************************
\addbibresource{bibliography.bib}
\addbibresource{Expose-ref.bib}
%*************************************************************************
% Hyphenation
%*************************************************************************
%\hyphenation{put special hyphenation here}
%*************************************************************************
% GO!GO!GO! MOVE IT!
@ -74,15 +57,15 @@
%\cleardoublepage\include{frontbackmatter/Foreword}
\cleardoublepage\include{frontbackmatter/Declaration}
\condLOCK{\cleardoublepage\include{frontbackmatter/BlockingNotice}}
\cleardoublepage\include{frontbackmatter/AbstractEN}
\cleardoublepage\include{frontbackmatter/AbstractDE}
%%\cleardoublepage\include{frontbackmatter/AbstractEN}
%%\cleardoublepage\include{frontbackmatter/AbstractDE}
%\cleardoublepage\include{frontbackmatter/Publications}
%\cleardoublepage\include{frontbackmatter/Acknowledgments}
\cleardoublepage\include{frontbackmatter/Contents}
\cleardoublepage\include{frontbackmatter/Figures}
\cleardoublepage\include{frontbackmatter/Tables}
%\cleardoublepage\include{frontbackmatter/Tables}
\cleardoublepage\include{frontbackmatter/Listings}
\cleardoublepage\include{frontbackmatter/Acronyms}
%\cleardoublepage\include{frontbackmatter/Acronyms}
%*************************************************************************
% Mainmatter
%*************************************************************************
@ -92,18 +75,22 @@
% Alwas use \cleardoublepage before \part{...}.
\cleardoublepage
%\part{Thesis}\label{pt:thesis}
\include{chapters/examples/chapter01}
\include{chapters/examples/chapter02}
\include{chapters/examples/chapter03}
\include{chapters/thesis/chapter01}
\include{chapters/thesis/chapter02}
\include{chapters/thesis/chapter03}
\include{chapters/thesis/chapter04}
\include{chapters/thesis/chapter05}
\include{chapters/thesis/chapter06}
\include{chapters/thesis/chapter07}
%*************************************************************************
% Backmatter
%*************************************************************************
\appendix
%\renewcommand{\thechapter}{\alph{chapter}}
\cleardoublepage
\part{Appendix}
\include{chapters/examples/appendix01}
\include{chapters/examples/appendix02}
%\part{Appendix}
%\include{chapters/examples/appendix01}
%\include{chapters/examples/appendix02}
%*************************************************************************
% Other Stuff in the Back
%*************************************************************************
@ -113,3 +100,15 @@
%*************************************************************************
\end{document}
%*************************************************************************
% Performance-Analysen Postgresql:
% https://stackoverflow.com/questions/2430380/is-there-a-postgresql-equivalent-of-sql-server-profiler
% https://www.postgresql.org/docs/current/runtime-config-logging.html#guc-log-statement
% Allgemeine Webseite:
% https://www.overleaf.com/learn/latex/Bibliography_management_with_natbib
% https://postgrespro.com/docs/postgresql/14/runtime-config-resource
% Frank Wedekind:
% https://books.google.de/books?hl=de&lr=&id=3qO8DQAAQBAJ&oi=fnd&pg=PA1&dq=frank+wedekind&ots=S4LHWQ0h2e&sig=Mz8PEGF-md4n3AwH9cgXq-5vUac#v=onepage&q=frank%20wedekind&f=false
% https://www.martin.germanistik.uni-mainz.de/forschung/frank-wedekind/

BIN
thesis_example.pdf Normal file

Binary file not shown.

115
thesis_example.tex Normal file
View file

@ -0,0 +1,115 @@
%*************************************************************************
% A Classic Thesis Style
% An Homage to The Elements of Typographic Style
%
% Copyright (C) 2017 André Miede and Ivo Pletikosić
%
% If you like the style then I would appreciate a postcard. My address
% can be found in the file ClassicThesis.pdf. A collection of the
% postcards I received so far is available online at
% http://postcards.miede.de
%
% License:
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License, or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
% PLEASE SEE ALSO THE AUTHORS' NOTE REGARDING THIS LICENSE
% IN THE DOCUMENTATION (ClassicThesis.pdf --> Chapter 1 / Chapter01.tex)
%*************************************************************************
\RequirePackage{silence} % :-\
\WarningFilter{scrreprt}{Usage of package `titlesec'}
%\WarningFilter{scrreprt}{Activating an ugly workaround}
\WarningFilter{titlesec}{Non standard sectioning command detected}
\documentclass[ openright,titlepage,numbers=noenddot,headinclude,%twoside, %1headlines,% letterpaper a4paper
footinclude=true,cleardoublepage=empty,abstractoff, % <--- obsolete, remove (todo)
BCOR=5mm,paper=a4,fontsize=11pt,%11pt,a4paper,%
ngerman,american,%lockflag%
]{scrreprt}
%*************************************************************************
% Note: Make all your adjustments in here
%*************************************************************************
\input{fernuni-hagen-thesis-config}
\input{classicthesis-config}
%*************************************************************************
% Bibliographies
%*************************************************************************
\addbibresource{bibliography.bib}
%*************************************************************************
% Hyphenation
%*************************************************************************
%\hyphenation{put special hyphenation here}
%*************************************************************************
% GO!GO!GO! MOVE IT!
%*************************************************************************
\begin{document}
\frenchspacing
\raggedbottom
\selectlanguage{ngerman} % ngerman, american
%\renewcommand*{\bibname}{new name}
%\setbibpreamble{}
\pagenumbering{roman}
\pagestyle{plain}
%*************************************************************************
% Frontmatter
%*************************************************************************
\include{frontbackmatter/Titlepage}
\include{frontbackmatter/Titleback}
%\cleardoublepage\include{frontbackmatter/Dedication}
%\cleardoublepage\include{frontbackmatter/Foreword}
\cleardoublepage\include{frontbackmatter/Declaration}
\condLOCK{\cleardoublepage\include{frontbackmatter/BlockingNotice}}
\cleardoublepage\include{frontbackmatter/AbstractEN}
\cleardoublepage\include{frontbackmatter/AbstractDE}
%\cleardoublepage\include{frontbackmatter/Publications}
%\cleardoublepage\include{frontbackmatter/Acknowledgments}
\cleardoublepage\include{frontbackmatter/Contents}
\cleardoublepage\include{frontbackmatter/Figures}
\cleardoublepage\include{frontbackmatter/Tables}
\cleardoublepage\include{frontbackmatter/Listings}
\cleardoublepage\include{frontbackmatter/Acronyms}
%*************************************************************************
% Mainmatter
%*************************************************************************
\cleardoublepage
\pagestyle{scrheadings}
\pagenumbering{arabic}
% Alwas use \cleardoublepage before \part{...}.
\cleardoublepage
%\part{Thesis}\label{pt:thesis}
\include{chapters/examples/chapter01}
\include{chapters/examples/chapter02}
\include{chapters/examples/chapter03}
%*************************************************************************
% Backmatter
%*************************************************************************
\appendix
%\renewcommand{\thechapter}{\alph{chapter}}
\cleardoublepage
\part{Appendix}
\include{chapters/examples/appendix01}
\include{chapters/examples/appendix02}
%*************************************************************************
% Other Stuff in the Back
%*************************************************************************
\cleardoublepage\include{frontbackmatter/Bibliography}
%*************************************************************************
% Game Over: Restore, Restart, or Quit?
%*************************************************************************
\end{document}
%*************************************************************************