## LaTeX forum ⇒ Curricula Vitae / Résumés ⇒ how to color the name of section?

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
fritteille
Posts: 2
Joined: Sun Sep 06, 2015 6:57 am

### how to color the name of section?

Hi there!
The template "medium-length-professional" is super, I was looking exactly for that.
I was just wondering: Is it possible to color the name for each section? I tried various things but nothing worked.
Thank you very much.

Tags:

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Place the following right before \begin{document}.
\usepackage{xcolor}\colorlet{sectioncolor}{blue!70!black}\renewenvironment{rSection}[1]{ % 1 input argument - section name   \sectionskip   \begingroup   \color{sectioncolor}   \MakeUppercase{\bfseries#1} % Section title   \endgroup   \sectionlineskip   \hrule % Horizontal line   \begin{list}{}{ % List for each individual item in the section     \setlength{\leftmargin}{1.5em} % Margin within the section   }   \item[]}{   \end{list}}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

fritteille
Posts: 2
Joined: Sun Sep 06, 2015 6:57 am
Thank you so much!!! It's exactly what I was looking for.

I was considering know if it was possibile to color also the line under the title..
If not, no worries, It's perfect anyway!

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Just move the \endgroup below the \hrule.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.