I am using the baposter package to create a poster. One can have colored boxes, but I want to have my own background for each box (and not for the poster itself). Is it possible?

  • 1
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – LaRiFaRi Aug 18 '15 at 5:38
  • 1
    Exactly how are you making those boxes? Yesterday I had student who wanted something similar. Ended up changing baposter.cls such that \headposter can take a background option. It is a fairly simple addition. – daleif Aug 18 '15 at 11:15

It is not exactly clear what is being requested, so I will take a guess that you would like a background image under your box content. My approach is to take that content and place it in a \vbox with the macro


Then, I place the background image under it with an \ooalign, as in


I am not a baposter user and so don't know if the small border around the background image can be eliminated, or even how to place multiple boxes on a single poster.

Here is my MWE. I just grabbed some box content from this question: Fitting as a background to nodes in multiple pictures


  x &=
  \begin{tikzpicture}[remember picture]
   \node[circle,fill=red,minimum width=1cm] {}; 
  \begin{tikzpicture}[remember picture]
   \node[circle,fill=cyan,minimum width=1cm] (first node) {}; 
  y &=
  \begin{tikzpicture}[remember picture]
   \node[circle,fill=red,minimum width=1cm] {}; 
  \begin{tikzpicture}[remember picture]
   \node[circle,fill=cyan,minimum width=1cm] (second node) {}; 
  \begin{tikzpicture}[remember picture]
   \node[circle,fill=green,minimum width=1cm] (third node) {}; 
 \begin{tikzpicture}[remember picture,overlay]
  \node[draw=red,fill=yellow,fill opacity=0.8,fit=(first node) (second node) (third node),rectangle] {};

enter image description here

I can actually remove the 5pt border around the background image, by loading my verbatimbox package and invoking the \ooalign as


There are very likely better ways to accomplish that.

enter image description here

| improve this answer | |
  • Thanks! It worked. Actyally I needed just the following codes: – Mary Aug 19 '15 at 6:04
  • \documentclass[b3paper]{baposter} \usepackage{tikz,amsmath,graphicx} \usetikzlibrary{fit} \begin{document} \begin{poster}{bgColorOne=blue!20!white,background=plain}{}{}{}{} \begin{posterbox}[textborder=none,headerborder=none,span=3,boxColorOne=white]{title} \setbox0=\vbox{% \text{My Text} } \ooalign{\includegraphics[width=\textwidth,height=\ht0]{example-image-A}\cr\box0} \end{posterbox} \end{poster} \end{document} – Mary Aug 19 '15 at 6:17
  • @Mary I'm pleased that you can employ it for your purposes. – Steven B. Segletes Aug 19 '15 at 10:32

Here is a shorter version of what the user needed in my case. I'll post post it here for future reference

text justified] {\usebox{\baposter@content}};% <- important
text justified, fill=\baposter@box@background] 
}{\typeout{patched}}{\typeout{not patched}}

This enables the use of


where options can now include background=color

| improve this answer | |

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.