[texhax] Changing default math font to bold

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jan 12 09:10:16 CET 2011


Am 12.01.2011 02:44, schrieb Mike B.:

> How can I change the default math font to be bold, that is, 
> $ x = y$ will by default typeset letters and numbers in bold.
> 
> I've tried:
> \DeclareMathAlphabet{\mathnormal} {OT1}{ptm}{b}{it}
> 
> but it doesn't work.

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\mathversion{bold}
\begin{document}

$y=f(x)$
\[\int_1^2\frac{1}{x^2}dx=1\]

\mathversion{normal}
$y=f(x)$

\end{document}

Herbert


More information about the texhax mailing list