
Box B unten rechts = 1 cm und 2 cm von BOXA.
Aber: Paket pgfkeys Fehler: Ich kenne den Schlüssel /tcb/posterloc/below right nicht
Wie kann ich es reparieren?
Danke
Mein minimaler Code:
\documentclass{article}
\usepackage{tcolorbox}
\tcbuselibrary{poster}
\usepackage{tikz}
\usepackage{lipsum}
\begin{document}
%%%A
\begin{tcbposter}[
poster = {
columns=1,
rows=2,
spacing=3mm,
height=14cm,
width=6cm,
},
]
\posterbox[
colframe = red,
width=5cm, height= 4cm
]{name=BOXA,column=1}{\includegraphics[width=3cm]{example-image-a}}
\vspace{2cm}
\posterbox[
colframe = blue,
width=5cm, height= 5cm
]{below right=1cm and 2cm of TCBPOSTER@BOXA}{\includegraphics[width=3cm]{example-image-b}}
\end{tcbposter}
\end{document}
Antwort1
below right=1cm and 2cm of ...
ist eine Knotenplatzierungsspezifikation für den TikZ- positioning
Bibliothek, ist aber nicht in der gültigenPlatzierungOptionen für . Ich nehme an, Sie möchten mit und \posterbox
Folgendes erreichen . Siehexshift=1cm
yshift=-2cm
Bibliotheksplakat→Boxplatzierungimtcolorbox-Handbuchfür die Liste und Beschreibungen aller gültigenPlatzierungOptionen für \posterbox
.
\documentclass{article}
\usepackage{tcolorbox}
\tcbuselibrary{poster}
\begin{document}
\begin{tcbposter}[poster = {columns=1, rows=2, spacing=3mm, height=14cm,
width=6cm}]
\posterbox[colframe = red, width=5cm, height= 4cm]
{name=BOXA,column=1}
{\includegraphics[width=3cm]{example-image-a}}
\posterbox[colframe = blue, width=5cm, height= 5cm]
{column=1, row=1, xshift=1cm, yshift=-2cm}
{\includegraphics[width=3cm]{example-image-b}}
\end{tcbposter}
\end{document}