How to get proper vertical white space on linebreak after a minipage?
I.e.: How to fix my \alphabet command below so that the green and red marked spaces (in the figure below) are equal? (Is that \baselineskip?)
MWE
\documentclass[12pt]{article}
\begin{document}
\newcommand\alphabet
{
\noindent
\begin{minipage}{5.5cm}
\noindent abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
\end{minipage}
}
\alphabet
\alphabet
\alphabet
\alphabet
\alphabet
\alphabet
some more text for illustation purposes
\end{document}
Adaptation of the answer of @StrongBad to an environment
I actually use those minipages in an environment. So here we go, using the environ package, as suggested in Werner's answer here.
\documentclass[12pt]{article}
\usepackage{environ}
\def\alphabet{abcdefghijklmnopqrstuvwxyz}
\NewEnviron{petitePage}%
{%
\noindent%
\begin{minipage}[t]{5.5cm}%
\noindent%
\BODY%
\sbox0{\BODY}%
\vspace{\dp0}%
\end{minipage}
}%
\newcommand\blabla
{%
\begin{petitePage}%
\noindent \alphabet \ \alphabet \ \alphabet \
\end{petitePage}
}
\begin{document}
\blabla%
\blabla%
\blabla%
\blabla%
\blabla%
\blabla%
\end{document}




