I have a question whether it's possible to align headerbox from above and below at the same time. When I make a poster I use, for example,


But if this headerbox (or 2 headerboxes with span=3) in between the UpperHeaderBox and LowerHeaderBox, can I use something like


just to adjust the headerbox height?

Right now I'm using \vspace{} for that purpose, but I don't like such manual adjustment. Thanks in advance!

  • Welcome to TeX.SX! Please add a minimal working code example to help us help you.
    – TeXnician
    Commented Aug 4, 2017 at 16:10
  • Welcome to TeX.SX. As TeXnician indicated, it involves much more work to answer your question when you don't provide a MWE. Please always post a full MWE beginning with \documentclass and ending with \end{document}. You might want to look at the poster library that has just been added to the wonderful tcolorbox package. It is modeled on baposter, but enables all the tcolorbox syntax and capabilities.
    – Ross
    Commented Aug 4, 2017 at 19:27

1 Answer 1


The short answer is "yes", this is possible. I replaced headerbox with posterbox as headerbox is deprecated. It is essential that that boxes above and below the middle box have been declared before placing a box between them. Box 1-3 demonstrate syntax where box 3 will stretch to fill the space between boxes 1 and 2. Box 2 is placed at the bottom of the page manually using row=0.85, where 0.85 is 85% of the column height. Boxes 4-6 only occupy the space defined by their contents, but are aligned with the boxes in the first column (column 0).

This is a MWE:



    \begin{tikzpicture}[remember picture,overlay]%
    %the poster background color
    \fill[fill=lightgray!25] (current page.north west) rectangle (current page.south east);
    %the header
    \fill [fill=lightgray!75] (current page.north west) rectangle ([yshift=-\headerheight] current page.north east);

        columns=3, % how many columns 1-6
        colspacing=5.0mm, % spacing between the columns
        background=user, %user or none or plain
        eyecatcher=true, %turn left logo on/off
        %posterbox environment options
        headerborder=closed, % see the baposter manual for the rest
        textfont=\scriptsize, % font definition for body of posterbox
        headerfont=\scshape, % font definition for header of posterbox
    {\includegraphics[height=5em]{example-image-a}\hspace{1cm}} % Eyecatcher on the left
    {\includegraphics[height=5em]{example-image-b}} % Logo
    \begin{posterbox}[name=box1, column=0,row=0,span=1]{Box 1}
    \begin{posterbox}[name=box2, column=0,row=0.85,span=1]{Box 2}
    \begin{posterbox}[name=box3, column=0,below=box1,above=box2,span=1]{Box 3}
    \begin{posterbox}[name=box4, column=1,row=0,span=1]{Box 4}
    \begin{posterbox}[name=box5, column=1,below=box3,span=1]{Box 5}
    \begin{posterbox}[name=box6, column=1,aligned=box3,span=1]{Box 6}


This is the output:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .