General ⇒ Problem with footnotesize
Problem with footnotesize
Any ideas?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with footnotesize
use braces {} to limit the scope of \footnotesize, for example:
Code: Select all
Text
{\footnotesize
\[ \begin{pmatrix}
1 & 0 \\
0 & 1
\end{pmatrix} \]
}
Text
Re: Problem with footnotesize
Re: Problem with footnotesize
B.A.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with footnotesize
just show us some lines of your LaTeX code, then we could provide specific help. At the moment you are describing rather vaguely. Without your code I cannot say why {\footnotesize ... } should not work. { } should limit the effect of \footnotesize. Alternatively one could write \begingroup \footnotesize text... \endgroup.
By the way have a look at the article "Avoid eqnarray!" to clarify why eqnarray should not be used, like balf already said. See amsmath user's guide how to use align. Of course we would help you to change your code that way.
Stefan
Re: Problem with footnotesize
{\footnotesize
\begin{align}
...
\end{align}
}
The result of this is the following:
- The above standing two lines get crammed together with less than normal line spacing
- The content of the align gets footnotesize
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with footnotesize
though the size effect is limited by the braces the \footnotesize affects the linespacing of the whole paragraph. So to repair the spacing just insert an empty line before {\footnotesize ... }.
To suppress additional vertical space you could even use \vskip:
Code: Select all
long Text
\vskip-\parskip
{\footnotesize
\begin{align} ... \end{align}}
Re: Problem with footnotesize
\[ \begin{medsize}\begin{aligned}
x + y = & = z\\
a + b & = c
\end{aligned}\end{medsize} \]
B.A.
Re: Problem with footnotesize

- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with footnotesize
balfs suggestion is working too. The medsize environment also reduces \arraycolsep slightly. Perhaps it would look even better then.
Further it has a medium matrix environment, you mentioned matrices in the first posting. For information see nccmath documentation.
Stefan