4

Is there a way to pad a headerbox in baposter so that the margin of the text inside the box frame can be customized?

2
  • Maybe a MWE (and a drawing of what you want to achieve) helps?! Commented Oct 14, 2018 at 20:22
  • Guess: I would try to use the tikz options such as inner sep= or inner xsep= and so on, if this is possible. Commented Oct 14, 2018 at 21:09

1 Answer 1

7

You can adjust the spacing of the posterbox environment (which has replaced the \headerbox macro) using the boxpadding key, and adjust the header height also using the boxheaderheight key.

\documentclass[a0paper,landscape]{baposter}
\usepackage{graphicx}
\usepackage{mwe}
\usepackage{xcolor}
\begin{document}
\begin{poster}{
columns=3,
textborder=none,
headerColorOne={red!50},
bgColorOne={blue!20},
bgColorTwo={blue!40}
  }
  {
    Eye Catcher, empty if option eyecatcher=no
  }
  {
    Poster Title
} {
    Poster Authors
  }
  {%logo
    \includegraphics{example-grid-100x100pt}
}
\begin{posterbox}[%
    name=box1,
    column=0,
    span=1,
    row=0,
    boxpadding=1em
]
{Introduction}
\begin{itemize}
\item some text
\item some text
\item some text
\end{itemize}
\end{posterbox}
\begin{posterbox}[%
    name=box2,
    column=1,
    span=1,
    row=0,
    boxpadding=2em,
    boxheaderheight=4em
]
{Introduction}
\begin{itemize}
\item some text
\item some text
\item some text
\end{itemize}
\end{posterbox}
\end{poster}
\end{document}

output of code

3
  • +1: Did you find that in the manual? Commented Oct 15, 2018 at 19:53
  • 3
    @Dr.ManuelKuehner Channeling David Carlisle, why read the manual when you can just read the code. :)
    – Alan Munn
    Commented Oct 15, 2018 at 20:06
  • 4
    @AlanMunn you learn well:-) Commented Oct 15, 2018 at 20:08

You must log in to answer this question.

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