von stephie » Mo 7. Sep 2015, 10:29
Hallo,
ich bin gerade in den Endzügen meiner Abschlussarbeit und kämpfe mit einigen Formatierungsproblemen. Mein momentanes Problem ist die Erstellung von römischen Seitenzahlen zu Beginn des Dokumentes ohne, dass mein Text um eine Seite verschoben wird (eine Leerseite eingefügt wird). Die Leerseiten habe ich versucht mit openany zu unterdrücken, was sehr gut funktionierte.
\LoadClass[12pt,titlepage, openany]{book} %openany um leere seiten zu entfernen
Im Inhaltsverzeichnis werden die Seiten römisch nummeriert, allerdings in den Kapiteln sind sie nicht vorhanden. Hier nun mein Hauptdokument:
\documentclass[
german, % titles for a thesis in German, A4 paper
print, % the printed version does not use colored links
]{tex/ttthesis}
\usepackage{nicefrac}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{pgfplots}
\usepackage{pdfpages}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{enumitem}
\usepackage{lmodern}
\input{tex/colorscheme}
\input{tex/lststyles}
\input{tex/tikzstyles}
\input{tex/macros}
%*********************************************************************%
% META %
%*********************************************************************%
\ifgerman{
\newcommand{\university}{Otto-von-Guericke-Universität Magdeburg}
\newcommand{\school}{Fakultät für Verfahrens- und Systemtechnik}
}
%\newcommand{\logo}{\includegraphics[trim=0mm 0mm 50mm 0mm,clip,height=3cm]{LogoFVST.png}}
%\newcommand{\logodbse}{\includegraphics[scale=.45]{DBSE}}
\newcommand{\logo}{\includegraphics[scale=0.7]{../pics/Logo2.png}}
\newcommand{\advisorone}
\newcommand{\departmentone}
\newcommand{\advisortwo}
\newcommand{\departmenttwo}
% Thesis kind
\ifgerman{\newcommand{\thesiskind}{Bachelorarbeit}}{\newcommand{\thesiskind}{Bachelorarbeit}}
\ifgerman{
\newcommand{\theforename}{{S.}}
\newcommand{\thesurname}{{M.}}
\newcommand{\thetitle}{{Titel}}
\newcommand{\thedate}{{15. September 2015}}
}
\newcommand{\theyear}{{2015}}
% meta informations of the document
\hypersetup{
pdfauthor={Stephanie Müller},
pdftitle={Bachelorarbeit}
}
% open index file
\ifnotdraft{\makeindex}
\newacronym{IDE}{IDE}{Integrated Development Environment}
\begin{document}
\ifgerman{
\labelformat{lstlisting}{Quelltext~#1}
\renewcommand{\lstlistingname}{Quelltext}
}{
\labelformat{lstlisting}{Listing~#1}
}
% set the path where graphics are located
\graphicspath{{pics/}}
\ifnotdraft{
\frontmatter
\pagenumbering{roman}
\include{tex/titlepage}
\include{chapters/Aufgabenstellung}
\include{chapters/Kurzfassung}
\include{tex/erklaerung}
\include{chapters/Danksagung}
}
\ifnotdraft{
{\parskip 0pt \pdfbookmark{\contentsname}{\contentsname}\chapterheadfont \tableofcontents} % toc bitte einzeilig
%\blankpage
\ifgerman{
\listoffigures
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoftables
\addcontentsline{toc}{chapter}{Tabellenverzeichnis}
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
%\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=Abkürzungsverzeichnis]
}{
\listoffigures
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoftables
\addcontentsline{toc}{chapter}{Tabellenverzeichnis}
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
%\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=List of Acronyms]
}
}
\mainmatter
\pagenumbering{arabic}
\include{chapters/Einleitung}
\include{chapters/Grundlagen}
\include{chapters/Solvervalidierung}
\include{chapters/Simulation}
\include{chapters/Zusammenfassung}
\include{chapters/Ausblick}
%\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname} %
\bibliographystyle{alpha} % plain gerplain abbrvnat unsrtnat alphag alpha
% in a thesis you have space... use full names
\bibliography{literature/Quellen}
% in a paper, space is limited. use abreviations
%\bibliography{../literature/IEEEabrv,../literature/MYabrv,../literature/literature}
\appendix
\include{chapters/appendix}
\end{document}
Ich wäre sehr dankbar für jeden Tipp und jede Hilfe
liebe Grüße,
Stephie[/code]
Hallo,
ich bin gerade in den Endzügen meiner Abschlussarbeit und kämpfe mit einigen Formatierungsproblemen. Mein momentanes Problem ist die Erstellung von römischen Seitenzahlen zu Beginn des Dokumentes ohne, dass mein Text um eine Seite verschoben wird (eine Leerseite eingefügt wird). Die Leerseiten habe ich versucht mit openany zu unterdrücken, was sehr gut funktionierte.
[code]
\LoadClass[12pt,titlepage, openany]{book} %openany um leere seiten zu entfernen
[/code]
Im Inhaltsverzeichnis werden die Seiten römisch nummeriert, allerdings in den Kapiteln sind sie nicht vorhanden. Hier nun mein Hauptdokument:
[code]
\documentclass[
german, % titles for a thesis in German, A4 paper
print, % the printed version does not use colored links
]{tex/ttthesis}
\usepackage{nicefrac}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{pgfplots}
\usepackage{pdfpages}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{enumitem}
\usepackage{lmodern}
\input{tex/colorscheme}
\input{tex/lststyles}
\input{tex/tikzstyles}
\input{tex/macros}
%*********************************************************************%
% META %
%*********************************************************************%
\ifgerman{
\newcommand{\university}{Otto-von-Guericke-Universität Magdeburg}
\newcommand{\school}{Fakultät für Verfahrens- und Systemtechnik}
}
%\newcommand{\logo}{\includegraphics[trim=0mm 0mm 50mm 0mm,clip,height=3cm]{LogoFVST.png}}
%\newcommand{\logodbse}{\includegraphics[scale=.45]{DBSE}}
\newcommand{\logo}{\includegraphics[scale=0.7]{../pics/Logo2.png}}
\newcommand{\advisorone}
\newcommand{\departmentone}
\newcommand{\advisortwo}
\newcommand{\departmenttwo}
% Thesis kind
\ifgerman{\newcommand{\thesiskind}{Bachelorarbeit}}{\newcommand{\thesiskind}{Bachelorarbeit}}
\ifgerman{
\newcommand{\theforename}{{S.}}
\newcommand{\thesurname}{{M.}}
\newcommand{\thetitle}{{Titel}}
\newcommand{\thedate}{{15. September 2015}}
}
\newcommand{\theyear}{{2015}}
% meta informations of the document
\hypersetup{
pdfauthor={Stephanie Müller},
pdftitle={Bachelorarbeit}
}
% open index file
\ifnotdraft{\makeindex}
\newacronym{IDE}{IDE}{Integrated Development Environment}
\begin{document}
\ifgerman{
\labelformat{lstlisting}{Quelltext~#1}
\renewcommand{\lstlistingname}{Quelltext}
}{
\labelformat{lstlisting}{Listing~#1}
}
% set the path where graphics are located
\graphicspath{{pics/}}
\ifnotdraft{
\frontmatter
\pagenumbering{roman}
\include{tex/titlepage}
\include{chapters/Aufgabenstellung}
\include{chapters/Kurzfassung}
\include{tex/erklaerung}
\include{chapters/Danksagung}
}
\ifnotdraft{
{\parskip 0pt \pdfbookmark{\contentsname}{\contentsname}\chapterheadfont \tableofcontents} % toc bitte einzeilig
%\blankpage
\ifgerman{
\listoffigures
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoftables
\addcontentsline{toc}{chapter}{Tabellenverzeichnis}
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
%\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=Abkürzungsverzeichnis]
}{
\listoffigures
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoftables
\addcontentsline{toc}{chapter}{Tabellenverzeichnis}
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
%\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=List of Acronyms]
}
}
\mainmatter
\pagenumbering{arabic}
\include{chapters/Einleitung}
\include{chapters/Grundlagen}
\include{chapters/Solvervalidierung}
\include{chapters/Simulation}
\include{chapters/Zusammenfassung}
\include{chapters/Ausblick}
%\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname} %
\bibliographystyle{alpha} % plain gerplain abbrvnat unsrtnat alphag alpha
% in a thesis you have space... use full names
\bibliography{literature/Quellen}
% in a paper, space is limited. use abreviations
%\bibliography{../literature/IEEEabrv,../literature/MYabrv,../literature/literature}
\appendix
\include{chapters/appendix}
\end{document}
[/code]
Ich wäre sehr dankbar für jeden Tipp und jede Hilfe :)
liebe Grüße,
Stephie[/code]