texlive[72298] Master/texmf-dist: coloredtheorem (16sep24)
commits+karl at tug.org
commits+karl at tug.org
Mon Sep 16 22:13:15 CEST 2024
Revision: 72298
https://tug.org/svn/texlive?view=revision&revision=72298
Author: karl
Date: 2024-09-16 22:13:15 +0200 (Mon, 16 Sep 2024)
Log Message:
-----------
coloredtheorem (16sep24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex
trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
Modified: trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex 2024-09-16 20:13:07 UTC (rev 72297)
+++ trunk/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex 2024-09-16 20:13:15 UTC (rev 72298)
@@ -40,9 +40,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MAIN DOCUMENT
\begin{document}
- \title{The \tcthrm package {\footnotesize(v1.0.3)}}
+ \title{The \tcthrm package {\footnotesize(v1.0.4)}}
\author{João M. Lourenço\\\texttt{\small joao.lourenco at fct.unl.pt}}
- \date{August 28, 2024}
+ \date{September 15, 2024}
\maketitle
Modified: trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty 2024-09-16 20:13:07 UTC (rev 72297)
+++ trunk/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty 2024-09-16 20:13:15 UTC (rev 72298)
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020/06/01]
\ProvidesPackage{coloredtheorem}
- [2024/08/28 v1.0.3 - A colorful boxed theorem environment]
+ [2024/09/15 v1.0.4 - A colorful boxed theorem environment]
\RequirePackage{tcolorbox}
\tcbuselibrary{breakable}
@@ -30,7 +30,8 @@
\ifdefined\crefname\expandafter\crefname\expandafter{\tcbth#1}{#2}{#2s}\fi}%
\expandafter\gdef\csname\tcbth listof#1s\endcsname
{%
- \section*{\csname\tcbth list#1name\endcsname}%
+ \ifdefined\chapter\chapter*{\csname\tcbth list#1name\endcsname}%
+ \else\section*{\csname\tcbth list#1name\endcsname}\fi%
\expandafter\@starttoc\expandafter{lo#1}%
}
\expandafter\NewDocumentEnvironment\expandafter{\tcbth#1} {O{} m O{}}%
More information about the tex-live-commits
mailing list.