8

Using any of the Concrete Roman packages together with eulervm seems to produce operator names such as \sin and \cos being typeset with a bitmap font. How can I have these rendered with a vector font, same as the text?

\documentclass[10pt]{article}

\usepackage{ccfonts}
\usepackage[euler-digits]{eulervm}
\usepackage[T1]{fontenc}
\usepackage{textcomp}

\usepackage{amsmath,amssymb,mathtools}

\begin{document}
Concrete Roman can write sin and cos in text, but not in math:
\begin{equation}
    \sin^2 x + \cos^2 x = 1
\end{equation}
\end{document}

enter image description here

3
  • 3
    You should load eulervm after fontenc. May 1 '20 at 18:55
  • Well that was easy. Care to write an answer?
    – user214373
    May 1 '20 at 19:11
  • 1
    I was trying to see where I got the package order from originally, and curiously both "The LaTeX Font Catalogue" and "A Survey of Free Math Fonts for TeX and LaTeX" load the packages in the wrong order!
    – user214373
    May 1 '20 at 22:12
7

The solution is simple to do after the nice comments. Here there is the complete solution whete you not see \sin and \cos being typeset with a bitmap font.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{ccfonts}
\usepackage[euler-digits]{eulervm}
\usepackage{textcomp}
\usepackage{amsmath,amssymb,mathtools}
\begin{document}
Concrete Roman can write sin and cos in text, but not in math:
\begin{equation}
    \sin^2 x + \cos^2 x = 1
\end{equation}
\end{document}

Your Answer

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