GeneralWant to change math font - style global

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
morpheus
Posts: 2
Joined: Tue Mar 04, 2008 9:43 am

Want to change math font - style global

Post by morpheus »

Hello there!

I'd like to change my math font-style but as I am new to latex I have some problems with it.
I use also the algorithm and algorithmic packages.
My problem is the follows: normally math-letters should be displayed in a such a way that it differs from the normal text. In the files I have seen until now the text inside $...$ will be displayed using a style similar to \mathit{}.
That's exactly what I want, but I don't know how to set this globally, so that I don't have to use anymore the command \mathit{}.
I tried \DeclareMathAlphabet{\foo}{OT1}{cmr}{m}{it}, but I don't understand what to place in the first braces because I am sure that this example must be wrong ...
I searched the web, but I was not able to found something really helpful.

Thank you.

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

morpheus
Posts: 2
Joined: Tue Mar 04, 2008 9:43 am

Re: Want to change math font - style global

Post by morpheus »

Well, as nobody wants to answer ... I have to answer myself after I tried out several things and asked many people.
The problem lies in the also included package eulervm which changes the font-style to another (for me it looks not good) style. In contrast to that one can use amssymb if one wants to use special math fonts or the other alternative is, that you can e.g. use a package like mathpazo which has also a nice font.

Thx
Post Reply