If you see this, something is wrong
First published on Sunday, Jul 20, 2025 and last modified on Sunday, Jul 20, 2025
LaTeX2Web
Font awesome is a web resource that provides icons that can be used in a web page.
Before embedding a Font Awesome icon in your document, you must know which icon to use. To view the available icons, got to the Font Awesome website. LaTeX2Web supports icons up to version 6.
The HTML code for the icon is the following:
<i class="fa-duotone fa-solid fa-browser"></i>It has three parameters.
browser is the icon name.solid is the icon styleduotone is the style familyThe syntax for creating a Font Font Awesome icon is
\fa{name}[icon style][style family]which correspond to the parameters described in the previous section.
The default value for icon style is solid. \fa{browser} yields . There are four possible values for the icon style parameter.
solid yields regular yields light yields thin yields The second optional parameter style family holds only if the icon style is provided. Its default value is classic. There are four possible values for the style family parameter. In the examples below, we use the solid icon style.
classic yields duotone yields sharp yields sharp-duotone yields You can use Font Awesome icons to start your list items. Here is an example with the code below. In lists, the regular icon style is applied.
Here is the code.
\begin{itemize}
\item[fa-square-check] a check mark (checked)
\item[fa-square] a check mark (un-checked)
\item[fa-jedi] a Jedi icon
\end{itemize}We use the fa prefix to indicate to LaTeX2Web that we wish to use a font awesome icon instead of generic text.
Final note: LaTeX2Web does NOT support the fontawesome package because its syntax is limited to a set of pre-defined icons and is very complicated to use.