[OS X TeX] Caption next to figure?

Bernhard Barkow bb at creativeeyes.at
Tue Jan 11 21:07:52 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I usually do this like

\begin{figure}
	\parbox[b]{.48\linewidth}{
		\includegraphics[width=\linewidth]{file.eps}}\hfill
	\parbox[b]{.48\linewidth}{
		\caption{this caption appears to the right of the figure.}
		\label{fig1}
	}
\end{figure}

Just swap the content of the \parbox-es to have the caption at the left 
hand side.
Probably there are more sophisticated ways to do this, especially 
regarding the vertical alignment; I've been planning vor some time to 
implement a nicer solution overriding LaTeX's built-in mechanism, but 
the above method works fine...

HTH,
BB

On 11. Jän 2005, at 19:46, KL Tah wrote:

> Hi,
> Does anyone happen to know how to place the caption for a figure off to
> either side of the figure?
> Thanks,
> KL
> -- 
>
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>            & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFB5DIcqJ8JxFkhAg0RAvqjAJwJ/IhKoi/F3EGSYtqULYLGmTLpWQCg0j+I
AyUxi4jARyd8RxEdgK01Yjw=
=h/pL
-----END PGP SIGNATURE-----

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list