TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a package that loads the concrete font, but only for the math, not for the normal text?

share|improve this question
Please have a look at this site: tug.dk/FontCatalogue/math.html – Marco Daniel Dec 30 '11 at 23:20
up vote 10 down vote accepted

Using How To Change Math Font Only? as a guide, here's what you can do:

enter image description here

\usepackage{amsmath}% http;//ctan.org/pkg/amsmath
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{ccfonts}% http://ctan.org/pkg/{ccfonts}
\usepackage[T1]{fontenc}% http://ctan.or/pkg/fontenc
\renewcommand{\rmdefault}{cmr}% cmr = Computer Modern Roman
  \frac{1}{2\pi}\int_\gamma f=\sum_{k=1}^m n(\gamma;a_k)\mathrm{Res}(f;a_k) \label{eq}
Take a look at $n(\gamma;a_k)$ in~\eqref{eq}.

Note that inline (or text style) and display math both use Concrete, while the equation numbers are set in Computer Modern.

The idea is, as mentioned in the linked post, you set the entire font change, and revert \rmdefault back to the font of your choice - cmr (or Computer Modern Roman) in this case.

If you're using other type face families, like \textsf and \texttt, these have to be modified (reverted as well):

\renewcommand{\ttdefault}{cmtt}% cmtt = Computer Modern Typewriter
\renewcommand{\sfdefault}{cmss}% cmss = Computer Modern Sans-Serif
share|improve this answer

The Concrete Roman font is a pure text font; unlike Computer Modern, there's no built-in math font in this family. The textbook Concrete Mathematics authored by Graham, Knuth, and Patashnik used (unsurprisingly) the Concrete Roman text font along with the Euler math font family.

To employ the Euler math font family, you could load the eulervm package.

share|improve this answer

You can save the default font families before loading ccfonts and then restore them; load any other font package before the code marked "save defaults". In this way you don't need to know what names have the three main font families.


%%% save defaults


%%% restore defaults

a+b=\sin\alpha+e^{\beta}-\sum_{i=1}^n x_i

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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