Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.10 KB | None | 0 0
  1. \documentclass{moderncv}
  2. \moderncvtheme[blue]{classic}
  3. \firstname{Some}
  4. \familyname{Dude}
  5. \title{CV}
  6.  
  7. \newif\ifdetails
  8. \detailstrue
  9. %\detailsfalse
  10.  
  11. \renewcommand*{\cventry}[7][.25em]{%
  12.   \cvitem[#1]{#2}{%
  13.     {\bfseries#3}%
  14.     \ifthenelse{\equal{#4}{}}{}{, {\slshape#4}}%
  15.     \ifthenelse{\equal{#5}{}}{}{, #5}%
  16.     \ifthenelse{\equal{#6}{}}{}{, #6}%
  17.     .\strut%
  18.     \if\relax\detokenize\expandafter{\romannumeral-`\Q#7}\relax %\ifx&#7&%
  19.       \else{\newline{}\begin{minipage}[t]{\linewidth}\small#7\end{minipage}}\fi}}
  20. \begin{document}
  21. \maketitle
  22.  
  23. \section{Using cventry:}
  24. \cventry{year--year}{THIS IS JUSTIFIED, AS YOU CAN PLAINLY SEE}{THIS IS ALSO JUSTIFIED}{THIS IS JUSTIFIED, TOO}{AND THIS IS JUSTIFIED AS WELL}{
  25. \ifdetails
  26. I would like all this stuff to be raggedright, however. The "year-year" is not important.
  27. \fi
  28. }
  29. \cventry{year--year}{THIS IS JUSTIFIED, AS YOU CAN PLAINLY SEE}{THIS IS ALSO JUSTIFIED}{THIS IS JUSTIFIED, TOO}{AND THIS IS JUSTIFIED AS WELL}{
  30. \ifdetails
  31. I would like all this stuff to be raggedright, however. The "year-year" is not important. %
  32. \fi%
  33. }
  34.  
  35. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement