I have been struggling to get text in the tcolorbox border. See the MWE:
\documentclass[table]{standalone}
\usepackage{polyglossia, lipsum}
\usepackage[most]{tcolorbox}
\newtcolorbox{mybox}[2][]{%
enhanced,
before upper=\setlength{\parskip}{\bigskipamount},
boxrule=2mm,
bottomrule=9mm,
overlay={%
\node[white, font=\small, anchor=south] at (frame.south) {Footer \ With Two Lines};},
title=#2,#1}
\newcommand{\xxbody}{
\lipsum[1]
}
\newcommand{\xxheading}{
Header \ With Two Lines
}
\begin{document}
\begin{mybox}{\LARGE \xxheading{}}
\xxbody{}
\end{mybox}
\end{document}
I would like to have a multi-line footer like the multi-line heading. And if possible, set the height of bottom border automatically to accommodate the footer. Is there any way it can be done?
This is kind of sequel to this Earlier Question.

minipage. This\node[..., text width= ..., ] {line1\\ line2};should work. See manual-automatic-line-breaks-and-text-alignment-in-tikz-nodes – Ignasi Apr 12 '21 at 07:21watermark zoom=1, watermark color=black, watermark opacity=1, clip watermark, watermark text={\rotatebox{65}{Watermark}},in the tcolorbox definition, the watermark does not display. If we hide the node, watermark displays without any problem.
How do we get both the things to show?
– deshmukh Apr 15 '21 at 15:04