如何将tcolorbox内部未使用的空间扩大到页面底部?
\documentclass[]{article}
\usepackage[most, many]{tcolorbox}
\usepackage{lipsum}
\usepackage[showframe]{geometry}
\NewTColorBox{solution}{+O{}}{%
breakable, enhanced,sharpish corners, colframe=blue!50,colback=white,coltitle=blue!50!black,
fonttitle=\itshape\bfseries, parbox = false,
boxrule=0.5mm,top=0mm,bottom=0mm,
code={\if@twoside\tcbset{check odd page, toggle enlargement, toggle left and right}\fi},
left=1mm,
right=\dimexpr(\marginparsep+\marginparwidth)\relax,
grow to right by=\dimexpr(\marginparsep+\marginparwidth)\relax,
title={},
label={},
attach title to upper=\quad,
after upper={\par\hfill%
{}},
lowerbox=ignored,
#1
}
\begin{document}
\begin{solution}
\lipsum[1-10]
\end{solution}
\end{document}
答案1
使用密钥height fixed for=last