The following MWE
\documentclass{book}
\usepackage[many]{tcolorbox}
%%%teorema%%%
\newtcolorbox{mybox}[1]{%
tikznode boxed title,
enhanced,
arc=0mm,
interior style={white},
attach boxed title to top center= {yshift=-\tcboxedtitleheight/2},
fonttitle=\bfseries,
colbacktitle=white,coltitle=black,
boxed title style={size=normal,colframe=white,boxrule=0pt},
title={#1}}
\newtheorem{theo}{}[chapter]
newenvironment{teo}
\begin{mybox}{Theorem }\begin{theo}}
{\end{theo}\end{mybox}}
%%%fin teorema %%%
\begin{document}
\begin{teo}
Let \(V\) be a vectorial space.
\end{teo}
\end{document}
produces the output
So the question is, How to get numeration and "Theorem" together in middle?
also, if theorem has a name like \begin{teo}{Fermat Last Theorem}
How to set this name in the actual position of the numeration, i.e inside the box?



\labeland\ref? if so, adding an example of that would be very helpful to the op and future readers. – barbara beeton Aug 12 '17 at 00:23\@currentlabelin the theorem body, so it fixed now. Thank you for pointing this out. – Sergei Golovan Aug 12 '17 at 04:37