2

For changing the color of section titles I do this in europecv:

\newcommand{\mycvsection}[1]{\ecvsection{\textcolor{BrickRed}{#1}}}

This way the section title is red when I use:

\mycvsection{Section Title}

But when I use:

\ecvpersonalinfo

I can not use the macro. Can I somehow color the personal information section to?

1 Answer 1

2

\ecvpersonalinfo doesn't use the regular \ecvsection to set another section. Instead you'll have to tap into the Personal Information section macro to change the colour.

The following minimal code does exactly that:

\usepackage[dvipsnames]{xcolor}
\makeatletter
\let\old@ecv@infosectionkey\ecv@infosectionkey% Copy \ecv@infosectionkey
\renewcommand{\ecv@infosectionkey}
  {\textcolor{BrickRed}{\old@ecv@infosectionkey}}% Update colour to BrickRed
\makeatother

enter image description here

I used a ShareLaTeX template.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .