# Fix \parbox on upper bound of \makebox

right now I'm designing the titlepage for my thesis. The logo of my university should be in the upper left corner, then I want a vertical line starting at the top of the logo and ending at the bottom of the page. In the lower right corner should be more text.

I tried to realize this with nested boxes. Here is my MWE:

\documentclass[12pt,a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}

\begin{document}
\begin{titlepage}
\fbox{
\makebox[\textwidth]{
\parbox[b]{0.3819\textwidth}{
\hspace{0.01\textwidth}\hspace{1em}\vbox{%
\raggedright
\rule{0.85\linewidth}{3cm}

}
}%

\rule{1pt}{0.99\textheight}

\begin{minipage}[t]{0.6181\textwidth}
\begin{minipage}[b]{10cm}%{%
\raggedleft
{\noindent\Large Text}\\[\baselineskip]
\end{minipage}
\end{minipage}
}%outer makebox
}
\end{titlepage}
\end{document}


It's pretty obvious, that the rule is the problem. Can someone help me? Thanks, FFoDWindow

• If you change the vertical rule to \rule[\dimexpr-.99\textheight+3cm\relax]{1pt}{0.99\textheight}, the logo goes to the top. However, I couldn't say if the text is where you need. Mar 9 '17 at 18:16

I think you can vastly simplify the code:

\documentclass[12pt,a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{graphicx}

\begin{document}

\begin{titlepage}
\setlength{\fboxsep}{0pt}
\setlength{\parindent}{0pt}
\vspace*{-\baselineskip}
\vspace*{-\topskip}
\vspace*{-\fboxrule}

\hspace*{-\fboxrule}%
\fbox{%
\begin{minipage}[t][\textheight]{0.3819\textwidth}
\centering
\vspace{0pt}% set the reference point to the top
\includegraphics[width=\dimexpr\textwidth-2em]{example-image}%
\end{minipage}%
\hspace{-.5pt}\vrule width 1pt\hspace*{-.5pt}%
\begin{minipage}[t][\dimexpr\textheight-.4pt][b]{0.6181\textwidth}
\raggedleft
\Large Text

\vspace*{\baselineskip}
\end{minipage}%
}% end of \fbox
\hspace*{-\fboxrule}

\vspace*{-\fboxrule}
\end{titlepage}
\end{document}


• That's working well, thank you! I'll use your code, so I'll accept your answer. Mar 10 '17 at 11:28

Using the tikz-package you could create your titlepage like this:

\documentclass[12pt,a4paper]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{tikz}

\begin{document}

\begin{titlepage}