TransWikia.com

How can change the Bold in the Last Name of Awesome-CV

TeX - LaTeX Asked by Sara K on April 15, 2021

I am using posquit0/Awesome-CV (which is stellar) and creating a resume, but I am wondering how I can either make the either entire name bold (not just the last name) or unbold the last name? I am not sure where in the .csl I need to edit.

Thank you!

One Answer

The font size, color and series are controlled in the awesome-cv class through the commands headerfirstnamestyle for the first name and headerlastnamestyle for the last name. If you want to change the individual parameters, copy the original definitions of the two commands into the preamble of your document, replace newcommand with renewcommand and adjust the definitions accordingly.

Here are 4 different possible examples:

version 1: enter image description here with headerfontbfseries and color{text}

version 2: enter image description here with headerfont and color{text}

version 3: enter image description here with headerfontlight and color{text}

version 4: enter image description here with headerfontbfseries and original colors

documentclass[11pt, a4paper]{awesome-cv}

name{First}{Last}
mobile{mobile}


% original definition for comparison
%newcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontlightcolor{graytext} #1}}
%newcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{text} #1}}

% uncomment for version 1
%renewcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{text} #1}}
%renewcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{text} #1}}


% uncomment for version 2
%renewcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontcolor{text} #1}}
%renewcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontcolor{text} #1}}


% uncomment for version 3
%renewcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontlightcolor{text} #1}}
%renewcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontlightcolor{text} #1}}


% uncomment for version 4
%renewcommand*{headerfirstnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{graytext} #1}}
%renewcommand*{headerlastnamestyle}[1]{{fontsize{32pt}{1em}headerfontbfseriescolor{text} #1}}

begin{document}
makecvheader
end{document}

Answered by leandriis on April 15, 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