Suraj
Suraj

Reputation: 2477

Using font awesome - regular icons in latex

I'm currently using \faEnvelope and \faMobile as icons in my resume, but they're too dark. I can see in this fontawesome5 documentation they have "regular" icons as well which is what I want to use.

\documentclass[letterpaper,11pt]{article}
\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage[hidelinks]{hyperref}
\usepackage{fontawesome5}
\urlstyle{same}
\pdfgentounicode=1
\begin{document}
\begin{center}
    {\LARGE \textbf {Shawn}} \\ \vspace{4pt}
    \small \href{https://shawnmitchell01.github.io/}{\raisebox{-0.2\height}\faGlobe\ {shawnmitchell01.github.io}}  ~
 \href{https://www.linkedin.com/in/shawnmitchell01/}{\raisebox{-0.2\height}\faLinkedin\ {linkedin.com/in/shawnmitchell01}}  ~
    \href{https://github.com/shawnmitchell01}{\raisebox{-0.2\height}\faGithub\ {github.com/shawnmitchell01}} \\[4pt]
 \faMobile\ 67809912 \href{mailto:[email protected]}{\raisebox{-0.2\height}\faEnvelope[regular]\ {[email protected]}}
    \vspace{-8pt}
\end{center}
\end{document}

Upvotes: 1

Views: 8522

Answers (1)

Javito
Javito

Reputation: 474

It's right there in the documentation you linked. The default style is solid. If you want to use another style, you just have to specify it right after the icon name.

In this case, if you want to use the regular style, instead of just \faEnvelope you have to use \faEnvelope[regular].

Upvotes: 3

Related Questions