[OS X TeX] Captions in graphix
Ross Moore
ross at ics.mq.edu.au
Sun Mar 10 22:14:26 EST 2002
>
> \begin{figure}[h!]
> \centering
> \includegraphics{figure1}
> \caption{The near-edge region of a Cu-doped
> ($\mathrm{T_{Cu}:800^{\circ}\,C}$) ZnO film (thinner lines) as grown (g)
> and post-anneal (a). The near-edge spectra for $\mathrm{Cu_{2}O}$ and
> CuO samples (thick lines) are included for reference }
> \label{fig:Cu800Ts300}
> \end{figure}
>
>
> The caption for the graphic is in a *larger* font than the text body -
> and extends over the margin of the main body text (it looks very bad).
> Is there someway to "fix" this?
That shouldn't happen. The standard definition for captions
finishes as follows:
\normalsize
\@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
\endgroup}
with the data being passed as #3.
It is \normalsize which determines the font sizes here.
Are you sure that you don't have a different command (e.g. \small )
for the outside text ?
Then the \normalsize for the caption will indeed be larger.
If this is the case, you could redefine \normalsize ,
or just rebind it with \let\normalsize\small .
If you try this rebinding, look carefully at other parts of the
document --- e.g. headers, footers, titles, etc.
to be sure that you are getting the size that you really want.
(The "right" approach is to define your own document-class
in which all the sizes are determined explicitly.
This is definitely the best, when you are going to be creating
lots of similar documents.)
Hope this helps,
Ross Moore
>
>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------
More information about the MacOSX-TeX
mailing list