### Who is online

In total there are 7 users online :: 1 registered, 0 hidden and 6 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: Yahoo [Bot] and 6 guests

## Minipage Alignment

Add tags Information and discussion about graphics, figures & tables in LaTeX documents.

### Minipage Alignment

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 writeLaTeX
\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

### Re: Minipage Alignment

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 writeLaTeX
\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

### Re: Minipage Alignment

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

### Re: Minipage Alignment

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