TransWikia.com

Change the color of titles to include whole word in Awesome CV

TeX - LaTeX Asked on May 3, 2021

I am currently using Awesome CV template on overleaf for my cover letter, and one thing that I noticed is that the first three letters of the sections are highlighted in color. On the resume, this looks cool because it is consistent throughout. However, I find it a little odd looking that both ‘Why’ are one word fully colored and ‘About’ is only three letters highlighted but it isn’t the whole word.

Is there any way to change the coloring of the headers so that ‘About’ in the section heading is fully colored?

Here is a screenshot from the template to be clearer:
Template

Instead of just ‘Abo’ colored in red, I would like ‘About’ colored in red.

Any help would be greatly appreciated, I am not sure where to do this in the code.

2 Answers

awesomecv.cls defines the @sectioncolor such that it would only apply the colouring to the first three tokens:

def@sectioncolor#1#2#3{%
  ifbool{acvSectionColorHighlight}{{color{awesome}#1#2#3}}{#1#2#3}%
}

So for the entire heading to be coloured (and assuming you always want it to be coloured so we can ignore the boolean for now), you can add these lines before begin{document}:

makeatletter
def@sectioncolor{color{awesome}}
makeatother

Answered by imnothere on May 3, 2021

I had the same problem, the answer posted here doesn't really address the problem. I found a way to make it work, explained here. Posting as an answer to this question for posterity's sake.

Answered by VHazeleger on May 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP