Is there an equivalent of \linegoal
that would work with tcolorbox
raster (I can use some luatex trickery if needed)?
In the following MnWE, \the\linegoal
does not give correct results.
\RequirePackage{luatex85} % To fix linegoal (https://tex.stackexchange.com/a/525363/8425)
\documentclass[convert={size=640}]{standalone}
\usepackage[most]{tcolorbox}
\usepackage{linegoal}
\begin{document}
% Example adapted from tcolorbox documentation
\begin{tcbitemize}[raster equal height=rows,raster columns=3,
title=\thetcbrasternum,colframe=red!50!black,colback=red!10!white]
\tcbitem[colframe=blue!50!black,colback=blue!10!white,raster multicolumn=1]
\the\linegoal
\tcbitem \the\linegoal
\tcbitem \the\linegoal
\tcbitem[colframe=blue!50!black,colback=blue!10!white,raster multicolumn=2]
\the\linegoal
\tcbitem \the\linegoal
\tcbitem[colframe=blue!50!black,colback=blue!10!white,raster multicolumn=3]
\the\linegoal
\tcbitem \the\linegoal
\tcbitem[colframe=blue!50!black,colback=blue!10!white,raster multicolumn=2]
\the\linegoal
\end{tcbitemize}
\end{document}
png
.