Skip to content

Raquezin/PhotoAlbum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX Photo Album Template

A LaTeX template for creating beautiful photo albums with various layout options on A3 landscape paper.

Features

  • A3 landscape paper format
  • Multiple layout options for arranging photos
  • Uses tcolorbox for clean, borderless image placement
  • Automatic page breaks between layouts
  • Support for PNG and JPG images (LaTeX does not support HEIF format)

Requirements

  • LaTeX distribution (TeX Live, MiKTeX, etc.)
  • pdflatex compiler
  • tcolorbox package
  • geometry package

Installation

  1. Clone or download this repository
  2. Place your images in the images/ directory
  3. Modify main.tex to include your desired layouts and image files

Usage

Layout Commands

The template provides several layout commands for arranging images:

  • \layoutOne{image} - Full page single image
  • \layoutTwo{image1}{image2} - Two images side by side
  • \layoutThree{image1}{image2}{image3} - Three images (2 on left, 1 on right)
  • \layoutFour{image1}{image2}{image3} - Three images (1 on left, 2 on right)
  • \layoutFive{image1}{image2}{image3}{image4} - Four images in a 2x2 grid

Example

\layoutTwo{photo1.jpg}{photo2.png}
\layoutThree{img1.png}{img2.jpg}{img3.png}
\layoutOne{cover.jpg}

Compilation

Run the included compile script:

./compile.sh

Or manually:

pdflatex main.tex

This will generate main.pdf and clean up auxiliary files.

Customization

  • Modify layouts.tex to adjust layout dimensions or add new layouts
  • Change paper size in main.tex by editing the \documentclass options
  • Adjust margins and geometry in the \usepackage{geometry} options

File Structure

.
├── main.tex          # Main document file
├── layouts.tex       # Layout command definitions
├── compile.sh        # Compilation script
├── images/           # Directory for image files
└── README.md         # This file

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

About

A latex template to create a photo album

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published