0

I would like to ask if there exists anywhere a font for math mode that is as similar as possible to the font called "Avenir" (or else Helvetica Neue, Helvetica or Verdana) ?

Cheers

Edit: as to the context, I would like to set up a table which is composed partly of text and partly of mathematical expressions, and since my normal text font (avenir in my case) is very different from the default math mode font, the whole table has a displeasing look at the end

  • So you are looking for a sans-serif math font? – MaxNoe Aug 15 '15 at 21:51
  • Does Avenir support maths? If so, you can use it with Xe/LuaTeX. The LaTeX Font Catalogue has a page on fonts for maths using traditional engines such as TeX and pdfTeX. – cfr Aug 15 '15 at 21:52
  • Arev, Iwona, GFS Neohellenic, KP Sans-Serif, Kurier...? – cfr Aug 15 '15 at 21:55
  • @MaxNoe yes I am, if possible Avenir – alexanzi Aug 15 '15 at 22:02
  • @cfr I don't know LaTeX so very well honestly... therefore I would guess that avenir does not support math mode. But then again the only way to change the appearance of math mode which I know is with \usepackage{euler}. What would be the command to use to set another font as math mode ? – alexanzi Aug 15 '15 at 22:04
3

You can just follow the instructions provided by The LaTeX Font Catalogue if one of the fonts they illustrate is suitable. Just click on the font you like and copy the code lines into your preamble.

For example if you want to use Kurier:

Kurier

\documentclass{article}
\usepackage[math]{kurier}
\usepackage[T1]{fontenc}
\begin{document}
\[
\Pr(P) = \frac{\mu_0}{4\pi}\int_{-\infty}^{+\infty}\frac{x^{-3c^3}}{\sqrt{c^7-\phi_9}}
\]
\end{document}

Or for KP Sans-Serif:

KP Sans-Serif

\documentclass{article}
\usepackage[sfmath]{kpfonts}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\begin{document}
\[
\Pr(P) = \frac{\mu_0}{4\pi}\int_{-\infty}^{+\infty}\frac{x^{-3c^3}}{\sqrt{c^7-\phi_9}}
\]
\end{document}

Or Arev:

Arev

\documentclass{article}
\usepackage{arev}
\usepackage[T1]{fontenc}
\begin{document}
\[
\Pr(P) = \frac{\mu_0}{4\pi}\int_{-\infty}^{+\infty}\frac{x^{-3c^3}}{\sqrt{c^7-\phi_9}}
\]
\end{document}

EDIT

Based on comments, you seem to have abandoned the preference for sans-serif and mentioned Erewhon and Heuristica. So...

Heuristica:

Heuristica

\documentclass{article}
\usepackage{heuristica}
\usepackage[heuristica,vvarbb,bigdelims]{newtxmath}
\usepackage[T1]{fontenc}
\renewcommand*\oldstylenums[1]{\textosf{#1}}
\begin{document}
\[
\Pr(P) = \frac{\mu_0}{4\pi}\int_{-\infty}^{+\infty}\frac{x^{-3c^3}}{\sqrt{c^7-\phi_9}}
\]
\end{document}

Erewhon:

\documentclass{article}
\usepackage[proportional,scaled=1.064]{erewhon}
\usepackage[erewhon,vvarbb,bigdelims]{newtxmath}
\usepackage[T1]{fontenc}
\renewcommand*\oldstylenums[1]{\textosf{#1}}
\begin{document}
\[
\Pr(P) = \frac{\mu_0}{4\pi}\int_{-\infty}^{+\infty}\frac{x^{-3c^3}}{\sqrt{c^7-\phi_9}}
\]
\end{document}

Erewhon

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.