[texhax] How print array of images/photos with captions?
Aditya Mahajan
adityam at umich.edu
Wed Sep 6 04:22:21 CEST 2006
On Tue, 5 Sep 2006, Niall Mansfield wrote:
> I want to print about 100 images with captions in
> a 2x3 (for example) grid on a page, so the pages look like:
>
> III III
> III III
> c c
>
> III III
> III III
> c c
>
> III III
> III III
> c c
>
> where the III things are the images and the "c" are the captions.
> (In effect a photo album.)
>
> Is there any LaTeX package to do this?
I do not know of a LaTeX package to do this, but ConTeXt[1] has
something that does this exactly.
\starttext
\startcombination[2*3]
{\externalfigure[fig1][width=5cm]}
{Caption 1}
{\externalfigure[fig2][width=5cm]}
{Caption 2}
{\externalfigure[fig3][width=5cm]}
{Caption 3}
{\externalfigure[fig4][width=5cm]}
{Caption 4}
{\externalfigure[fig5][width=5cm]}
{Caption 5}
{\externalfigure[fig6][width=5cm]}
{Caption 6}
\stopcombination
\stoptext
You can configure the distance between cells, and the alignment of
captions.
So what you can do is use context to generate these 100 pages of
figures, and if you need to include them in a latex document, use the
pdfpages package.
[1] See http://contextgarden.net/
Aditya
More information about the texhax
mailing list