Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

reduce equation size

8,063 views
Skip to first unread message

Hanspeter Schaub

unread,
Jun 18, 1997, 3:00:00 AM6/18/97
to

How does on properly reduce the overall equation size in the equation environment? I am using

\begin{equation}
\small
....
\end{equation}

right now. When texing the document, I get the following warning.

LaTeX Font Warning: Command \small invalid in math mode on input line 1544.

However, the large equation does get reduced in size by using smaller fonts and now fits within the column. Should I just ignore the warning? Is there a "proper" way to force tex to use a smaller equation font?

thanks for any pointers

Hanspeter Schaub
sch...@tamu.edu


David Kastrup

unread,
Jun 19, 1997, 3:00:00 AM6/19/97
to sch...@tamu.edu

sch...@tamu.edu (Hanspeter Schaub) writes:

> How does on properly reduce the overall equation size in the equation environment? I am using
>
> \begin{equation}
> \small
> ....
> \end{equation}
>
> right now.

Rather use
\begingroup
\small
\begin{equation}
...
\end{equation}
\endgroup

(You can use { and } instead of \begingroup and \endgroup as well).

--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany

Wolfgang May

unread,
Jun 19, 1997, 3:00:00 AM6/19/97
to

Hanspeter Schaub (sch...@tamu.edu) wrote:
: How does on properly reduce the overall equation size in the equation environment? I am using

: \begin{equation}
: \small
: ....
: \end{equation}

: right now. When texing the document, I get the following warning.

: LaTeX Font Warning: Command \small invalid in math mode on input line 1544.

: However, the large equation does get reduced in size by using smaller fonts and now fits within the column. Should I just ignore the warning? Is there a "proper" way to force tex to use a smaller equation font?

in maths use
\displaystyle,\textstyle, \scriptstyle,\scriptscriptstyle for sizing.

Wolfgang


Piet van Oostrum

unread,
Jun 19, 1997, 3:00:00 AM6/19/97
to

>>>>> David Kastrup <d...@mailhost.neuroinformatik.ruhr-uni-bochum.de> (DK) writes:

DK> sch...@tamu.edu (Hanspeter Schaub) writes:
>> How does on properly reduce the overall equation size in the equation environment? I am using
>>
>> \begin{equation}
>> \small
>> ....
>> \end{equation}
>>
>> right now.

DK> Rather use
DK> \begingroup
DK> \small
DK> \begin{equation}
DK> ...
DK> \end{equation}
DK> \endgroup

DK> (You can use { and } instead of \begingroup and \endgroup as well).

Or even:

\begin{small}


\begin{equation}
...
\end{equation}

\end{small}
--
Piet van Oostrum <pi...@cs.ruu.nl>
URL: http://www.cs.ruu.nl/~piet [PGP]

Frank Mittelbach

unread,
Jun 23, 1997, 3:00:00 AM6/23/97
to sch...@tamu.edu

Hanspeter Schaub wrote:
>
> How does on properly reduce the overall equation size in the equation environment? I am using
>
> \begin{equation}
> \small
> ....
> \end{equation}
>
> right now. When texing the document, I get the following warning.
>
> LaTeX Font Warning: Command \small invalid in math mode on input line 1544.
>
> However, the large equation does get reduced in size by using smaller fonts and now fits > within the column. Should I just ignore the warning?

no, better not. you just hit on an implementation feature of the current fontsizing commands
but LaTeX explicitly warns you not to rely on it. so if you do the next release might not
only produce that warning but no longer the effect.

as for a better solution several have been pointed out. from the latex perspective

\begin{small}
\begin{equation}

is probably the cleanest.

frank

Kresimir Fresl

unread,
Jun 23, 1997, 3:00:00 AM6/23/97
to

Frank Mittelbach wrote:

> as for a better solution several have been pointed out.
> from the latex perspective
>
> \begin{small}
> \begin{equation}
>
> is probably the cleanest.

But this also reduces equation number.


fres

fr...@grad.hr

Michael John Downes

unread,
Jun 29, 1997, 3:00:00 AM6/29/97
to

Hanspeter Schaub wrote:
> > How does on properly reduce the overall equation size in the
> > equation environment?

Frank Mittelbach <fmit...@de.eds.com> wrote:
> ... from the latex perspective


>
> \begin{small}
> \begin{equation}
>
> is probably the cleanest.

Let me add that you need also to put a percent character after
\end{small}, if there is more text in the same paragraph following the
equation:

\begin{small}
\begin{equation}
...
\end{equation}

\end{small}% percent sign needed here
following text ...

Otherwise you will get an extra space before the letter "f" in the above
example. The `equation' environment has awareness about removing the
space after \end{equation}. (Recall that the end of a line always
produces a space in LR text, unless the line ends with a comment or a
`control word' (something like \S that consists of backslash and one or
more letters).)

For the `small' environment, the \end{small} may not necessarily
coincide with a vertical break in the current paragraph, so it would be
wrong for \end{small} to always remove a following space. Thus the
writer needs to take care about that.

Michael Downes, m...@ams.org

0 new messages