[OS X TeX] Minipage Vertical Alignment

KHALID NADIRI khalid.nadiri at gmail.com
Sun Sep 12 15:23:43 EDT 2010


Hi all,

I'm trying to vertically align the year & degree minipages under the Education section of the tex code listed below.  As you can see, the degree information is being placed below the corresponding years.  Does anyone have any suggestions on how to fix this?

Thank you,

Khalid

-----

\documentclass[10pt,letterpaper]{article}

\usepackage{hyperref}
\usepackage{geometry}

% Set your name here
\def\name{Blah Blah}

% The following metadata will show up in the PDF properties
\hypersetup{
  colorlinks = true,
  urlcolor = blue,
  pdfauthor = {\name},
  pdfkeywords = {political science, civil wars, conflict, political economy, development},
  pdftitle = {\name: Curriculum Vitae},
  pdfsubject = {Curriculum Vitae},
  pdfpagemode = UseNone
}

\geometry{
  body={6.5in, 9.0in},
  left=0.5in,
  right=0.5in,
  top=0.9in,
  bottom=0.9in
}

% Customize page headers
\pagestyle{myheadings}
\markright{\name}
\thispagestyle{empty}

% Custom section fonts
\usepackage{sectsty}
\sectionfont{\rmfamily\mdseries\large}
\subsectionfont{\rmfamily\mdseries\itshape\normalsize}

% Other possible font commands include:
% \ttfamily for teletype,
% \sffamily for sans serif,
% \bfseries for bold,
% \scshape for small caps,
% \normalsize, \large, \Large, \LARGE sizes.

% Don't indent paragraphs.
\setlength\parindent{0em}

% Make lists without bullets and compact spacing
\renewenvironment{itemize}{
  \begin{list}{}{
    \setlength{\leftmargin}{1.5em}
    \setlength{\itemsep}{.5em}
    \setlength{\parskip}{0pt}
    \setlength{\parsep}{0.15em}
  }
}{
  \end{list}
}

\begin{document}

% Place name at left
{\LARGE \name}

% Alternatively, print name centered and bold:
%\centerline{\huge \bf \name}

\vspace{0.0in}

\line(1,0){535}

\vspace{0.0in}	
\begin{minipage}[t]{0.65\linewidth}
      \vspace{0pt}
  Blah Blah Department \\
  Blah Blah University \\
  Blah Blah  Avenue \\
  Blah Blah \\
\end{minipage}
\begin{minipage}[t]{0.38\linewidth}
  \vspace{0pt}
  Blah Blah Phone \\
  Blah Blah Fax \\
  Blah Blah Homepage \\
  Blah Blah Email \\
\end{minipage}

\section*{Research Interests}

\begin{itemize}

\item Blah Blah

\end{itemize}

\section*{Education}

\vspace{0.0in}	
\begin{minipage}[t]{0.0\linewidth}
\begin{itemize} 
\item 2014
\begin{itemize}
\item
\end {itemize}
\item 2008
\item 2003
\end{itemize}
\end{minipage}

\begin{minipage}[t]{1\linewidth}
\begin{itemize} 
\item Ph.D. Candidate, Department of Blah Blah, Blah Blah University
\begin{itemize}	
\item\textit{Research Fields:} Blah Blah, Blah Blah, Blah Blah
\end {itemize}
\item M.A., Department of Blah Blah, Blah Blah University
\item B.A., Department of Blah Blah, Blah Blah University
\end{itemize}
\end{minipage}

\bigskip

% Footer
\begin{center}
  \begin{small}
    Last updated: \today
  \end{small}
\end{center}

\end{document}


More information about the MacOSX-TeX mailing list