Some fontawesome icons appear in two styles, one of which is called "regular", and takes a [regular] optional argument in LaTeX. For example, \faIcon{square} is a filled square, whereas \faIcon[regular]{square} is an empty square. In HTML the two are differentiated by the class "far" vs "fas".
I searched through the documentation of this extension, but I don't find how to access these variants. Following the example of the size specification I tried adding style="regular" or regular=true and various other combinations. I was wondering if it is possible to access these variants and how.
Thank you so much for this awesome extension, it makes a world of difference!
I found out that the explanation is implicit at the beginning of the extension documentation: {{< fa square regular >}} gives what I was looking for. Sorry for the bother! :)
Some fontawesome icons appear in two styles, one of which is called "regular", and takes a
[regular]
optional argument in LaTeX. For example,\faIcon{square}
is a filled square, whereas\faIcon[regular]{square}
is an empty square. In HTML the two are differentiated by the class "far" vs "fas".I searched through the documentation of this extension, but I don't find how to access these variants. Following the example of the
size
specification I tried addingstyle="regular"
orregular=true
and various other combinations. I was wondering if it is possible to access these variants and how.Thank you so much for this awesome extension, it makes a world of difference!