Motivated by the answers of @Ignasi, I made a new library poster
for tcolorbox
which is part of the package starting with version 4.10 (2017/07/06)
.
The main purpose of the new library is (of course) the support of tcolorbox
placement for posters in a similar manner as baposter
does.
I took the two examples of @Ignasi with his definition of a private posterbox
style and modified them for the new library. I hope you will find that the new library allows to write the code much shorter and better readable:
\documentclass[12pt]{article}
\usepackage[most,poster]{tcolorbox}
\usepackage{lipsum}
\tcbset{
posterbox/.style={%
enhanced jigsaw, size=fbox,
colback=#1!10, colframe=#1!10!black,
colbacktitle=#1!70!black
}
}
\begin{document}
\begin{tcbposter}[
coverage={spread,phantom=\thispagestyle{empty}},
poster={columns=3,rows=8,spacing=3mm,showframe=false},
fontsize=12pt,
]
\posterbox[title=Top left box,posterbox=blue]{name=A,column=1,below=top,span=2,rowspan=1}
{This is some other text}
\posterbox[title=Bottom right box,posterbox=blue]{name=B,column=2,above=bottom,span=2,rowspan=1}
{This is some other text}
\posterbox[title=Bottom left box,posterbox=green]{name=C,column=1,between=A and bottom}
{This is some other text}
\posterbox[title=Central box,posterbox=red]{name=D,column=2,between=A and B}
{This is some other text}
\posterbox[title=Top right box,posterbox=green]{name=E,column=3,between=top and B}
{This is some other text}
\end{tcbposter}
\end{document}
The second example uses a breakable box. Note that this box can be used directly with the new library:
\documentclass[12pt]{article}
\usepackage[most,poster]{tcolorbox}
\usepackage{lipsum}
\tcbset{
posterbox/.style={%
enhanced jigsaw, size=fbox,
colback=#1!10, colframe=#1!10!black,
colbacktitle=#1!70!black
}
}
\begin{document}
\begin{tcbposter}[
coverage={spread,phantom=\thispagestyle{empty}},
poster={columns=3,rows=8,spacing=3mm,showframe=false},
fontsize=12pt,
]
\posterbox[title=Top left box,posterbox=blue]{name=A,column=1,below=top,span=2,rowspan=1}
{This is some other text}
\posterbox[title=Bottom right box,posterbox=blue]{name=B,column=2,above=bottom,span=2,rowspan=1}
{This is some other text}
\posterbox[title=Some long text,posterbox=orange]{name=C,
sequence=1 between A and bottom then
2 between A and B then
3 between top and B }
{\lipsum[1-5]}
\end{tcbposter}
\end{document}
Best Answer
Maybe you should have a look at those packages:
leaflet
(manual)flowfram
(manual)