I am currently implementing a dynamic PDF-creator. Therefore I need to be the last two columns of the paracol env. always at the end (bottom) of the page. Is there any way which achieves this?

It should look like this (gray blocks with black border are sensitive information): enter image description here

But the gray blocks should be at the end of the page and should „grow“ from bottom to top.

Current status (static content):

  left = 16mm,
  right = 16mm,
  textwidth = 178mm,
  top = 20mm,
  % headheight=17pt, % as per the warning by fancyhdr
  % includehead,
  % heightrounded, % to avoid spurious underfull messages



% Custom Colors

% Custom Commands
  \begin{paracol}{2} % this is what I want
      \textbf{\ct{customred}{\fontsize{18}{22}\selectfont #1}}\\
      \ct{customgray}{\fontsize{9.5}{14}\selectfont #2}

  \textbf{\ct{customred}{\fontsize{12,5}{16}\selectfont #1}}\\
  \textbf{\ct{customgray}{\fontsize{9.5}{14}\selectfont #2}}\\
  \textbf{\ct{black}{\fontsize{9,5}{14}\selectfont #1}}\\
  {\fontsize{9,5}{14}\selectfont #2}

  \textbf{\ct{customred}{\fontsize{9,5}{14}\selectfont #1}}\\
  \begin{tcolorbox}[boxsep=0pt,top=3mm,left=3mm,right=3mm,bottom=3mm,arc=0pt,auto outer arc,colback=customlightgray,colframe=customlightgray]
    % \begin{minipage}[b]{80mm}
      \textbf{\fontsize{9,5}{14}\selectfont #2}
      % \vfill
    % \end{minipage}


\renewcommand{\footrule}{\hbox to\headwidth{\color{customgray}\leaders\hrule height \footrulewidth\hfill}}
\fancyhf{} % clear all fields
%  Custom Footer
  \textbf{\ct{customgray}{\fontsize{9}{14}\selectfont FUTURE - MADE BY EXAMPLE}}
  \ct{black}{\fontsize{9}{14}\selectfont Contact: c@test.com \hspace{30mm}www.test.com}

\setcolumnwidth{86mm,86mm} % this should only affect the 3 column
{Arial Regular 9,5/14 PT 878787\\
    Lorem Ipsim\\

    \productTitle{LOREM IPSUM ARIAL BOLD 12,5/16PT}{IPSUM Arial Bold 9,5/14PT 878787}
    \productDescription{DESCRIPTION ARIAL BOLD 9,5/14 PT 000000}
    {Arial Regular 9,5/14 \blindtext[1]}
            \item 1232

\begin{paracol}{2} %End of Site (gray blocks)
    \productBottom{OPTIONAL EQUIPMENT 9,5 PT E10000}
    {Arial Bold 9,5/14 PT  Loraerro volor sequisto omnihil iandundae corio estrum apictas et labore rem reped enda nonsequ idicitia aut utectate eaquos sum ilique etum, alit explibus.\\ Lum ut ame peritas et lame voluptibus.}
    {Loraerro volor sequisto omnihil iandundae corio estrum apictas et labore rem reped enda nonsequ idicitia aut utectate eaquos sum ilique etum, alit explibus.\\ Lum ut ame peritas et lame voluptibus. Represtores excestem. Accusa voluptae con coribus, qui dis nonem et quia dolut dit illuptat mo quam, que doloris citatam am, offictis veniet}


Do you have any ideas how to solve this with paracols?

EDIT Main question: How can fill the area between the text (after "Benefits") and the gray boxes dynamically. So that, the gray boxes are always at the bottom of the page. \vfill and all similiar solutions do not work.

  • I don't understand the problem. You want these four boxes at the bottom of last page. Their size is not defined because their contents could make them grow from bottom. There are some undefined text in previous pages and on last page above these boxes. What should happen if remaining text on last page is large enough to avoid fitting those boxes below it? I think we need a better description for this problem. – Ignasi Apr 4 '19 at 10:24
  • @Ignasi Please look at my static MWE. The scope is only the two gray boxes (without black border and below the red text - Updated the picture). To clarify: The content creator states sure that there is enough place. It is a one-pager. I updated the censored image to prevent misunderstanding. – Marius Herget Apr 4 '19 at 10:55

In the end I used the following solution instead of paracol:

  arc=0pt,auto outer arc,
  boxrule=0mm,box align=base,on line,
  #1, enhanced,attach boxed title to top left={xshift=-2mm},
  boxed title style={size=small,colframe=white!0,colback=white!0,},


  \begin{tcbraster}[raster columns=2,raster equal height,
                    nobeforeafter,raster column skip=6mm]
    \bottomBox[title={\fontsize{9,5}{14}\selectfont #1}]{
        \textbf{\fontsize{9,5}{14}\selectfont #2}
    \bottomBox[title={\fontsize{9,5}{14}\selectfont #3}]{
        \textbf{\fontsize{9,5}{14}\selectfont #4}

And used it in the document like this:

  {Test Title Left}
    {Test Text Left}
  {Test Title Right}
    {Test Text Right}
  • If you are using tcolorbox and tcbraster for lower boxes, I think you could consider to use a tcbposter for the whole page. This way you can place every paragraph/section where you want. You can also force bottom boxes to have same height with equal height group, you can force their position and growing from bottom to top with above=bottom posterbox option, ... Take a look at poster library in tcolorbox documentation or here – Ignasi Apr 4 '19 at 17:52

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.