Text FormattingStraight text inside definitions/theorems

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jspaka
Posts: 1
Joined: Thu Jul 05, 2012 7:53 pm

Straight text inside definitions/theorems

Post by jspaka »

I would like to some straight text inside a theorem environment (which is slanted)
Example:

Code: Select all

\begin{theorem} (straight text)
It holds that $a^2+b^2 = c^2$.
\end{theorem}
I've tried \text \mbox \textrm,... nothing seems to work.

Also, I do not want the result as

Code: Select all

\begin{theorem}[straight text] ...
Since it gets bold.

Recommended reading 2024:

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

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

Post Reply