Curricula Vitae / Résuméschanging color of title/name in medium-length-professional-cv

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
foxyou
Posts: 2
Joined: Wed Nov 29, 2017 12:46 pm

changing color of title/name in medium-length-professional-cv

Post by foxyou »

Hi there,
I'm new to this and have managed to change the color of the section headings, but was trying to change the name of the name of the CV user to match this. How would I go about this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

changing color of title/name in medium-length-professional-cv

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

You can put the color in the \name macro:

Code: Select all

\protected\def\mycolor{\color{orange}}
\name{\mycolor John Smith} % Your name
I used etex's \protected macro feature, so the \MakeUppercase within the name printing macro doesn't change orange to ORANGE.

In general, I would not put style changes into a name or text macro, but it's the easiest here to get it done quickly.

Stefan
LaTeX.org admin
Post Reply