### LaTeX users online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 7 guests

### LaTeX Friends

Sponsored by DANTE e.V.: The German speaking TeX Users Group

## Minipage Alignment

### LaTeX Forum: Graphics, Figures & Tables

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.
I'm trying to get three minipages to align properly on my custom titlepage, the first two vertically aligned along the first line and the third one lying below the first. But it's not coming out quite right, the first two won't align along the "Mentors" line and the third minipage comes out below the third but it's indented. But if I don't put the \vspace command in, it runs right below the minipage, which I think looks awkward.

Code: Select all  •  Open in online LaTeX editor
\begin{minipage}{0.5\textwidth}\begin{flushleft}\normalsize\textbf{Industry Mentors:}\\Person #1 \\Person #2\\Person #3 \\\end{flushleft}\end{minipage}\begin{minipage}{0.5\textwidth}\begin{flushright}\normalsize \textbf{Academic Mentor}\\Person #4\end{flushright}\end{minipage}\vspace{0.5cm}\begin{minipage}[c]{0.5\textwidth}\begin{flushleft}{ \normalsize \textbf{Student Researchers:}\\Person #5 (project manager)Person #6\\Person #7\\Person #8\\\end{flushleft}\end{minipage}
mdk31

Posts: 20
Joined: Wed Mar 11th, 2009

To make the first two minipages line up, use the [t] option to align them both at the top vertically.

I wasn't exactly sure what you meant about the third one being indented. If I had to guess though, it's probably that a space is being put in because you didn't comment out the linefeed at the end of the \vspace command. Might as well put in the \noindent command as well.

Try something like:

Code: Select all  •  Open in online LaTeX editor
\documentclass{article}\begin{document}\noindent%\begin{minipage}[t]{0.5\textwidth}\begin{flushleft}\normalsize\textbf{Industry Mentors:}\\Person \#1 \\Person \#2\\Person \#3 \\\end{flushleft}\end{minipage}\begin{minipage}[t]{0.5\textwidth}\begin{flushright}\normalsize\textbf{Academic Mentor}\\Person \#4\end{flushright}\end{minipage}\vspace{0.5cm}%\noindent%\begin{minipage}[t]{0.5\textwidth}\begin{flushleft}\normalsize \textbf{Student Researchers:}\\Person \#5 (project manager)\\Person \#6\\Person \#7\\Person \#8\\\end{flushleft}\end{minipage}\end{document}

However, since you didn't provide a full, compiliable example, it may well be that there are differences between what I have here and what you had in mind. (Your code used # where it needs \#, and there's a stray { or a missing } on one of the lines.)

frabjous

Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

Bless you, thanks, this works perfectly! I can't tell you how many times this forum has helped me with a LaTeX problem.
mdk31

Posts: 20
Joined: Wed Mar 11th, 2009

Hi mdk31,

great to hear that it's working.
Generally if a problem has been solved please the topic as "solved". This can be done by editing the initial post changing the topic icon to the green checkmark.

Kind regards,

Stefan

Stefan_K