[Tex/LaTex] Currency symbol: French franc

symbols

Is there a LaTeX symbol for French franc; the F-like symbol with a lower horizontal bar — see http://en.wikipedia.org/wiki/French_franc?

I have had a look a both Detexify and The Comprehensive LaTeX Symbol List without any luck.

Update

If I try the follwing, the symbol is not written; only 123 is:

\documentclass{article}

\usepackage{fontspec}
\usepackage{siunitx}

\fontspec{FreeSerif.otf}
\DeclareSIUnit{\franc}{^^^^20a3}

\begin{document}

\SI{123}{\franc}

\end{document}

How should I change the code?

Best Answer

The Unicode symbol for ₣ is:

U+20A3 FRENCH FRANC SIGN

Libertine is an example for a Unicode font that supports the character:

% lualatex or xelatex
\documentclass{article}
\usepackage{libertineotf}
\begin{document}
^^^^20a3 % ASCII notation
\end{document}

French Franc

Example for GNU FreeFont:

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{FreeSerif.otf}
^^^^20a3
\end{document}

GNU FreeFont

Another example for Times New Roman (from Windows 7):

\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{times.ttf}
^^^^20a3
\end{document}

Times

\fontspec{Comfortaa-Regular.ttf}% Comfortaa Regular:

Comfortaa

\fontspec{OpenSans-Regular.ttf}% Open Sans Regular:

Open Sans

Example for siunitx and pdfLaTeX

If lualatex or pdflatex cannot be used, then the symbol can be included as graphics. The graphics is generated by:

% franc.tex
\nofiles
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{FreeSerif.otf}
^^^^20a3
\end{document}

It is compiled via:

$ lualatex franc
$ pdfcrop franc

Then franc-crop.pdf can be used as image for pdfLaTeX:

\documentclass{article}
\usepackage{graphicx}
\usepackage{siunitx}
\DeclareRobustCommand*{\myfranc}{\includegraphics[scale=.1]{franc}}
\DeclareSIUnit{\franc}{\myfranc}

\begin{document}
\SI{123.45}{\franc}
\end{document}

siunitx example

If you are using lualatex or xelatex, then the font can be used directly, e.g.:

\DeclareRobustCommand*{\myfranc}{%
  \begingroup
    \fontspec{FreeSerif.otf}%
    ^^^^20a3%
  \endgroup
}
Related Question