General\small font in \newtheorem environment

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
zorzal
Posts: 1
Joined: Mon Jan 21, 2008 4:32 pm

\small font in \newtheorem environment

Post by zorzal »

In a book:
\documentclass[11pt]{book}

I defined:
\newtheorem{Ex}{Example}[chapter]

to set Examples in a font different from the rest of the book. By default, they come up in italics, I think because I am using
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

How can I make the fonts also \small within the environment ?

Currently I have to type \small every time, as follows:
\begin{Ex}\small%
An example goes here ...
\end{Ex}%
which bothers me because I forget.

Thank you.
Zorzal
Thank you.
Zorzal

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\small font in \newtheorem environment

Post by localghost »

The answer to your request has already been given elsewhere. I would appreciate if you mention that you do a cross posting. That saves me the time I would spend to think about your request.
Post Reply