From b06c6695162b493aeec3b594c6beb518c15c98ba Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Tue, 24 Jan 2023 03:02:57 +0000
Subject: CTAN sync 202301240302

---
 macros/generic/expkv-bundle/preamble-examples.tex | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 macros/generic/expkv-bundle/preamble-examples.tex

(limited to 'macros/generic/expkv-bundle/preamble-examples.tex')

diff --git a/macros/generic/expkv-bundle/preamble-examples.tex b/macros/generic/expkv-bundle/preamble-examples.tex
new file mode 100644
index 0000000000..5a146d9eb6
--- /dev/null
+++ b/macros/generic/expkv-bundle/preamble-examples.tex
@@ -0,0 +1,16 @@
+\makeatletter
+\newcounter{example}[section]
+\newcommand*\example[1]
+  {%
+    \par\smallskip
+    \refstepcounter{example}%
+    \addcontentsline{exs}{example}{#1}%
+    \noindent\textit{Example:} \ignorespaces
+  }
+\newcommand*\l@example{\@dottedtocline{0}{1.5em}{2.3em}}
+\newcommand\listofexamples
+  {%
+    \addsec{List of Examples}%
+    \@starttoc{exs}%
+  }
+\makeatother
-- 
cgit v1.2.3

