I'm using KOMA-Script and scrreprt and I can't figure out how to reduce the whitespace on the top of my titlepage. Can somebody tell me how to do it? But only on the titlepage.
My code is as follows:
\documentclass[%
12pt,
parskip=half,
headsepline,
plainfootsepline,
footsepline,
%toc=nobib
]{scrreprt}
\usepackage[onehalfspacing]{setspace}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{vmargin}
\setmarginsrb{30mm}
{20mm}
{20mm}
{20mm}
{15pt}
{10mm}
{20pt}
{10mm}
\usepackage{scrpage2}
\pagestyle{scrheadings}
\usepackage[
printonlyused,
withpage,
%footnote
]{acronym}
\usepackage{color}
\usepackage{moreverb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{url}
\usepackage{booktabs}
\usepackage{pdfpages}
\begin{comment}
\usepackage[%
breaklinks=true,
bookmarksopen,
%pdfstartview=FitH,
colorlinks,
%urlcolor=black,
linkcolor=black,
citecolor=black,
%pdftitle=xyz,
pdfauthor={myname}
]{hyperref}
\end{comment}
\setlength{\headheight}{1.1\baselineskip}
\usepackage[list=false]{subcaption}
\usepackage[font=small,labelfont=bf,justification=RaggedRight,singlelinecheck=false,format=hang]{caption}
%------START BIBLATEX CONFIG ---------%
\usepackage{csquotes}
\usepackage[%
backend=biber,
texencoding=utf8,
bibencoding=utf8,
style=authoryear,
autocite=inline,
maxnames=2,
maxbibnames=5,
firstinits=true,
uniquename=init
]{biblatex}
%
% Rename Bibliography and use of "et. al."
\DefineBibliographyStrings{ngerman}{bibliography={Literatur},andothers={et al.}}
%
% Author format
\renewcommand{\mkbibnamelast}[1]{\textsc{#1}}
%
% Quote as "Author (Year)"
\makeatletter
\def\ifEmpty#1{\def\@tmp{#1}\if\@tmp\@empty}
\makeatother
\newcommand{\citeaj}[2][]{%
\citeauthor{#2} (\citeyear{#2}%
\ifEmpty{#1}\else , #1\fi%
)%
}
%
\urlstyle{sf} % makes BibLatex use a sans serif font for URL in references, to improve line breaking
\addbibresource{bib.bib} % *.bib File for BibLaTex.
%
% Prevent switching author' first and last names
\DeclareNameAlias{sortname}{last-first}
%
% remove 'and' in front of last author, use comma instead
\renewcommand*{\finalnamedelim}{\multinamedelim}
%
% Colon after Year in Bib
\renewcommand{\labelnamepunct}{\addcolon\space}
%------END BIBLATEX---------------%
\setcounter{tocdepth}{2}
\tolerance 2000
\emergencystretch 20pt
\renewcommand*\chaptermarkformat{} % don't use numbers in front of chapter titles in header
% COMMANDS FOR TITLE PAGE
\newcommand{\thisdoctitle}{}
\newcommand{\thisauthors}{}
\newcommand{\thisauthorstitle}{ }
\newcommand{\thisauthorsbirthday}{}
\newcommand{\thisauthorsmatnr}{}
\newcommand{\thisauthorsemail}{}
\newcommand{\thisdoctype}{}
\newcommand{\erstgutachtertitel}{}
\newcommand{\erstgutachtername}{}
\newcommand{\zweitgutachtertitel}{}
\newcommand{\zweitgutachtername}{}
\newcommand{\thisdoctitledate}{\today}
\newcommand{\thisdocversion}{1.0}
\newcommand{\thisdocversiondate}{\thisdoctitledate}
\newcommand{\thisdoccomment}{}
\newcommand{\copyrightdate}{\the\year}
\newcommand{\thisfooteroddpages}{\thisauthors}
\newcommand{\thisfooterevenpages}{University of ...}
%--------------------------------------------------------------
\begin{document}
% BEGIN TITLEPAGE
\automark[]{chapter}
\thispagestyle{empty} \enlargethispage{20mm}
\definecolor{mydarkgreen}{rgb}{0,0.2,0}
\begin{center}
% documentitle
\begin{spacing}{1.9}
{\color{mydarkgreen}\Huge \thisdoctitle}
\end{spacing}
\vspace{2mm}
% seal of university
\includegraphics[height=60mm, clip=]{./uni_logo_aktuell_600dpi}
\vspace{8mm}
% documenttype
{\scalebox{2}{\color{mydarkgreen}\fontsize{14pt}{0pt}\selectfont\thisdoctype}}
%{\color{mydarkgreen}\Huge\thisdoctype}
\vspace{2mm}
\begin{spacing}{0.7}
{\color{mydarkgreen}\large some text
\large \textbf{some text}}
\vspace{8mm}
% name of university
{\color{mydarkgreen}\large text text
text text text
text text text text
text text }
\vspace{8mm}
% Author name, title, birthday
{\color{mydarkgreen}\large vorgelegt von
\Large\textbf{\thisauthors},~\thisauthorstitle
\large geboren am~\thisauthorsbirthday
\large Mat-Nr.:~\thisauthorsmatnr}
\vspace{8mm}
% Erst- und Zweitgutachter
{\color{mydarkgreen}\large Erstgutachter:~\erstgutachtertitel~\erstgutachtername}
{\color{mydarkgreen}\large Zweitgutachter:~\zweitgutachtertitel~\zweitgutachtername}
\vspace{8mm}
% date
{\color{mydarkgreen}\large Eingereicht am~\thisdoctitledate\rule{0mm}{0mm}}
\end{spacing}
\end{center}
% END TITLEPAGE
% --------------------------------------------------------------
\pagenumbering{roman} \setfootsepline{}[\color{white}]
\tableofcontents
\listoffigures
%--------------------------------------------------------------
% Header und Footer Definition
\pagenumbering{arabic} \setfootsepline{}[\color{black}]
\setkomafont{pageheadfoot}{\normalfont}
\ihead[]{\headmark}
\chead[]{}
\ohead[]{}
\ifoot[\thisauthors]{\thisauthors}
\cfoot[University ...]{University ...}
\ofoot[\pagemark]{\pagemark}
%----- BEGIN CONTENT -------%
\include{includes/01Introduction}
\printbibliography
\end{document}
Thank you.
EDIT:
This is the result when \usepackage{showframe} is added. The lines are the same throughout the whole document. It seems I need a way, to remove the header box only on the titlepage:
EDIT 2:
Okay, I found this question, and someone suggested using \vspace*{-2cm} to push the text up a little, which worked nicely for me.
Furthermore, it is stated, that the showframe package shows headerframes on the titlepage, even if they're not really there, which adds to the confusion:
Thank you, you are right, but because I was using showframe, I thought that the title environment has a reserved header space and I thought that I am supposed to use it, since it's there. Now I know better from @Johannes_B comment that showframe shows the frame for normal pages, even on the title page and the title page doesn't really have a any kind of header section in it, so I can simply just write some text and get it out of the text section by using a negative \vspace{-2cm} – Andrei Aug 6 '15 at 13:30

vmarginis more than just a bit obsolete.geometryshould be used to set the page margins. – Johannes_B Aug 24 '16 at 05:58