Text FormattingReduce Font Size for Proofs

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Reduce Font Size for Proofs

Post by CSMR »

I would like to reduce the font size of proofs (AMS module).
They are no affected by any of the following code.

Code: Select all

\let\Huge=\huge
\let\huge=\LARGE
\let\LARGE=\Large
\let\Large=\large
\let\large=\normalsize
\let\normalsize=\small
\let\small=\tiny
Any ideas?
I gather that proofs are implemented as a "trivlist" - in case that's any help.
Thanks!

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Reduce Font Size for Proofs

Post by Stefan Kottwitz »

Hi,

\normalsize wouldn't be called automatically, but you could call \normalsize yourself to switch to the new normal size. Otherwise you change the commands, but don't use them.

Here's an example, showing that such size changing would work:

Code: Select all

\documentclass{amsbook}
\newcommand*{\changesizes}{%
  \let\Huge=\huge
  \let\huge=\LARGE
  \let\LARGE=\Large
  \let\Large=\large
  \let\large=\normalsize
  \let\normalsize=\small
  \let\small=\tiny
}
\newcommand*{\switchsize}{%
  \changesizes
  \normalsize}
\begin{document}
\begin{proof}
Text
\end{proof}
\begin{proof}
\switchsize
Text
\end{proof}
\end{document}
Stefan
LaTeX.org admin
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Reduce Font Size for Proofs

Post by CSMR »

Thanks. I am using that method now.
But now I am realizing that standard text doesn't seem to be governed by the change either.
I could insert a \normalsize command before all appendix standard text sections, but all those commands would the document unreadable, plus it overrides sizing in future sections.
Any way around this?

I have looked in the class file ectaart.cls, which seems to do all the appendix resizing at a higher level, and it contains the following about appendices:

Code: Select all

\renewcommand\appendix{\par
    \printaddresses%
    \history@fmt%
    \let\section@cnt@size\appendix@size%
    \let\old@section\section%
    \def\section{\@ifnextchar*{\@appsectionstar}{\@appsectionnostar}}%
    \def\section@prefix{\appendixname\ }%
    \def\section@numbersep{:}%
    \setcounter{section}{0}%
    \setcounter{subsection}{0}%
    \gdef\thesection{\@Alph\c@section}
    \appendix@size
}
Does that make any sense to anyone? Is there anything I could write in the preamble to achieve small appendix text?
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Reduce Font Size for Proofs

Post by CSMR »

To make the text small without changing the size of headings, the code "\small" before the appendix works. This is OK.
Then to change the size of the proofs, "\small " at the beginning of each proof.

It's a little hacked but I have the intended effect.

To vary the size, the code

Code: Select all

\let\appendixsize\small
\appendixsize
will allow setting the size from just one place.

The class file ectaart.cls (econometrica) does this at a higher level by redefining the \appendix command and redefining the proof environment. But I wasn't able to get any of this to work in my document without running into a lot of syntax errors.

Code: Select all

\setattribute{appendix}   {size} {\footnotesize}

Code: Select all

\renewenvironment{proof}[1][\proofname]{\par
  \pushQED{\qed}%
   \setlength\labelsep{1em}
  \normalfont \topsep6\p@\@plus6\p@\relax
  \trivlist
  \item[\hskip\labelsep
        \scshape
    ##1\@addpunct{:}]\ignorespaces
}{\popQED\endtrivlist\@endpefalse}
}

Code: Select all

  \renewcommand\appendix{\par
    \printaddresses%
    \history@fmt%
    \let\section@cnt@size\appendix@size%
    \let\old@section\section%
    \def\section{\@ifnextchar*{\@appsectionstar}{\@appsectionnostar}}%
    \def\section@prefix{\appendixname\ }%
    \def\section@numbersep{:}%
    \setcounter{section}{0}%
    \setcounter{subsection}{0}%
    \gdef\thesection{\@Alph\c@section}
    \appendix@size
}

  \def\@appsectionstar*#1{%
     \old@section*{#1}%
     \setcounter{section}{1}%
     \addcontentsline{toc}{section}{#1}
}

  \def\@appsectionnostar#1{%
     \ifx.#1.% 
       \def\section@numbersep{}\old@section[\appendixname\ \thesection]{}%
     \else%
       \def\section@numbersep{:}\old@section{#1}%
     \fi}
Post Reply