\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}
文字 python 沒有將顏色更改為深藍色...
答案1
primary
您使用的此模板為主字體指派特定顏色(稱為)。這不能被 覆蓋\color
。您必須重新定義沒有該顏色的主要字體。這樣您還可以修復遺失的粗體字體。
\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}
或者,如果您想保留預設顏色,您可以透過添加顏色\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}