Curricula Vitae / RésumésDelete color from headings but keep block around name

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Delete color from headings but keep block around name

Post by templateuser »

I really like the layout and look of this template, but I would like to remove the color from the first three letters of the section headings. I want to do this without removing the dark block around the name, which is what happens when 'print' is added to the \documentclass declaration.

I apologize if this has been asked already, but I was not able to find it under the other discussion posts.

Thanks!

Justin

Recommended reading 2024:

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

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

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Delete color from headings but keep block around name

Post by templateuser »

Nevermind, I figured it out. Heres what I did:

Code: Select all

Code, edit and compile here:
\RequirePackage{parskip}
\newcounter{colorCounter}
\def\@sectioncolor#1#2#3{%
{%
\color{headercolor}% I JUST ADDED {HEADERCOLOR} AND REMOVED THE COLOR OPTIONS
% \ifcase\value{colorCounter}%
% blue\or%
% red\or%
% orange\or%
% green\or%
% purple\or%
% brown\else%
% headercolor\fi%
} #1#2#3%
}%
\stepcounter{colorCounter}%
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This is probably not the best way because it still separates the color assignment for the first three characters from the remainder of the header title. Whatever the case, it worked just fine.

Justin
Post Reply