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

Array too wide for page - how to reduce font size?

876 views
Skip to first unread message

Robert Jay Brendel

unread,
Apr 30, 2001, 4:34:54 PM4/30/01
to
I'm a non-expert writing my dissertation in LaTeX. I have one
matrix within an equation array that is too wide for the page.
I've tried to reduce the font size to make it fit by using \small
within and outside the math environment, but I haven't yet found
how to make it work. Here's a snapshot of what I'm doing:

\begin{eqnarray}
A &=& \left[ \begin{array} {ccccccc}
a & b & ... \\
...
\end{array} \right]
B &=& \left[ \begin{array}
...
\end{array} \right]
\end{eqnarray}

Can I force the font size of the equation array to be smaller?

Thanks for any pointers,
Rob Brendel

Una Smith

unread,
Apr 30, 2001, 4:10:05 PM4/30/01
to
Robert Jay Brendel <bre...@copland.udel.edu> wrote:

>I'm a non-expert writing my dissertation in LaTeX.

Welcome to the club.

>I have one matrix within an equation array that is too wide
>for the page.

Making the font smaller might solve the fit problem, but at a
cost to the reader's eyes. How about defining the big array
outside the equation?

--
Una Smith

Los Alamos National Laboratory, Mailstop K-710, Los Alamos, NM 87545

Melissa Harrison

unread,
Apr 30, 2001, 6:08:43 PM4/30/01
to
In article <9cki9e$ejv$1...@copland.udel.edu>, Robert Jay Brendel says...

>
>I've tried to reduce the font size to make it fit by using \small
>within and outside the math environment, but I haven't yet found
>how to make it work. Here's a snapshot of what I'm doing:
>
>\begin{eqnarray}
>A &=& \left[ \begin{array} {ccccccc}
>a & b & ... \\
>...
>\end{array} \right]
>B &=& \left[ \begin{array}
>...
>\end{array} \right]
>\end{eqnarray}
>
>Can I force the font size of the equation array to be smaller?

Comments:

1. Font sizes in math are controlled (in Latex2e) by the command
\DeclareMathSizes{14}{12}{10}{7} which means: when math is
encountered within 14pt text, make the displaystyle math 12pt,
the scriptstyle math 10pt, and the scriptscriptstyle math 7pt. Of
course, I chose these numbers to clarity in the example; a more
normal example would be \DeclareMathSizes{14}{14}{10}{7}, as
you might imagine. So in your style file there will be a list of
such commands (one for each font size of surrounding text).
Assuming these are set up reasonably, you may ignore this
comment. The above information is contained in The LaTeX
Companion by Goossens, Mittelbach, and Samarin. Well worth
having a copy on your shelf or borrowing from the library.

2. When I tested what you said you were doing, it worked. That
is, placing \small before the eqnarray and \normalsize afterward
did, in fact, make the array contents "small" - 9pt in my case - using
article.cls. If this is not small enough, try a different size such as
maybe \tiny or \footnotesize. If it still doesn't work then post more
information, such as what style and/or packages you are using, or
check the definitions of sizes and math sizes in the style.

Best wishes,

Melissa

Melissa Harrison
Far Field Associates, LLC
+1(360)863-1380

0 new messages