TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am preparing a poster with LaTeX using beamerposter, following the examples of the beamerposter site. In these examples, the title is themed with a background color. I would like to have the title framed in a box with a double border, each border with a different color. The following picture should explain it (zoom of the upper left corner of the poster):

example header

In order to achieve this, I tried with a beamercolorbox or an \fcolorbox, but I could not create a border like above.

      Hello test

How can I create a box with a configurable border? I say configurable because I would like to control its thickness and color.

Update I have managed to almost do this with tikz box, a minipage and another box. I think this might be a over-complicated solution. The question remains open since I am still having trouble with the border to the right, it disappears due to the width of the minipage.

\tikzstyle{titleouterbox} = [draw=ltsiBlue1, fill=white, line width=3pt,
    rectangle, inner sep=3pt, inner ysep=3pt]
\tikzstyle{titleinnerbox} = [draw=white, fill=ltsiBlue1, line width=3pt, 
    text=white, rectangle, inner sep=13pt, inner ysep=13pt]
\node [titleouterbox] (box){%
        \node [titleinnerbox] (box){%
            hello test
share|improve this question
up vote 6 down vote accepted

I have finally managed to do this with the double and double distance parameters of a tkiz style:

\definecolor{ltsiBlue1}{rgb}{0.0,0.4,1.0} % #0066ff
\tikzstyle{titlebox} = [draw=white, double=ltsiBlue1, double distance=2pt, 
                        fill=ltsiBlue1, line width=3pt, text=white, rectangle, 
                        inner sep=13pt, inner ysep=13pt]
\node [titlebox] (box){%
  Hello world

Here is the output, after some heavy butchering of one of the examples of beamerposter

test output

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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