I created a poster with the baposter class. The basic structure is defined through posterbox objects. Within these, I did embed pictures, using tcolorbox as frame.
Actual Code:
\begin{tcolorbox}[colframe=gray,colback=white,boxrule=2pt,arc=0.6em,boxsep=-1mm]
\includegraphics[width=5.8cm]{figure.eps}
\end{tcolorbox}
Minimal working example:
\documentclass[a0paper,portrait]{article}
\usepackage{tcolorbox}
\begin{document}
\title{Test}
\begin{tcolorbox}[colframe=gray,colback=white,boxrule=2pt,arc=0.6em,boxsep=-1mm]
\end{tcolorbox}
\end{document}
I did realize that the embedded image protrudes the rounded corners. How can I apply something like an inner margin? I did play with the boxsep argument, which did not seem to help.
Sorry for not providing the complete file. I would have to strip quite a lot, since the poster contains a lot of unpublished data.
Edit: Sorry for not providing an image! MWE also included now. Also happens for empty tcolorboxes.
This portion added by Steven Segletes to better demonstrate the strange behavior. Changing the arc
units from em
to pt
changes the behavior completely.
\documentclass[a0paper,portrait]{article}
\usepackage{tcolorbox}
\begin{document}
\title{Test}
\begin{tcolorbox}[colframe=gray,colback=white,boxrule=2pt,arc=.3em,boxsep=-1mm]
\end{tcolorbox}
\begin{tcolorbox}[colframe=gray,colback=white,boxrule=2pt,arc=3.4pt,boxsep=-1mm]
\end{tcolorbox}
\end{document}
left=
,right=
etc. options, with some length arguments. Theboxsep
option acts in addition to them\documentclass{...}
and ending with\end{document}
.arc
inpt
instead ofem
, all seems well. Very strange.