有人知道如何设置 tcolorbox 文本框以使其出现在页面底部吗,类似于如何设置图形以使其出现在页面顶部或底部?我到处都找过了,但在网上找不到这个特定问题的答案。我正在寻找与图形如何自动与引用它们的页面底部对齐相同的功能:
\begin{figure}[!b]
... figure contents...
\end{figure}
以下是我设置 tcolorbox 项目的方式:
\tcbset{
noteStyle/.style={
breakable,
enhanced,
outer arc=0pt,
arc=0pt,
colframe=noteTitleBlue,
colback=noteBackgroundBlue!20,
attach boxed title to top left,
boxed title style={
colback=noteTitleBlue,
outer arc=0pt,
arc=0pt, top=0pt,
bottom=0pt
},
fonttitle=\sffamily
}
}
\newtcolorbox[auto counter,number within=section]{note}[2][]{
noteStyle,
label=#2,
fontupper=\footnotesize,
title=Note~\thetcbcounter,
overlay unbroken and first={
\path let \p1=(title.north east),
\p2=(frame.north east) in node[anchor=west,
font=\sffamily,
color=noteTitleBlue,
text width=\x2-\x1] at (title.east) {#1};
},
}