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}
Example for GNU FreeFont:
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{FreeSerif.otf}
^^^^20a3
\end{document}
Another example for Times New Roman (from Windows 7):
\documentclass{article}
\usepackage{fontspec}
\begin{document}
\fontspec{times.ttf}
^^^^20a3
\end{document}
\fontspec{Comfortaa-Regular.ttf}% Comfortaa Regular
:
\fontspec{OpenSans-Regular.ttf}% Open Sans Regular
:
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}
If you are using lualatex or xelatex, then the font can be used directly, e.g.:
\DeclareRobustCommand*{\myfranc}{%
\begingroup
\fontspec{FreeSerif.otf}%
^^^^20a3%
\endgroup
}
LaTeX provides, as any new user finds out, support for greek letters in math mode, with macro names that are spelled out: \alpha
, \beta
, \delta
, etc.
Unfortunately, the default appearance of \epsilon
is
which is not what the OP was seeking.
However, one finds on p.43 of Lamport's LaTeX User Guide that several greek letters have variants that are available through standard LaTeX. Namely, \varepsilon
, \vartheta
, \varpi
, \varsigma
, \varphi
.
A comparison of the standard versus the variant forms is given below:
We find that, indeed, \varepsilon
is the desired form of the OP.
Other details about the OP's question were the inclusion of subscripts These are done in math mode, with the subscript following a _
character; however, only a single character is typically absorbed into the subscript (e.g., \varepsilon_0
), so that longer subscripts should be grouped in braces as \varepsilon_{xy}
. In the case of one of the OP's examples, an upright r
was requested as the subscript. If one used \varepsilon_r
, the r
would be in standard math mode, which is italic
However, one can ask for upright math mode by way of \mathrm{}
(math-roman), which already comes pre-grouped, so that \varepsilon_\mathrm{r}
yields
The only final thing to mention, which is very introductory, is that inline math (so-called \textstyle
) is accessed by way of dollar delimiters $...$
, or in many ways more preferably, \(...\)
delimiters. If one wants the math on a line by itself (so-called \displaystyle
), with no efforts to compress the expression into a single row height, then \[...\]
delimiters are used, or else one of the many LaTeX math environments such as equation
or the amsmath.sty
environments in the align
family.
Thus, to achieve the OP's request, I provide the following MWE:
\documentclass{article}
\begin{document}
$\varepsilon_\mathrm{r}$ and $\varepsilon_0$ are inline expressions
\end{document}
Best Answer
Very likely you are using the old
OT1
encoding:The example also shows how to typeset
<
and>
by using\textless
or\textgreater
.The issue is resolved with the
T1
font encoding: