Last active
January 1, 2022 14:15
-
-
Save chrisma/c4eaa1753ba16ccba004 to your computer and use it in GitHub Desktop.
LaTeX commands to add left aligned entries to moderncv template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcommand{\cvitemleft}[3][.25em]{% | |
\begin{tabular}{@{}p{\hintscolumnwidth}@{\hspace{\separatorcolumnwidth}}p{\maincolumnwidth}@{}}% | |
\hintstyle{#2} &{#3}% | |
\end{tabular}% | |
\par\addvspace{#1} | |
} | |
\newcommand{\cventryleft}[7][.25em]{% | |
\cvitemleft[#1]{#2}{% | |
{\bfseries#3}% | |
\ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}% | |
\ifthenelse{\equal{#5}{}}{}{, #5}% | |
\ifthenelse{\equal{#6}{}}{}{, #6}% | |
.\strut% | |
\ifx&% | |
\else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment