Is there a package (or algorithm) to generate a PDF with images and captions like in a catalogue or an image gallery? Several images of about the same size (resizing to max width or height, with aspect ratio intact) on each page and each page contains the same number of images. If the images could be retrieved from a directory would be good. Not sure how one could get the captions for each images, though. Also it would be good if the line breaks would not be hard coded so you could add an image in the middle of the document and it automatically regenerates the pages. If this is not possible directly with LaTeX I might have to write a script to generate the code.

  • Something like this? tex.stackexchange.com/a/339486/1952 – Ignasi Jan 25 '18 at 16:24
  • You might consider the 'incgraph' package which as a macro '\incmultigraph' for inclusion of multiple images that match a given file name pattern. – Ross Jan 25 '18 at 16:45
  • Thank you for the suggestions, I'll look into them! Can incgraph place more than one image per page!? Examples of what this can be used for is a collection catalogue of stamps with a description below each image or a school year book with portraits and beneath the persons name etc. – Phryxe Jan 25 '18 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.