Is possible insert the table
environment into the tcolorbox
environment, made available by the package tcolorbox
?
% !TEX program = pdflatex
% arara: pdflatex: {synctex: yes}
\documentclass[a4paper,11pt]{report}
% Generali
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{microtype}
\usepackage[italian]{varioref}
\usepackage{relsize}
\usepackage{lipsum}
\usepackage{tabularx}
% Riquadri
\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\begin{document}
\begin{tcolorbox}[adjusted title= Box1: Title.]
%\begin{table}[tb]
\begin{tabular}{cc}
a & b \\
c & d
\end{tabular}
%\end{table}
\end{tcolorbox}
\end{document}
Is there a way to insert a table
with caption
and label
?
\captionof{table}{...}
from thecaption
package.