summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-08-31 20:18:56 +0000
committerKarl Berry <karl@freefriends.org>2024-08-31 20:18:56 +0000
commit4de552d25fb1d2e376c9fb4a170a5b2e1fe61516 (patch)
tree210350f417845de11e35eb81623845f8e9c0781a
parent577dc1296b9a0d07909abfc973d3e62a913fff52 (diff)
coloredtheorem (31aug24)
git-svn-id: svn://tug.org/texlive/trunk@72153 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdfbin214341 -> 74274 bytes
-rw-r--r--Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex4
-rw-r--r--Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty7
3 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf b/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
index abccef51676..dc76c691635 100644
--- a/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
+++ b/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex b/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex
index 875851d6002..8bb95699ba4 100644
--- a/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex
+++ b/Master/texmf-dist/doc/latex/coloredtheorem/coloredtheorem-doc.tex
@@ -40,9 +40,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% MAIN DOCUMENT
\begin{document}
- \title{The \tcthrm package {\footnotesize(v1.0.2)}}
+ \title{The \tcthrm package {\footnotesize(v1.0.3)}}
\author{João M. Lourenço\\\texttt{\small joao.lourenco@fct.unl.pt}}
- \date{March 31, 2024}
+ \date{August 28, 2024}
\maketitle
diff --git a/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty b/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
index 4e128bf80bb..c35850cc224 100644
--- a/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
+++ b/Master/texmf-dist/tex/latex/coloredtheorem/coloredtheorem.sty
@@ -14,7 +14,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2020/06/01]
\ProvidesPackage{coloredtheorem}
- [2024/04/03 v1.0.2 - A colorful boxed theorem environment]
+ [2024/08/28 v1.0.3 - A colorful boxed theorem environment]
\RequirePackage{tcolorbox}
\tcbuselibrary{breakable}
@@ -27,7 +27,7 @@
\expandafter\gdef\csname\tcbth list#1name\endcsname{List of #2s}%
\expandafter\gdef\csname#1autorefname\endcsname{#2}%
\AtEndPreamble{%
- \ifdefined\crefname\expandafter\crefname\csname\tcbth#1\endcsname{#2}{#2s}\fi}%
+ \ifdefined\crefname\expandafter\crefname\expandafter{\tcbth#1}{#2}{#2s}\fi}%
\expandafter\gdef\csname\tcbth listof#1s\endcsname
{%
\section*{\csname\tcbth list#1name\endcsname}%
@@ -53,6 +53,9 @@
~\csname the\tcbth#1\endcsname\fi}~~##2},
#3, ##3,
]%
+ \let\origpar=\par%
+ \def\par{\origpar\medskip}%
+ \ignorespaces%
}{% \end{tcb<SOMETHING>}
\end{tcolorbox}%
\end{center}%