Math & ScienceChange the font style in all equations of one document

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Abdessamed
Posts: 6
Joined: Tue Sep 07, 2021 11:32 am

Change the font style in all equations of one document

Post by Abdessamed »

Hello,

I'd like to change the font style in all equations of one document, not just a single equation.
I found the same question here, but it isn't working for me.

https://tex.stackexchange.com/questions ... -equations

I mean, how do you force Latex to change the entire font style of equations?

Thanks.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Change the font style in all equations of one document

Post by Stefan Kottwitz »

Hi Abdessamed,

welcome to the forum!

What exactly do you want to change? Would you like to have the equations in bold, or sans-serif, or in some specific other font than regular math font? Also, the question on StackExchange has several solutions - which one would you like to use that did not work, and can you show your code that doesn't work? Otherwise it's hard to guess what went wrong with which of the ways.

Stefan
LaTeX.org admin
Abdessamed
Posts: 6
Joined: Tue Sep 07, 2021 11:32 am

Change the font style in all equations of one document

Post by Abdessamed »

Hello Stefan,

I solved the last problem, I was just back to the default font by removing the packages "kpfonts" and "txfonts".
I found the solution in the StackExchange community:

https://tex.stackexchange.com/questions ... e-document

Thanks, Mr. Stefan.
Post Reply