# Sublists in moderncv

I want to have sublists in my CV, like so:

possibly with more than one item. For instance, the first line being the thesis title and the second line the supervisor and its name. Suggestions?

MWE:

\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}
\name{John}{Doe}
\title{Resumé title}
\begin{document}
\makecvtitle
\section{Education}
\end{document}


Without much else to go by, perhaps the following suits your needs:

\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}

\let\oldcventry\cventry
\newcommand{\cvsublistentry}[3][.25em]{%
\hspace*{\dimexpr\hintscolumnwidth+\separatorcolumnwidth}%

\name{John}{Doe}
\title{Resum\'e title}

\begin{document}
\makecvtitle

\section{Education}

\cvsublistentry{Supervisor}{Prof.\ Who Cares}
\cvsublistentry{Examiner}{Dr.\ Cares Somewhat}

%\medskip% Maybe add some more space here...

\cvsublistentry{Supervisor}{Prof.\ Who Cares}
\cvsublistentry{Examiner}{Dr.\ Cares Somewhat}

\end{document}


\cvsublistentry uses some of the same techniques employed by \cventry (copied from there), with the added font/vertical spacing changes.

Depending on your usage, additional vertical spacing may be required if you don't like the gap between a \cvsublistentry and a subsequent \cventry.

• Thanks. I need the words supervisor and examiner to be right-aligned though,and the ensuing Prof. and Dr. to be left-aligned. Also, I think it'd look a little nicer if slightly smaller fonts were used for sublists. Mar 19, 2015 at 21:52
• @StefanosAivazidis: See the updated answer. I've used \footnotesize, but you can adjust that. Same goes for virtually everything I added. :)
– Werner
Mar 19, 2015 at 21:57
• Thank you. Can I control the space between supervisor and the name? Mar 19, 2015 at 22:02
• @StefanosAivazidis: Of course. In my definition I've used \makebox[.][.]{#2:} #3 which leaves a regular inter-word space between : and #3. You can change this to (say) \makebox[.][.]{#2:}\hspace{<len>}#3 where you supply <len>. <len>=1em is similar to \quad; <len>=2em is similar to \qquad. Otherwise you can specify what you want (even negative).
– Werner
Mar 19, 2015 at 22:08
• @DiaaAbidou: Use \cvitem{supervisors}{\begin{tabular}[t]{@{}l@{}}Supervisor A \\ Supervisor B \end{tabular}}; output.
– Werner
Sep 13, 2017 at 0:39