我发现了FontAwesome图标包。在查阅文档时,我遇到了以下内容:
{\color{color-name} text and/or icon }
然而,这种方法对我似乎不起作用。有人知道更改图标颜色的正确格式吗?
谢谢。
编辑:
\documentclass[border=0.1cm]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{fontawesome5}
\usepackage[hidelinks]{hyperref}
\begin{document}
\begin{minipage}[t]{0.275\textwidth} % 27.5% of the page width for the first row of icons
\vspace{-\baselineskip} % Required for vertically aligning minipages
{\color{Blue} \icon{Globe}{12}{\href{someAddress}{someAdd}}}\\
\end{minipage}
\end{document}