texlive[74632] Master/texmf-dist: lectures (15mar25)

commits+karl at tug.org commits+karl at tug.org
Sat Mar 15 20:40:19 CET 2025


Revision: 74632
          https://tug.org/svn/texlive?view=revision&revision=74632
Author:   karl
Date:     2025-03-15 20:40:19 +0100 (Sat, 15 Mar 2025)
Log Message:
-----------
lectures (15mar25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/lectures/README.md
    trunk/Master/texmf-dist/doc/latex/lectures/example.tex
    trunk/Master/texmf-dist/tex/latex/lectures/lectures.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/lectures/example.pdf

Modified: trunk/Master/texmf-dist/doc/latex/lectures/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lectures/README.md	2025-03-15 19:40:07 UTC (rev 74631)
+++ trunk/Master/texmf-dist/doc/latex/lectures/README.md	2025-03-15 19:40:19 UTC (rev 74632)
@@ -1,7 +1,7 @@
 # Lectures
 
 [![GitHub Actions](https://github.com/LucaCappelletti94/lectures/actions/workflows/latex.yml/badge.svg)](https://github.com/LucaCappelletti94/lectures/actions)
-[![Version](https://img.shields.io/badge/CTAN_Version-1.0.6-blue.svg)](https://ctan.org/pkg/lectures)
+[![Version](https://img.shields.io/badge/CTAN_Version-1.0.7-blue.svg)](https://ctan.org/pkg/lectures)
 [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/LucaCappelletti94/lectures/blob/master/LICENSE)
 [![Available in](https://img.shields.io/badge/Available_in-TEX_Live-green.svg)](https://ctan.org/pkg/texlive)
 [![Available in](https://img.shields.io/badge/Available_in-MiKTEX-green.svg)](https://ctan.org/pkg/miktex)

Added: trunk/Master/texmf-dist/doc/latex/lectures/example.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/lectures/example.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lectures/example.pdf	2025-03-15 19:40:07 UTC (rev 74631)
+++ trunk/Master/texmf-dist/doc/latex/lectures/example.pdf	2025-03-15 19:40:19 UTC (rev 74632)

Property changes on: trunk/Master/texmf-dist/doc/latex/lectures/example.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/lectures/example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/lectures/example.tex	2025-03-15 19:40:07 UTC (rev 74631)
+++ trunk/Master/texmf-dist/doc/latex/lectures/example.tex	2025-03-15 19:40:19 UTC (rev 74632)
@@ -47,4 +47,17 @@
   \item Prepare for the exam
 \end{todolist}
 
+\begin{figure}
+	\begin{subfigure}{0.49\textwidth}
+  \NewAdigraph{myAdigraph}{
+    s:0,0;
+    t:4,0;
+  }{
+    s,t;
+  }
+  \myAdigraph{}
+  \caption{A directed graph}
+  \end{subfigure}
+\end{figure}
+
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/lectures/lectures.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/lectures/lectures.cls	2025-03-15 19:40:07 UTC (rev 74631)
+++ trunk/Master/texmf-dist/tex/latex/lectures/lectures.cls	2025-03-15 19:40:19 UTC (rev 74632)
@@ -7,10 +7,10 @@
 %
 % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 %
-\def\LectureNotesVersion{v1.0.6}
+\def\LectureNotesVersion{v1.0.7}
 \newcommand{\defaultlanguage}{english}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{lectures}[2025/02/04 LaTeX document class for lectures notes.]
+\ProvidesClass{lectures}[2025/03/15 LaTeX document class for lectures notes.]
 \LoadClass{report}
 
 \DeclareOption{italian}{\renewcommand{\defaultlanguage}{italian}}
@@ -63,6 +63,7 @@
 \RequirePackage{subfiles} % To use subfiles without cruxifying saints
 \RequirePackage{parskip} % To leave spaces in paragraphs without using \\
 \RequirePackage{soul} % To cancel text with a line using the commant \st, to underline text and highlight.
+\RequirePackage{cancel} % To cancel text in a math environment
 \RequirePackage{fourier} % For icons such as \bomb, \noway, \danger and various others. For more info, go here: http://ctan.mirror.garr.it/mirrors/CTAN/fonts/fourier-GUT/doc/latex/fourier/fourier-orns.pdf
 \RequirePackage{marvosym} % For icons such as \Cross
 
@@ -117,9 +118,9 @@
 \g at addto@macro\@floatboxreset\centering
 \makeatother
 
-\makeatletter
-\apptocmd\subcaption at minipage{\centering}{}{}
-\makeatother
+% \makeatletter
+% \apptocmd\subcaption at minipage{\centering}{}{}
+% \makeatother
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % THE FOLLOWING SETS ALL FLOATING ITEMS TO H BY DEFAULT %



More information about the tex-live-commits mailing list.