Original project is furl's latex-fontawesome. I edited this project to use latest FontAwesome icons in XeLaTeX.
The current version of FontAwesome icons used is 4.4.0. See this for an older version (using FontAwesome version 3.1.1) with better documentation, examples, and for more information.
- You must have the FontAwesome font installed on your machine (download the
.otf
file here). - You must be using XeLaTeX and have the
fontspec
package installed.
- Download the
fontawesome.sty
file and put it in the same directory as the LaTeX file using the icons. - Include the package as normal (in the preamble of the
.tex
file, add the line\usepackage{fontawesome}
). - Use an icon by typing
\faIconName
. For example, to use thefa-quote-left
icon, convert it to camelcase and prepend the slash:\faQuoteLeft
.
You need BeautifulSoup to run makesty.py
.
$ sudo pip install beautifulsoup4
$ python makesty.py
This should result in the creation of latest fontawesome.sty
- You cannot use the icons which include a digit(0~9) in the name. (Ex. fa-500px)
You are free to modify it.
If you have any questions, feel free to join me at #posquit0
on Freenode and ask away. Click here to connect.
Good luck!