Yes, I want to put a box around the title which is exactly a Huge baselineskip away from the text:
Code: Select all
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\begin{document}
\newlength{\Length}
\settowidth{\Length}{\Huge{Minimal working example}}
\addtolength{\Length}{2\baselineskip}
\title{Text over the title \vspace{\baselineskip} \\ \fbox{\parbox{\Length}{\begin{center} \Huge{\vspace{\baselineskip} Minimal working example \vspace{\baselineskip}} \end{center}}}}
\author{Author}
\maketitle
\end{document}
And actually I want to have
\addtolength{\length}{\Huge{\baselineskip}}
instead of
\addtolength{\length}{\baselineskip}
which gives an error.
Furthermore I just encountered that in this minimal working example the box also get's bigger as soon as I add the
\begin{center}
and
\end{center}
commands which is not the case in my original document.
Does anybody have a suggestion?