\listoftheorems e sua alternativa com tcbtheorems não exibidos,

\listoftheorems e sua alternativa com tcbtheorems não exibidos,

tentei obter uma lista de definições (teoremas) no final do meu documento no anexo. Infelizmente, a lista está vazia. Eu tentei usara descrição aquimas não funciona (para mim). As "Definitionsverzeichnis", aqui marcadas com "Lista de Perguntas", devem ficar assim:insira a descrição da imagem aquiNão encontro o(s) erro(s) e estou procurando há 4 horas não, então é um pouco frustrante.

Antes de usar tcbtheorems, usei mdtheorems, onde não foi problema obter uma lista de teoremas. Porém, agora não vai funcionar...

Talvez alguém possa me ajudar porque os teoremas tcb parecem muito bons e eu só quero mantê-los.

Aqui está meu MWE:

\documentclass[ngerman,12pt, listof=totocnumbered, toc=bibliographynumbered,appendixprefix = on]{scrartcl} %scrartcl  article}

\usepackage[ngerman]{babel}

% preamble   
\usepackage{tcolorbox}   
\tcbuselibrary{theorems}   
\tcbuselibrary{skins}   
\usepackage{amsthm}   
\usepackage{thmtools}   
\usepackage{cleveref}
\usepackage{thmtools}
\usepackage[framemethod=tikz]{mdframed}



% definiton   
\tcbset{    
 defstyle/.style={fonttitle=\bfseries\upshape,fontupper=\slshape,arc=0mm,colback=blue!5!white,colframe=blue!75!black},    
 theostyle/.style={fonttitle=\bfseries\upshape, fontupper=\slshape,colback=red!10!white,colframe=red!75!black},    
}   
\newtcbtheorem[number within=subsection,crefname={definition}{definitions}, list inside={qst}]{Definition}{defstyle}{def}{qst}    
\newtcbtheorem[use counter from=Definition, crefname={theorem}{theorems}, list inside={qst}]{Theorem}{theostyle}{theo}{qst}       
\newtcbtheorem[use counter from=Definition,crefname={corollary}{corollaries}]{Corollary}{Corollary}{theostyle}{cor}

\newtcbtheorem[use counter from=Definition]{definition}{Definition}{theorem style=plain,enhanced,colframe=blue!50!black,colback=yellow!20!white,coltitle=red!50!black,fonttitle=\upshape\bfseries,fontupper=\itshape,drop fuzzy shadow=blue!50!black!50!white,boxrule=0.4pt}{theo}

% theorem 
\newtheorem{satz}{Satz}

\begin{document}   
\section{hello}   
\subsection{world}   



\section{new section}    
\subsection{new subsection for definitons}    


% example definition     
\begin{definition}{Hello}{labelHEY}%
\newline
a nice definition
\end{definition}

% example theorem
\begin{tcolorbox}[colback=gray!10!white,colframe=red!60!black,sharp corners=all ]
\begin{satz}
this is not a proof, just a theorem
\end{satz}
\end{tcolorbox}


% appendix, 


\tcblistof[\section]{qst}{Definitionsverzeichnis}

\end{document}

É assim que parece:insira a descrição da imagem aqui

MUITO OBRIGADO pela sua ajuda e pelo seu tempo.

Responder1

Não carregue muitos pacotes para a mesma coisa. Isso só torna o código muito confuso. Atenha-se a um e verifique a documentação para obter os argumentos corretos.

\documentclass[ngerman,12pt, listof=totocnumbered, toc=bibliographynumbered,appendixprefix = on]{scrartcl} %scrartcl  article}

\usepackage[ngerman]{babel}

% preamble
\usepackage{tcolorbox}
\tcbuselibrary{theorems}
\tcbuselibrary{skins}
\usepackage{cleveref}

% definiton
\tcbset{
 defstyle/.style=
  {fonttitle=\bfseries\upshape,fontupper=\slshape,arc=0mm,colback=blue!5!white,colframe=blue!75!black},
 theostyle/.style=
  {fonttitle=\bfseries\upshape, fontupper=\slshape,colback=red!10!white,colframe=red!75!black},
}
\newtcbtheorem[number within=subsection,
               crefname={definition}{definitions}, 
               list inside={qst}] %init
               {definition} %name
               {Definition} %display
               {defstyle}   %options
               {def}        %prefix
\newtcbtheorem[use counter from=definition, crefname={theorem}{theorems}, 
               list inside={qst}]
               {theorem}
               {Theorem}
               {theostyle}
               {theo}


\begin{document}
\section{hello}
\subsection{world}



\section{new section}
\subsection{new subsection for definitons}


% example definition
\begin{definition}{Hello Definition}{labelHEY}%
a nice definition
\end{definition}

\begin{theorem}{Hello Theorem}{labelHEY}%
a nice theorem
\end{theorem}


\tcblistof[\section]{qst}{Definitionsverzeichnis}

\end{document}

insira a descrição da imagem aqui

informação relacionada