0
\usepackage{color}
\usepackage{fontawesome}
\definecolor{DARKBLUE}{RGB}{8, 94, 179} 
\begin{tightemize}
\item Designed and developed a \textbf{\color{DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

The text python is not changing color to dark blue...

4
  • What is tightemize? Can you provide a complete Minimal working example (MWE), starting with \documentclass{...} and ending with \end{document} (including only relevant packages).
    – Troy
    Apr 19, 2017 at 0:48
  • I can't replicate your problem. Here's your code snippet wrapped in a minimal example: code output
    – Werner
    Apr 19, 2017 at 0:53
  • Can i send an overleaf link ? @Troy Apr 19, 2017 at 0:57
  • overleaf.com/read/xptftzdztnxk Line 174 @Werner Apr 19, 2017 at 1:00

1 Answer 1

2

This template you are using assigns a specific color (called primary) to the main font. This cannot be overridden by \color. You have to redefine the main font without that color. This way you can also include a fix for the missing bold font.

\documentclass{deedy-resume-openfont}

\setmainfont[
  Path = fonts/lato/,
  UprightFont = *-Lig,
  BoldFont = *-Bol,
  %Color=primary,
]{Lato}

\definecolor{DARKBLUE}{RGB}{8, 94, 179} 

\begin{document}

\begin{tightemize}
\item Designed and developed a \textbf{\color{DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

\end{document}

Demo on Overleaf

Alternatively, if you want to keep the default color, you can add your color via \addfontfeatures.

\documentclass{deedy-resume-openfont}

\setmainfont[
  Path = fonts/lato/,
  UprightFont = *-Lig,
  BoldFont = *-Bol,
  Color=primary,
]{Lato}

\definecolor{DARKBLUE}{RGB}{8, 94, 179} 

\begin{document}

\begin{tightemize}
\item Designed and developed a \textbf{\addfontfeatures{Color=DARKBLUE}Python} based script to web scrape and index over \textbf{1.2 TB} of news, patent and market data. 
\end{tightemize}

\end{document}

Demo on Overleaf

4

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.