1

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

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

This way the section title is black when I use:

\mycvsection{Section Title}

But when I use:

\ecvpersonalinfo

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

  • 1
    Can you please add a minimal example of code? Not everybody knows europasscv – egreg Dec 2 '16 at 21:10
1

An example output:

enter image description here

The colour of "sections" within europasscv is given by ecvsectioncolor. If you want this to be black, add

\colorlet{ecvsectioncolor}{black}

to your preamble. However, some things other than \ecvsections also use ecvsectioncolor. Here's the output if you use the above change:

enter image description here

If you want it to affect "sections" only, you could patch \ecvsectionstyle:

\usepackage{etoolbox}
% \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>}
\patchcmd{\ecvsectionstyle}{ecvsectioncolor}{black}{}{}

Here's the output if you use the above patch only:

enter image description here


Here is a list of the colours defined by europasscv, if you want to change more colours (taken from europasscv.cls):

\definecolor{ecvrulecolor}{HTML}{398dc9}
\definecolor{ecvsectioncolor}{HTML}{0e4194}
\definecolor{ecvhighlightcolor}{HTML}{1593cb}
\definecolor{ecvtablebordercolor}{HTML}{c6c6c6}
\definecolor{ecvhighlightcellcolor}{HTML}{ebebeb}
\definecolor{ecvlanglinkcolor}{HTML}{000080}
\definecolor{ecvtextcolor}{HTML}{3e3a38}
  • I have a problem getting the SECTION headers of my Europass CV to appear bold in the europasscv package. Neither \bf nor \textbf{} seem to work. – Alaguraaj V H Dec 3 '16 at 0:00
  • @AlaguraajVH: Are you using \ecvsection{\textbf{section}}? – Werner Dec 3 '16 at 0:08
  • nope i don't any idea i didn't use that. i need to make that PERSONAL INFORMATION(section header) in BOLD . i had tried this " \colorlet{ecvsectioncolor}{black} " it helped me lot – Alaguraaj V H Dec 3 '16 at 0:34
  • @AlaguraajVH: For that specific section, you need to add \makeatletter \let\oldecv@infosectionkey\ecv@infosectionkey \renewcommand{\ecv@infosectionkey}{\textbf{\oldecv@infosectionkey}} \makeatother to your preamble. – Werner Dec 3 '16 at 1:05
  • i'm new to LaTeX it's difficult for me to understand . i had tried this " \makeatletter \let\oldecv@infosectionkey\ecv@infosectionkey \renewcommand{\ecv@infosectionkey}{\textbf{\oldecv@infosecti‌​onkey}} \makeatother "and got an error message as 1."! Undefined control sequence.", 2."! PACKAGE INPUTENC ERROR: UNICODE CHAR €‹ (U+200B)" – Alaguraaj V H Dec 3 '16 at 2:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.