Curricula Vitae / Résuméschanging name from upper case to sentence case

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
lsntex
Posts: 2
Joined: Thu Aug 27, 2015 4:56 pm

changing name from upper case to sentence case

Post by lsntex »

Hi there,

I am using the Medium Length Professional CV template (http://www.latextemplates.com/template/ ... ssional-cv) and I am really happy with it so far. My question is about the case of the name that appears at the top of the CV.

How do I change my name at the top from uppercase lettering to sentence case?

For example, right now it reads: JOHN SMITH. I would like it to say: John Smith.

I have tried editing the resume.cls file to add \def\namefont{\normalfont} as you would in other documents, but that does not seem to do the trick. Any tips?

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

changing name from upper case to sentence case

Post by Johannes_B »

Please add right before \begin{document}:

Code: Select all

\makeatletter
\def\printname{%
    \hfil{\namesize\bfseries\@name}\hfil
    \nameskip\break
}
\makeatother

Please note, that \bf is obsolete for two decades. It should be \bfseries.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
lsntex
Posts: 2
Joined: Thu Aug 27, 2015 4:56 pm

Re: changing name from upper case to sentence case

Post by lsntex »

It worked. Thank you!
Post Reply