How can I change the colour of the First part in the name section, here it is Debarghya
and the first section of experience like google, facebook
I tried a lot but I can't find any solution. I just want to change the colour of the name and the subsections. Here's the link to the resume.
[Tex/LaTex] LaTex CV- Deedy Resume: How to change the Color of Name and the Subsections
cvdeedy-resumexetex
Related Question
- [Tex/LaTex] Reduce title spacing in subsections in Deedy Resume
- [Tex/LaTex] LaTeX CV Deedy-resume: how to remove line after the name
- [Tex/LaTex] LaTeX CV- Deedy Resume: How to compile and get pdf for Deedy Resume MacFonts
- [Tex/LaTex] `resume.cls` class template. How to move the headline (name, address, phone, mail)
- [Tex/LaTex] LaTex CV – Deedy Resume: How to change the font size of section titles
Best Answer
Well, your question is not very clear, but your comments helped a little bit.
The template you use is not the best, for example takes command
\centering
no parameter als wrongly used in the template. See my correction in the part for\namesection
...Your first issue is "to change Debarghya to Blue":
The name is set by command
\namesection
so we have to redefine it like this (see the changed code lines marked with<======
):With
\textcolor{blue}{#1}
I added the color blue (standard blue, defined by packagexcolor
) only to the first argument of the name. If you want that color too for the second parameter change the following#2
to\textcolor{blue}{#2}
.Your second issue is "to change [only!] Google, Facebook to have sky blue":
You did not tell what
sky blue
should be, so I defined it like that (change it for your needs):Now we can redefine the command
\runsubsection
to typeset the complete line, containing yourGoogle
etc. you want to change to sky blue:Please see the added
\textcolor{skyblue}{...}
in the marked line!Now we can complete the code to the following mwe:
resulting in the following pdf:
As you can see in the image (red arrows) now only the name part
Debarghya
is blue and onlyGoogle
(and not the complete line!) is inskyblue
...A remark to the used fonts: spread in the class you can find commands like
(we already saw that in command
\namesection
) resulting in typing the first nameDebarghya
in fontLato-Hai
, the second nameDas
in fontLato-Lig
.If you want to use other fonts you can change in
\fontspec
the names for the used fonts. I do not have a MaC, I can not help you with MaC fonts (but if you know the font name you can try to add it in the same way fontLato
was used ...).