Here, I would like to put the title just below the top margin, so how can I remove or change such skip?
\documentclass{scrbook}
\usepackage[showframe,margin=4cm,a4paper]{geometry}
\begin{document}
\title{TITLE}
\maketitle
\end{document}
Here, I would like to put the title just below the top margin, so how can I remove or change such skip?
\documentclass{scrbook}
\usepackage[showframe,margin=4cm,a4paper]{geometry}
\begin{document}
\title{TITLE}
\maketitle
\end{document}
If you don't like the default title pages I would recommend to build a custom title using titlepage environment, e.g.:
\documentclass{scrbook}
\usepackage[showframe,margin=4cm,a4paper]{geometry}
\begin{document}
\begin{titlepage}
\centering
\huge\textsf{\textbf{TITLE}}
\bigskip
\normalsize \today
\end{titlepage}
\end{document}
See Johannes answer to "How to customize my titlepage?" for more suggestions.
But if you really just want to remove the initial vertical skip you could also patch \maketitle:
\documentclass{scrbook}
\usepackage[showframe,margin=4cm,a4paper]{geometry}
\usepackage{xpatch}
\xpatchcmd{\maketitle}{\null\vfill}{}{}
\begin{document}
\title{TITLE}
\maketitle
\end{document}
titlepageenvironment) instead of the predefined one. Or use an in-page title (optiontitlepage=false) instead of a title page. Or use optiontitlepage=firstiscoverto define the first title page of\maketitleto be a cover page and use the cover page setup commands to define the margins of this page (seescrguien.pdffor more information). – Schweinebacke May 10 '17 at 10:15titlepageenvironment solution. – Diaa May 10 '17 at 10:23