Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am about to submit an article with lots of equations in there (defined in both equation and align environments and I also have lots of inline math of course). There is a maximum page limit for the article and mine is quite above it. So, what I need to do is to scaling down all the equations to say 85% using minimum effort and edits to the text. Please note that I do not want inline math expressions to be affected by that macro, so that the text looks coherent at the end. Just wondering if a macro can be defined at the document preamble to do that for me?

share|improve this question
add comment

1 Answer 1

up vote 7 down vote accepted

I don't like the idea of reducing the font just for math expressions, but one option would be to use the etoolbox package and its \AtBeginEnvironment to change the font size for the displayed-math environments and \AfterEndEnvironment to restore the normal size; it's not a single command, but the number of environments for displayed math isn't too big. A little example:

\documentclass[conference]{IEEEtran}
\usepackage{bm}
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage{upgreek}
\usepackage{etoolbox}
\usepackage{lipsum}

\AtBeginEnvironment{equation}{\par\footnotesize}
\AfterEndEnvironment{equation}{\normalsize}
\AtBeginEnvironment{align}{\par\footnotesize}
\AfterEndEnvironment{align}{\normalsize}
\AtBeginEnvironment{equation*}{\par\footnotesize}
\AfterEndEnvironment{equation*}{\normalsize}

\begin{document}
\lipsum[2] 
Utricularia, commonly and collectively called the
bladderworts, is a genus of carnivorous plants consisting of
approximately 233 species (precise counts differ based on
classification opinions; one recent publication lists 215 species).
They occur in fresh water and wet soil as terrestrial or aquatic
species across every continent except Antarctica. Utricularia are
cultivated for their flowers, which are often compared with those of
snapdragons and orchids, especially amongst carnivorous plant
enthusiasts.
\begin{equation}                                                                                                                                                                    
\bm{\tau}_{(\bm{\mu})}^\dagger = \lim_{j \to \infty} j.\bm{e}_{\upeta} - \mathscr{F}^{-1}_{1:\upeta} \left( \bm{\zeta}_j \right)                                                    
\end{equation}
\lipsum[4]
\[
a = b + c + d + e + f.
\]
\lipsum[4]
\begin{equation}
a = b + c + d + e + f.
\end{equation}
\lipsum[4]
\begin{align}
a &= b \\
  &= c \\
  &= d \\
  &= e \\
  &= f.
\end{align}

\end{document}

enter image description here

Without using additional packages, one can use some standard procedures such as

\let\oldequation\equation
\def\equation{%
  \footnotesize%
  \oldequation
}

or

\expandafter\def\expandafter\equation\expandafter{\equation\footnotesize}

but, the use of the etoolbox package makes the code shorter.

share|improve this answer
    
Thanks, @Gonzalo. It perfectly shrinks the math size, but in some paragraphs, the regular text appears to be squeezed. Like the space between lines is reduced. If I disable those extra commands, it looks just right again. Any idea? –  Ali Jul 29 '12 at 0:19
    
@Ali I updated my answer restoring the normal font size after the environments; this should solve the problem. –  Gonzalo Medina Jul 29 '12 at 0:32
    
It still has the same problem. See here for example: imgur.com/o4NRo –  Ali Jul 29 '12 at 0:37
    
@Ali Hmmmm...strange. I am not able to reproduce the strange behaviour. What document class are you using? It would be helpful if you could build a MWE showing the problem. –  Gonzalo Medina Jul 29 '12 at 0:43
    
I'm using IEEEtran. Trying to see if I can come up with a MWE... –  Ali Jul 29 '12 at 0:47
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.