[Tex/LaTex] Left and right aligned text boxes

horizontal alignment

I am writing a thesis and at the bottom of the title page, I need to include two participating institutes. So far, I have come up with this (using \parbox, but I cannot figure out how to right align the second block because \begin{flushright} starts a new paragraph and thus adds another line:

\parbox[t][3cm][t]{7cm}{\normalsize Figurative Unit (Optional)\\
Department of Blabla\\
University of Blabla} 
\parbox[t][3cm][t]{7cm}{\normalsize Chair of Mickey Mouse Science\\
Institute of Disneyland Studies\\
FSF Blabla} 

This results in:

enter image description here

As I said, I would like the right text block to be right-aligned to the margin of the page, which is set to 40mm ( \newgeometry{left=40mm,right=40mm,top=30mm} ). In the above example I used absolute distance measures but I assume it could be done more elegantly.

Best Answer

You could use two minipages, like this.

\documentclass{minimal}
\begin{document}
\begin{minipage}[t]{0.48\textwidth}
Figurative Unit (Optional)\\
Department of Blabla\\
University of Blabla
\end{minipage}
\hfill
\begin{minipage}[t]{0.48\textwidth}
\begin{flushright}
Chair of Mickey Mouse Science\\
Institute of Disneyland Studies\\
FSF Blabla
\end{flushright}
\end{minipage}
\end{document}