我正在尝试使用 europasscv 文档类在 Latex 中创建简历。我已设法更改颜色或部分和突出显示,但我不知道如何更改个人信息部分图标的颜色:
\ecvname{Katie Smith}
\ecvaddress{12 Strawberry Hill, Dublin 8 Éire/Ireland}
\ecvmobile{+353 555 123 555}
\ecvtelephone{+353 127 6689}
\ecvworkphone{+353 999 888 777}
\ecvemail{[email protected] [email protected]}
我想将颜色从蓝色改为紫色。有什么想法吗?
答案1
我认为您应该使用fontawesome package
,这样您就可以轻松选择您需要的颜色:
\documentclass[english]{article}
\usepackage{fontawesome5}
\usepackage{xcolor}
\definecolor{electricpurple}{rgb}{0.75, 0.0, 1.0}%also You can find more colour here http://latexcolor.com/
\definecolor{darkpastelpurple}{rgb}{0.59, 0.44, 0.84}
\definecolor{lavenderpurple}{rgb}{0.59, 0.48, 0.71}
\definecolor{lightpastelpurple}{rgb}{0.69, 0.61, 0.85}
\begin{document}
This is an example of colored icons:\\
\textcolor{darkpastelpurple}{\faIcon[solid]{map-marker-alt}}\\
\textcolor{electricpurple}{\faIcon[solid]{mobile-alt}}\\
\textcolor{lavenderpurple}{\faIcon[solid]{github}}\\
\textcolor{lightpastelpurple}{\faIcon[solid]{envelope}}\\
\end{document}