Math & ScienceItalic fonts

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Italic fonts

Post by ubuntu2014 »

I did some Google searches but couldn't find a pleasing answer.
Every time I write a formula in my LaTeX document, I see unnecessary italic fonts. Of course, the \mathrm command from amsmath package does well but many symbols like phi are still not straight. Is there any easy way to make it straight?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Italic fonts

Post by Johannes_B »

Where are you from? In almost all parts of the world, variables are written in italics, operators are set upright, and many many other rules.
In mathematics, there is a difference between a, a and a.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Re: Italic fonts

Post by ubuntu2014 »

But still I need to write them straight. Any suggestions?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Italic fonts

Post by Stefan Kottwitz »

It depends on the used fonts. For example, you can switch to upright greek letters (and upright uppercase letters, which are also used for greek symbols) by

Code: Select all

\usepackage[upright]{kpfonts}
kpfonts is a nice set of fonts with a lot of features.

MinionPro with frenchmath option behaves similarly.

You can also get upright greek letters by

Code: Select all

\usepackage{upgreek}
and writing them as \upphi etc.

Stefan
LaTeX.org admin
Post Reply