Fonts & Character SetsOne font for text and another one for maths

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Tobias_Denmark
Posts: 18
Joined: Sun Jun 06, 2010 1:59 pm

One font for text and another one for maths

Post by Tobias_Denmark »

I'm trying to implement Siarhei Khirevich (http://www.khirevich.com/latex/font/) suggestion on charter font for text and default text font for math envirements. It is working, but I get a warning like tihs:

“package mathdesign warning no font specified on input line 175”

How can I get this warning to disappear or disable it or rewrite my code so the warning it's not being activated?

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{charter}
\usepackage[expert]{mathdesign}
\begin{document}
This is a test:
\begin{equation}
	P_p(z) = P_p(z_0) + \int_{z_0}^z{\frac{\partial P_f}{\partial z}\,\mathrm{d}z}
\end{equation}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply