How to avoid new line jump after each tcolorbox ?
\documentclass[10pt,a5paper,landscape]{article}
\usepackage{pgffor,luacode,array,tcolorbox,bm,geometry}
\geometry{margin=1.5cm}
\pagestyle{empty}
\begin{luacode}
function Table (n)
for i=1,10
do
tex.print(i.."&\\bm{"..n.."}&"..i*n.."\\\\")
end
end
\end{luacode}
\newcommand{\Table}[1]{%
\begin{tcolorbox}[width=.18\linewidth,colback={white},
title={\textbf{\vphantom{Éq}%
\Large\hfill\textsf{Table de #1}\hfill\strut}},%
colbacktitle=gray!75,coltitle=white,
left=1mm,top=1mm,right=1mm,bottom=1mm]
\large
\hfill$\begin{array}{r@{\;$\times$\;}c@{\;=\;}r}
\directlua{Table(#1)}
\end{array}$\hfill\strut
\end{tcolorbox} bob}
\begin{document}
\foreach \i in {1,...,5} {\Table{\i}}
\end{document}
nobeforeafter
--- worked for me. Maybe with thehbox
option too. – Rmano Oct 1 '18 at 8:33