MWE:
% !TeX program = xelatex
\documentclass{article}
\usepackage{libertinus}
\renewcommand{\epsilon}{\varepsilon}
\begin{document}
This is \texttt{varepsilon}: $\varepsilon$.
This is \texttt{epsilon}, which should be looked the same as \texttt{varepsilon} $\epsilon$.
\end{document}
I'm using XeLaTeX
. I can't redefine epsilon
to varepsilon
, as in the picture above. However, if I switch to pdfLaTeX
, this does not happen.
For some reason, I have to use XeLaTeX
. How can I modify my code to get the variant ε when I enter epsilon
? Thanks for your help.