I am trying to generate some cards for a game using a list of words provided in a text file. This is my current approach:
\documentclass[a4paper,10pt]{article}
\usepackage[a4paper,margin=0in]{geometry}
\usepackage{datatool}
\usepackage{multicol}
\usepackage{graphicx}
\DTLloaddb{words}{words.csv}
% Formatting adjustments
\setlength{\parindent}{0pt}
\setlength{\columnsep}{-1pt}
\pagestyle{empty}
\begin{document}
\begin{multicols}{3}
\DTLforeach*{words}{\word=word}{
\fbox{
\begin{minipage}[t][0.15\textheight][c]{0.93\linewidth}
\begin{center}
\vspace{5pt}
\includegraphics[width=2cm]{logo.png}
\vfill
\textbf{\LARGE \word}
\vfill
{\tiny Footer.}
\vspace{5pt}
\end{center}
\end{minipage}
}
\vspace{-1pt}
}
\end{multicols}
\end{document}
The output this generates is:
How can I get rid of this small space in between the first two cards? This only happens on the first page, the second page is correctly aligned.


tcbrasterenvironment to align boxes.tcbrasterworks fine, thanks for the hint @jlab.