From 8322a8a248262d9acaadab2fa12d90012fcf1877 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 25 Sep 2021 03:01:31 +0000 Subject: CTAN sync 202109250301 --- .../beamer-contrib/themes/fibeamer/LICENSE.tex | 2 +- .../beamer-contrib/themes/fibeamer/Makefile | 49 +- .../beamer-contrib/themes/fibeamer/VERSION.tex | 2 +- .../themes/fibeamer/example/bs/DESCRIPTION | 2 + .../fibeamer/example/bs/resources/DESCRIPTION | 1 + .../example/bs/resources/jabberwocky-dark.png | Bin 0 -> 166994 bytes .../example/bs/resources/jabberwocky-light.png | Bin 0 -> 166994 bytes .../fibeamer/example/bs/standard-lualatex.pdf | Bin 0 -> 918116 bytes .../fibeamer/example/bs/standard-lualatex.tex | 395 +++++ .../fibeamer/example/bs/standard-pdflatex.pdf | Bin 0 -> 952731 bytes .../fibeamer/example/bs/standard-pdflatex.tex | 398 +++++ .../themes/fibeamer/example/mu/econ-lualatex.pdf | Bin 900730 -> 900732 bytes .../themes/fibeamer/example/mu/econ-pdflatex.pdf | Bin 922305 -> 934859 bytes .../themes/fibeamer/example/mu/fi-lualatex.pdf | Bin 898917 -> 898918 bytes .../themes/fibeamer/example/mu/fi-pdflatex.pdf | Bin 920564 -> 933083 bytes .../themes/fibeamer/example/mu/fsps-lualatex.pdf | Bin 898628 -> 898625 bytes .../themes/fibeamer/example/mu/fsps-pdflatex.pdf | Bin 920200 -> 932750 bytes .../themes/fibeamer/example/mu/fss-lualatex.pdf | Bin 898027 -> 898043 bytes .../themes/fibeamer/example/mu/fss-pdflatex.pdf | Bin 919634 -> 932158 bytes .../themes/fibeamer/example/mu/law-lualatex.pdf | Bin 896413 -> 896416 bytes .../themes/fibeamer/example/mu/law-pdflatex.pdf | Bin 917982 -> 930522 bytes .../themes/fibeamer/example/mu/med-lualatex.pdf | Bin 897025 -> 897033 bytes .../themes/fibeamer/example/mu/med-pdflatex.pdf | Bin 918624 -> 931170 bytes .../themes/fibeamer/example/mu/ped-lualatex.pdf | Bin 898329 -> 898341 bytes .../themes/fibeamer/example/mu/ped-pdflatex.pdf | Bin 919961 -> 932490 bytes .../themes/fibeamer/example/mu/phil-lualatex.pdf | Bin 896872 -> 896879 bytes .../themes/fibeamer/example/mu/phil-pdflatex.pdf | Bin 918473 -> 931007 bytes .../themes/fibeamer/example/mu/sci-lualatex.pdf | Bin 897249 -> 897250 bytes .../themes/fibeamer/example/mu/sci-pdflatex.pdf | Bin 918833 -> 931373 bytes .../beamer-contrib/themes/fibeamer/fibeamer.dtx | 6 +- .../beamer-contrib/themes/fibeamer/fibeamer.pdf | Bin 354911 -> 357661 bytes .../themes/fibeamer/guide/mu/econ.pdf | Bin 440526 -> 285352 bytes .../beamer-contrib/themes/fibeamer/guide/mu/fi.pdf | Bin 450557 -> 293275 bytes .../themes/fibeamer/guide/mu/fsps.pdf | Bin 439299 -> 286416 bytes .../themes/fibeamer/guide/mu/fss.pdf | Bin 440685 -> 287446 bytes .../themes/fibeamer/guide/mu/law.pdf | Bin 448566 -> 285167 bytes .../themes/fibeamer/guide/mu/med.pdf | Bin 439169 -> 283430 bytes .../themes/fibeamer/guide/mu/ped.pdf | Bin 442422 -> 287260 bytes .../themes/fibeamer/guide/mu/phil.pdf | Bin 440547 -> 284500 bytes .../themes/fibeamer/guide/mu/sci.pdf | Bin 481954 -> 294975 bytes .../themes/fibeamer/logo/bs/DESCRIPTION | 2 + .../themes/fibeamer/logo/bs/Makefile | 13 + .../logo/bs/fibeamer-bs-standard-english.pdf | Bin 0 -> 59086 bytes .../logo/bs/fibeamer-bs-standard-italian.pdf | Bin 0 -> 58190 bytes .../themes/fibeamer/test/DESCRIPTION | 3 - .../themes/fibeamer/test/EXAMPLE/DESCRIPTION | 2 - .../themes/fibeamer/test/mu/DESCRIPTION | 3 - .../themes/fibeamer/test/mu/Makefile | 26 - .../fibeamer/test/mu/expected-econ-lualatex.pdf | Bin 900730 -> 0 bytes .../fibeamer/test/mu/expected-econ-pdflatex.pdf | Bin 922305 -> 0 bytes .../fibeamer/test/mu/expected-fi-lualatex.pdf | Bin 898917 -> 0 bytes .../fibeamer/test/mu/expected-fi-pdflatex.pdf | Bin 920564 -> 0 bytes .../fibeamer/test/mu/expected-fsps-lualatex.pdf | Bin 898628 -> 0 bytes .../fibeamer/test/mu/expected-fsps-pdflatex.pdf | Bin 920200 -> 0 bytes .../fibeamer/test/mu/expected-fss-lualatex.pdf | Bin 898027 -> 0 bytes .../fibeamer/test/mu/expected-fss-pdflatex.pdf | Bin 919634 -> 0 bytes .../fibeamer/test/mu/expected-law-lualatex.pdf | Bin 896413 -> 0 bytes .../fibeamer/test/mu/expected-law-pdflatex.pdf | Bin 917982 -> 0 bytes .../fibeamer/test/mu/expected-med-lualatex.pdf | Bin 897025 -> 0 bytes .../fibeamer/test/mu/expected-med-pdflatex.pdf | Bin 918624 -> 0 bytes .../fibeamer/test/mu/expected-ped-lualatex.pdf | Bin 898329 -> 0 bytes .../fibeamer/test/mu/expected-ped-pdflatex.pdf | Bin 919961 -> 0 bytes .../fibeamer/test/mu/expected-phil-lualatex.pdf | Bin 896872 -> 0 bytes .../fibeamer/test/mu/expected-phil-pdflatex.pdf | Bin 918473 -> 0 bytes .../fibeamer/test/mu/expected-sci-lualatex.pdf | Bin 897249 -> 0 bytes .../fibeamer/test/mu/expected-sci-pdflatex.pdf | Bin 918833 -> 0 bytes .../themes/fibeamer/theme/bs/DESCRIPTION | 2 + .../themes/fibeamer/theme/bs/Makefile | 15 + .../themes/fibeamer/theme/bs/base.dtx | 355 ++++ .../themes/fibeamer/theme/bs/base.ins | 6 + .../themes/fibeamer/theme/bs/standard.dtx | 113 ++ .../themes/fibeamer/theme/bs/standard.ins | 3 + macros/latex/contrib/ccool/README.md | 7 +- macros/latex/contrib/ccool/ccool.bib | 50 + macros/latex/contrib/ccool/ccool.dtx | 1698 +++++++------------- macros/latex/contrib/ccool/ccool.ins | 64 + macros/latex/contrib/ccool/ccool.pdf | Bin 815782 -> 829119 bytes macros/latex/contrib/debate/DEPENDS.txt | 3 + macros/latex/contrib/debate/README.md | 29 + macros/latex/contrib/debate/debate.pdf | Bin 0 -> 235280 bytes macros/latex/contrib/debate/debate.sty | 52 + macros/latex/contrib/debate/debate.tex | 77 + 82 files changed, 2181 insertions(+), 1197 deletions(-) create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/DESCRIPTION create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/DESCRIPTION create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-dark.png create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-light.png create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.pdf create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.tex create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.pdf create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.tex create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/DESCRIPTION create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/Makefile create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-english.pdf create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-italian.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/DESCRIPTION delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/EXAMPLE/DESCRIPTION delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/DESCRIPTION delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/Makefile delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-pdflatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-lualatex.pdf delete mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-pdflatex.pdf create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/DESCRIPTION create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/Makefile create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.dtx create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.ins create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.dtx create mode 100644 macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.ins create mode 100644 macros/latex/contrib/ccool/ccool.bib create mode 100644 macros/latex/contrib/ccool/ccool.ins create mode 100644 macros/latex/contrib/debate/DEPENDS.txt create mode 100644 macros/latex/contrib/debate/README.md create mode 100644 macros/latex/contrib/debate/debate.pdf create mode 100644 macros/latex/contrib/debate/debate.sty create mode 100644 macros/latex/contrib/debate/debate.tex (limited to 'macros/latex') diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/LICENSE.tex b/macros/latex/contrib/beamer-contrib/themes/fibeamer/LICENSE.tex index 939c962fd5..b47399e489 100644 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/LICENSE.tex +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/LICENSE.tex @@ -1,7 +1,7 @@ \input docstrip.tex \preamble -Copyright 2016-2020 Vít Novotný +Copyright 2016-2021 Vít Novotný Faculty of Informatics, Masaryk University (Brno, Czech Republic) This work is based on the (Unofficial) University of Manchester diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/Makefile b/macros/latex/contrib/beamer-contrib/themes/fibeamer/Makefile index 4396a9d8d0..1911b8a005 100644 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/Makefile +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/Makefile @@ -1,22 +1,20 @@ -SUBMAKES_REQUIRED=logo/mu theme/mu -SUBMAKES_EXTRA=guide/mu example/mu -SUBMAKES_TEST=test/mu -SUBMAKES=$(SUBMAKES_REQUIRED) $(SUBMAKES_EXTRA) $(SUBMAKES_TEST) +SUBMAKES_REQUIRED=logo/mu theme/mu logo/bs theme/bs +SUBMAKES_EXTRA=guide/mu example/mu example/bs +SUBMAKES=$(SUBMAKES_REQUIRED) $(SUBMAKES_EXTRA) .PHONY: all base complete docs clean dist dist-implode implode \ - install install-base install-docs uninstall tests $(SUBMAKES) + install install-base install-docs uninstall $(SUBMAKES) BASETHEMEFILE=beamerthemefibeamer.sty -OTHERTHEMEFILES=theme/mu/*.sty +OTHERTHEMEFILES=theme/mu/*.sty theme/bs/*.sty THEMEFILES=$(BASETHEMEFILE) $(OTHERTHEMEFILES) LOGOSOURCES=logo/*/*.pdf LOGOS=logo/*/*.eps -DTXFILES=*.dtx theme/mu/*.dtx -INSFILES=*.ins theme/mu/*.ins -TESTS=test/mu/*.pdf +DTXFILES=*.dtx theme/mu/*.dtx theme/bs/*.dtx +INSFILES=*.ins theme/mu/*.ins theme/bs/*.ins MAKES=guide/mu/Makefile theme/mu/Makefile logo/mu/Makefile Makefile \ - test/mu/Makefile -USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx \ - example/mu/*.ins + theme/bs/Makefile logo/bs/Makefile +USEREXAMPLE_SOURCES=example/mu/Makefile example/mu/example.dtx example/mu/*.ins \ + example/bs/Makefile example/bs/example.dtx example/bs/standard.ins USEREXAMPLES=example/mu/econ-lualatex.pdf \ example/mu/econ-pdflatex.pdf example/mu/fi-lualatex.pdf \ example/mu/fi-pdflatex.pdf example/mu/fsps-lualatex.pdf \ @@ -26,22 +24,27 @@ USEREXAMPLES=example/mu/econ-lualatex.pdf \ example/mu/med-pdflatex.pdf example/mu/ped-lualatex.pdf \ example/mu/ped-pdflatex.pdf example/mu/phil-lualatex.pdf \ example/mu/phil-pdflatex.pdf example/mu/sci-lualatex.pdf \ - example/mu/sci-pdflatex.pdf + example/mu/sci-pdflatex.pdf \ + example/bs/standard-pdflatex.pdf example/bs/standard-lualatex.pdf DEVEXAMPLES=logo/DESCRIPTION logo/EXAMPLE/DESCRIPTION \ logo/mu/DESCRIPTION theme/EXAMPLE/DESCRIPTION \ theme/mu/DESCRIPTION theme/DESCRIPTION example/DESCRIPTION \ example/EXAMPLE/DESCRIPTION example/mu/DESCRIPTION \ example/mu/resources/DESCRIPTION guide/DESCRIPTION \ guide/EXAMPLE/DESCRIPTION guide/mu/DESCRIPTION \ - guide/mu/resources/DESCRIPTION test/DESCRIPTION \ - test/EXAMPLE/DESCRIPTION test/mu/DESCRIPTION + guide/mu/resources/DESCRIPTION \ + theme/bs/DESCRIPTION logo/bs/DESCRIPTION example/bs/DESCRIPTION \ + example/bs/resources/DESCRIPTION EXAMPLES=$(USEREXAMPLES) $(DEVEXAMPLES) MISCELLANEOUS=guide/mu/guide.bib \ guide/mu/guide.dtx guide/mu/*.ins guide/mu/resources/cog.pdf \ guide/mu/resources/vader.pdf guide/mu/resources/yoda.pdf \ $(USEREXAMPLES:.pdf=.tex) \ example/mu/resources/jabberwocky-dark.png \ - example/mu/resources/jabberwocky-light.png README.md + example/mu/resources/jabberwocky-light.png \ + example/bs/resources/jabberwocky-dark.png \ + example/bs/resources/jabberwocky-light.png \ + README.md RESOURCES=$(THEMEFILES) $(LOGOS) $(LOGOSOURCES) SOURCES=$(DTXFILES) $(INSFILES) LICENSE.tex AUXFILES=fibeamer.aux fibeamer.log fibeamer.toc fibeamer.ind \ @@ -85,9 +88,6 @@ docs: $(SUBMAKES): make -C $@ all -# This pseudo-target performs the tests. -tests: base $(SUBMAKES_TEST) - # This pseudo-target creates the distribution archive. dist: dist-implode complete make $(TDSARCHIVE) $(DISTARCHIVE) $(CTANARCHIVE) @@ -117,24 +117,23 @@ $(TDSARCHIVE): mv "$$DIR"/$@ $@ && rm -rf "$$DIR" # This target generates a distribution file. -$(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) $(TESTS) \ +$(DISTARCHIVE): $(SOURCES) $(RESOURCES) $(MAKES) \ $(USEREXAMPLE_SOURCES) $(DOCS) $(PDFSOURCES) $(MISCELLANEOUS) \ $(EXAMPLES) $(VERSION) DIR=`mktemp -d` && \ - cp --verbose $(TDSARCHIVE) "$$DIR" && \ +# cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp --parents --verbose $^ "$$DIR" && \ - (cd "$$DIR" && zip -r -v -nw $@ *) && \ + (cd "$$DIR" && zip --symlinks -r -v -nw $@ *) && \ mv "$$DIR"/$@ . && rm -rf "$$DIR" # This target generates a CTAN distribution file. -$(CTANARCHIVE): $(SOURCES) $(MAKES) $(TESTS) $(EXAMPLES) \ +$(CTANARCHIVE): $(SOURCES) $(MAKES) $(EXAMPLES) \ $(MISCELLANEOUS) $(DOCS) $(VERSION) $(LOGOSOURCES) DIR=`mktemp -d` && mkdir -p "$$DIR/fibeamer" && \ - cp --verbose $(TDSARCHIVE) "$$DIR" && \ cp --parents --verbose $^ "$$DIR/fibeamer" && \ printf '.PHONY: implode\nimplode:\n' > \ "$$DIR/fibeamer/example/mu/Makefile" && \ - (cd "$$DIR" && zip -r -v -nw $@ *) && \ + (cd "$$DIR" && zip --symlinks -r -v -nw $@ *) && \ mv "$$DIR"/$@ . && rm -rf "$$DIR" # This pseudo-target installs the logo and theme files - as well as diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/VERSION.tex b/macros/latex/contrib/beamer-contrib/themes/fibeamer/VERSION.tex index a488162c77..5e78f5422a 100644 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/VERSION.tex +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/VERSION.tex @@ -1 +1 @@ -2019/12/16 v1.1.8 fibeamer MU beamer theme +2021/09/07 v1.2.0 fibeamer MU beamer theme diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/DESCRIPTION new file mode 100644 index 0000000000..cd7970a8d2 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/DESCRIPTION @@ -0,0 +1,2 @@ +This directory contains example documents for the +Università degli Studi di Brescia (Brescia, Italy) diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/DESCRIPTION new file mode 100644 index 0000000000..a4fd771298 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/DESCRIPTION @@ -0,0 +1 @@ +This directory contains resources for the example documents. diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-dark.png b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-dark.png new file mode 100644 index 0000000000..f793ae6f50 Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-dark.png differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-light.png b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-light.png new file mode 100644 index 0000000000..e7933cea2c Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/resources/jabberwocky-light.png differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.pdf new file mode 100644 index 0000000000..a3e593ad82 Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.tex b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.tex new file mode 100644 index 0000000000..8b765d748a --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-lualatex.tex @@ -0,0 +1,395 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% I, the copyright holder of this work, release this work into the +%% public domain. This applies worldwide. In some countries this may +%% not be legally possible; if so: I grant anyone the right to use +%% this work for any purpose, without any conditions, unless such +%% conditions are required by law. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\documentclass{beamer} +\usetheme[university=bs,faculty=standard]{fibeamer} +\usepackage{polyglossia} %% By using `italian` as the +\setmainlanguage{english} %% main locale instead of `english`, you +%% can typeset the presentation in Italian. +\setotherlanguages{italian} %% The additional key allow +%% +%% \begin{otherlanguage}{italian} ... \end{otherlanguage} +%% +%% These macros specify information about the presentation +\title{Presentation Title} %% that will be typeset on the +\subtitle{Presentation Subtitle} %% title page. +\author{Author's Name} +%% These additional packages are used within the document: +\usepackage{ragged2e} % `\justifying` text +\usepackage{booktabs} % Tables +\usepackage{tabularx} +\usepackage{tikz} % Diagrams +\usetikzlibrary{calc, shapes, backgrounds} +\usepackage{amsmath, amssymb} +\usepackage{url} % `\url`s +\usepackage{listings} % Code listings +\frenchspacing +\begin{document} + \frame[c]{\maketitle} + + \AtBeginSection[]{% Print an outline at the beginning of sections + \begin{frame} + \frametitle{Outline for Section \thesection} + \tableofcontents[currentsection] + \end{frame}} + + \section{Light Frames} + \subsection{Blind Text} + \begin{frame}{Jabberwocky} + \framesubtitle{Lewis Carroll}% + \begin{tikzpicture}[overlay,remember picture] + \node[anchor=south east,xshift=-30pt,yshift=35pt] + at (current page.south east) { + \includegraphics[width=35mm]{resources/jabberwocky-light} + }; + \end{tikzpicture}% + 'Twas brillig, and the slithy toves\\ + Did gyre and gimble in the wabe;\\ + All mimsy were the borogoves,\\ + And the mome raths outgrabe.\\\bigskip + + “Beware the Jabberwock, my son!\\ + The jaws that bite, the claws that catch!\\ + Beware the Jubjub bird, and shun\\ + The frumious Bandersnatch!”\\ + \end{frame} + + \begin{frame}[label=lists]{Lists and locales} + \framesubtitle{Lorem ipsum dolor sit amet} + \begin{columns}[onlytextwidth] + \column{.5\textwidth} + \begin{itemize} + \item Nulla nec lacinia odio. Curabitur urna tellus. + \begin{itemize} + \item Fusce id sodales dolor. Sed id metus dui. + \begin{itemize} + \item Cupio virtus licet mi vel feugiat. + \end{itemize} + \end{itemize} + \end{itemize} + \column{.5\textwidth} + \begin{enumerate} + \item Donec porta, risus porttitor egestas scelerisque video. + \begin{enumerate} + \item Nunc non ante fringilla, manus potentis cario. + \begin{enumerate} + \item Pellentesque servus morbi tristique. + \end{enumerate} + \end{enumerate} + \end{enumerate} + \end{columns} + \bigskip + \justifying + + {\raggedright\uselanguage{italian}Fúgge tra sélve spaventóse e scure, + per lóchi inabitáti, érmi e selvaggi. + che di cerri sentia, d’olmi e di faggi, + fatto le avea con subite paure + trovar di qua di là strani viaggi...} + {\uselanguage{english}The quick, brown fox jumps over the lazy + dog.} + \end{frame} + + \subsection{Structuring Elements} + \begin{frame}[label=simmonshall]{Text blocks} + \framesubtitle{In plain, example, and \alert{alert} flavour} + \alert{This text} is highlighted. + + \begin{block}{A plain block} + This is a plain block containing some \alert{highlighted text}. + \end{block} + \begin{exampleblock}{An example block} + This is an example block containing some \alert{highlighted text}. + \end{exampleblock} + \begin{alertblock}{An alert block} + This is an alert block containing some \alert{highlighted text}. + \end{alertblock} + \end{frame} + + \begin{frame}[label=proof]{Definitions, theorems, and proofs} + \framesubtitle{All integers divide zero} + \begin{definition} + $\forall a,b\in\mathds{Z}: a\mid b\iff\exists c\in\mathds{Z}:a\cdot c=b$ + \end{definition} + \begin{theorem} + $\forall a\in\mathds{Z}: a\mid 0$ + \end{theorem} + \begin{proof}[Proof\nopunct] + $\forall a\in\mathds{Z}: a\cdot 0=0$ + \end{proof} + \end{frame} + + \subsection{Numerals and Mathematics} + \begin{frame}[label=math]{Numerals and Mathematics} + \framesubtitle{Formulae, equations, and expressions} + \begin{columns}[onlytextwidth] + \column{.20\textwidth} + 1234567890 + \column{.20\textwidth} + \oldstylenums{1234567890} + \column{.20\textwidth} + $\hat{x}$, $\check{x}$, $\tilde{a}$, + $\bar{a}$, $\dot{y}$, $\ddot{y}$ + \column{.40\textwidth} + $\int \!\! \int f(x,y,z)\,\mathsf{d}x\mathsf{d}y\mathsf{d}z$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.5\textwidth} + $$\frac{1}{\displaystyle 1+ + \frac{1}{\displaystyle 2+ + \frac{1}{\displaystyle 3+x}}} + + \frac{1}{1+\frac{1}{2+\frac{1}{3+x}}}$$ + \column{.5\textwidth} + $$F:\left| \begin{array}{ccc} + F''_{xx} & F''_{xy} & F'_x \\ + F''_{yx} & F''_{yy} & F'_y \\ + F'_x & F'_y & 0 + \end{array}\right| = 0$$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.3\textwidth} + $$\mathop{\int \!\!\! \int}_{\mathbf{x} \in \mathds{R}^2} + \! \langle \mathbf{x},\mathbf{y}\rangle\,\mathsf{d}\mathbf{x}$$ + \column{.33\textwidth} + $$\overline{\overline{a\alpha}^2+\underline{b\beta} + +\overline{\overline{d\delta}}}$$ + \column{.37\textwidth} + $\left] 0,1\right[ + \lceil x \rfloor - \langle x,y\rangle$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.4\textwidth} + \begin{eqnarray*} + e^x &\approx& 1+x+x^2/2! + \\ + && {}+x^3/3! + x^4/4! + \end{eqnarray*} + \column{.6\textwidth} + $${n+1\choose k} = {n\choose k} + {n \choose k-1}$$ + \end{columns} + \end{frame} + + \subsection{Figures and Code Listings} + \begin{frame}[label=figs1]{Figures} + \framesubtitle{Tables, graphs, and images} + \begin{table}[!b] + {\carlitoTLF % Use monospaced lining figures + \begin{tabularx}{\textwidth}{Xrrr} + \textbf{Faculty} & \textbf{With \TeX} & \textbf{Total} & + \textbf{\%} \\ + \toprule + Faculty of Informatics & 1\,716 & 2\,904 & + 59.09 \\% 1433 + Faculty of Science & 786 & 5\,275 & + 14.90 \\% 1431 + Faculty of $\genfrac{}{}{0pt}{}{\textsf{Economics and}}{% + \textsf{Administration}}$ & 64 & 4\,591 & + 1.39 \\% 1456 + Faculty of Arts & 69 & 10\,000 & + 0.69 \\% 1421 + Faculty of Medicine & 8 & 2\,014 & + 0.40 \\% 1411 + Faculty of Law & 15 & 4\,824 & + 0.31 \\% 1422 + Faculty of Education & 19 & 8\,219 & + 0.23 \\% 1441 + Faculty of Social Studies & 12 & 5\,599 & + 0.21 \\% 1423 + Faculty of Sports Studies & 3 & 2\,062 & + 0.15 \\% 1451 + \bottomrule + \end{tabularx}} + \caption{The distribution of theses written using \TeX\ during 2010--15 at MU} + \end{table} + \end{frame} + \begin{frame}[label=figs2]{Figures} + \framesubtitle{Tables, graphs, and images} + \begin{figure}[b] + \centering + % Flipping a coin + % Author: cis + \tikzset{ + head/.style = {fill = none, label = center:\textsf{H}}, + tail/.style = {fill = none, label = center:\textsf{T}}} + \scalebox{0.65}{\begin{tikzpicture}[ + scale = 1.5, transform shape, thick, + every node/.style = {draw, circle, minimum size = 10mm}, + grow = down, % alignment of characters + level 1/.style = {sibling distance=3cm}, + level 2/.style = {sibling distance=4cm}, + level 3/.style = {sibling distance=2cm}, + level distance = 1.25cm + ] + \node[shape = rectangle, + minimum width = 6cm, font = \sffamily] {Coin flipping} + child { node[shape = circle split, draw, line width = 1pt, + minimum size = 10mm, inner sep = 0mm, rotate = 30] (Start) + { \rotatebox{-30}{H} \nodepart{lower} \rotatebox{-30}{T}} + child { node [head] (A) {} + child { node [head] (B) {}} + child { node [tail] (C) {}} + } + child { node [tail] (D) {} + child { node [head] (E) {}} + child { node [tail] (F) {}} + } + }; + + % Filling the root (Start) + \begin{scope}[on background layer, rotate=30] + \fill[head] (Start.base) ([xshift = 0mm]Start.east) arc (0:180:5mm) + -- cycle; + \fill[tail] (Start.base) ([xshift = 0pt]Start.west) arc (180:360:5mm) + -- cycle; + \end{scope} + + % Labels + \begin{scope}[nodes = {draw = none}] + \path (Start) -- (A) node [near start, left] {$0.5$}; + \path (A) -- (B) node [near start, left] {$0.5$}; + \path (A) -- (C) node [near start, right] {$0.5$}; + \path (Start) -- (D) node [near start, right] {$0.5$}; + \path (D) -- (E) node [near start, left] {$0.5$}; + \path (D) -- (F) node [near start, right] {$0.5$}; + \begin{scope}[nodes = {below = 11pt}] + \node [name = X] at (B) {$0.25$}; + \node at (C) {$0.25$}; + \node [name = Y] at (E) {$0.25$}; + \node at (F) {$0.25$}; + \end{scope} + \end{scope} + \end{tikzpicture}} + \caption{Tree of probabilities -- Flipping a coin\footnote[frame]{% + A derivative of a diagram from \url{texample.net} by cis, CC BY 2.5 licensed}} + \end{figure} + \end{frame} + + \defverbatim[colored]\sleepSort{ + \begin{lstlisting}[language=C,tabsize=2] + #include + #include + #include + #include + + // This is a comment + int main(int argc, char **argv) + { + while (--c > 1 && !fork()); + sleep(c = atoi(v[c])); + printf("%d\n", c); + wait(0); + return 0; + } + \end{lstlisting}} + \begin{frame}{Code listings}{An example source code in C} + \sleepSort + \end{frame} + + \subsection{Citations and Bibliography} + \begin{frame}[label=citations]{Citations} + \framesubtitle{\TeX, \LaTeX, and Beamer} + + \justifying\TeX\ is a programming language for the typesetting + of documents. It was created by Donald Erwin Knuth in the late + 1970s and it is documented in \emph{The \TeX + book}~\cite{knuth84}. + + In the early 1980s, Leslie Lamport created the initial version + of \LaTeX, a high-level language on top of \TeX, which is + documented in \emph{\LaTeX : A Document Preparation + System}~\cite{lamport94}. There exists a healthy ecosystem of + packages that extend the base functionality of \LaTeX; + \emph{The \LaTeX\ Companion}~\cite{MG94} acts as a guide + through the ecosystem. + + In 2003, Till Tantau created the initial version of Beamer, a + \LaTeX\ package for the creation of presentations. Beamer is + documented in the \emph{User's Guide to the Beamer + Class}~\cite{tantau04}. + \end{frame} + + \begin{frame}[label=bibliography]{Bibliography} + \framesubtitle{\TeX, \LaTeX, and Beamer} + \begin{thebibliography}{9} + \bibitem{knuth84} + Donald~E.~Knuth. + \emph{The \TeX book}. + Addison-Wesley, 1984. + \bibitem{lamport94} + Leslie~Lamport. + \emph{\LaTeX : A Document Preparation System}. + Addison-Wesley, 1986. + \bibitem{MG94} + M.~Goossens, F.~Mittelbach, and A.~Samarin. + \emph{The \LaTeX\ Companion}. + Addison-Wesley, 1994. + \bibitem{tantau04} + Till~Tantau. + \emph{User's Guide to the Beamer Class Version 3.01}. + Available at \url{http://latex-beamer.sourceforge.net}. + \bibitem{MS05} + A.~Mertz and W.~Slough. + Edited by B.~Beeton and K.~Berry. + \emph{Beamer by example} In TUGboat, + Vol. 26, No. 1., pp. 68-73. + \end{thebibliography} + \end{frame} + + \section{Dark Frames} + \begin{darkframes} + \subsection{Blind Text} + \begin{frame}{Jabberwocky} + \framesubtitle{Lewis Carroll}% + \begin{tikzpicture}[overlay,remember picture] + \node[anchor=south east,xshift=-30pt,yshift=35pt] + at (current page.south east) { + \includegraphics[width=35mm]{resources/jabberwocky-dark} + }; + \end{tikzpicture}% + 'Twas brillig, and the slithy toves\\ + Did gyre and gimble in the wabe;\\ + All mimsy were the borogoves,\\ + And the mome raths outgrabe.\\\bigskip + + “Beware the Jabberwock, my son!\\ + The jaws that bite, the claws that catch!\\ + Beware the Jubjub bird, and shun\\ + The frumious Bandersnatch!”\\ + \end{frame} + \againframe{lists} + \subsection{Structuring Elements} + \againframe{simmonshall} + \againframe{proof} + \subsection{Numerals and Mathematics} + \againframe{math} + \subsection{Figures and Code Listings} + \againframe{figs1} + \againframe{figs2} + \defverbatim[colored]\sleepSort{ + \begin{lstlisting}[language=C,tabsize=2] +#include +#include +#include +#include + +// This is a comment +int main(int argc, char **argv) +{ + while (--c > 1 && !fork()); + sleep(c = atoi(v[c])); + printf("%d\n", c); + wait(0); + return 0; +} + \end{lstlisting}} + \begin{frame}{Code listings}{An example source code in C} + \sleepSort + \end{frame} + \subsection{Citations and Bibliography} + \againframe{citations} + \againframe{bibliography} + \end{darkframes} +\end{document} diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.pdf new file mode 100644 index 0000000000..1ca4a91b29 Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.tex b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.tex new file mode 100644 index 0000000000..0f8ad83b8f --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/bs/standard-pdflatex.tex @@ -0,0 +1,398 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% I, the copyright holder of this work, release this work into the +%% public domain. This applies worldwide. In some countries this may +%% not be legally possible; if so: I grant anyone the right to use +%% this work for any purpose, without any conditions, unless such +%% conditions are required by law. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\documentclass{beamer} +\usetheme[university=bs,faculty=standard]{fibeamer} +\usepackage[utf8]{inputenc} +\usepackage[ + main=english, %% By using `italian`as the main locale + %% instead of `english`, you can typeset the + %% presentation in Italian. + italian %% The additional key allow foreign texts to be +]{babel} %% typeset as follows: +%% +%% \begin{otherlanguage}{italian} ... \end{otherlanguage} +%% +%% These macros specify information about the presentation +\title{Presentation Title} %% that will be typeset on the +\subtitle{Presentation Subtitle} %% title page. +\author{Author's Name} +%% These additional packages are used within the document: +\usepackage{ragged2e} % `\justifying` text +\usepackage{booktabs} % Tables +\usepackage{tabularx} +\usepackage{tikz} % Diagrams +\usetikzlibrary{calc, shapes, backgrounds} +\usepackage{amsmath, amssymb} +\usepackage{url} % `\url`s +\usepackage{listings} % Code listings +\frenchspacing +\begin{document} + \frame[c]{\maketitle} + + \AtBeginSection[]{% Print an outline at the beginning of sections + \begin{frame} + \frametitle{Outline for Section \thesection} + \tableofcontents[currentsection] + \end{frame}} + + \section{Light Frames} + \subsection{Blind Text} + \begin{frame}{Jabberwocky} + \framesubtitle{Lewis Carroll}% + \begin{tikzpicture}[overlay,remember picture] + \node[anchor=south east,xshift=-30pt,yshift=35pt] + at (current page.south east) { + \includegraphics[width=35mm]{resources/jabberwocky-light} + }; + \end{tikzpicture}% + 'Twas brillig, and the slithy toves\\ + Did gyre and gimble in the wabe;\\ + All mimsy were the borogoves,\\ + And the mome raths outgrabe.\\\bigskip + + “Beware the Jabberwock, my son!\\ + The jaws that bite, the claws that catch!\\ + Beware the Jubjub bird, and shun\\ + The frumious Bandersnatch!”\\ + \end{frame} + + \begin{frame}[label=lists]{Lists and locales} + \framesubtitle{Lorem ipsum dolor sit amet} + \begin{columns}[onlytextwidth] + \column{.5\textwidth} + \begin{itemize} + \item Nulla nec lacinia odio. Curabitur urna tellus. + \begin{itemize} + \item Fusce id sodales dolor. Sed id metus dui. + \begin{itemize} + \item Cupio virtus licet mi vel feugiat. + \end{itemize} + \end{itemize} + \end{itemize} + \column{.5\textwidth} + \begin{enumerate} + \item Donec porta, risus porttitor egestas scelerisque video. + \begin{enumerate} + \item Nunc non ante fringilla, manus potentis cario. + \begin{enumerate} + \item Pellentesque servus morbi tristique. + \end{enumerate} + \end{enumerate} + \end{enumerate} + \end{columns} + \bigskip + \justifying + + {\raggedright\uselanguage{italian}Fúgge tra sélve spaventóse e scure, + per lóchi inabitáti, érmi e selvaggi. + che di cerri sentia, d’olmi e di faggi, + fatto le avea con subite paure + trovar di qua di là strani viaggi...} + {\uselanguage{english}The quick, brown fox jumps over the lazy + dog.} + \end{frame} + + \subsection{Structuring Elements} + \begin{frame}[label=simmonshall]{Text blocks} + \framesubtitle{In plain, example, and \alert{alert} flavour} + \alert{This text} is highlighted. + + \begin{block}{A plain block} + This is a plain block containing some \alert{highlighted text}. + \end{block} + \begin{exampleblock}{An example block} + This is an example block containing some \alert{highlighted text}. + \end{exampleblock} + \begin{alertblock}{An alert block} + This is an alert block containing some \alert{highlighted text}. + \end{alertblock} + \end{frame} + + \begin{frame}[label=proof]{Definitions, theorems, and proofs} + \framesubtitle{All integers divide zero} + \begin{definition} + $\forall a,b\in\mathds{Z}: a\mid b\iff\exists c\in\mathds{Z}:a\cdot c=b$ + \end{definition} + \begin{theorem} + $\forall a\in\mathds{Z}: a\mid 0$ + \end{theorem} + \begin{proof}[Proof\nopunct] + $\forall a\in\mathds{Z}: a\cdot 0=0$ + \end{proof} + \end{frame} + + \subsection{Numerals and Mathematics} + \begin{frame}[label=math]{Numerals and Mathematics} + \framesubtitle{Formulae, equations, and expressions} + \begin{columns}[onlytextwidth] + \column{.20\textwidth} + 1234567890 + \column{.20\textwidth} + \oldstylenums{1234567890} + \column{.20\textwidth} + $\hat{x}$, $\check{x}$, $\tilde{a}$, + $\bar{a}$, $\dot{y}$, $\ddot{y}$ + \column{.40\textwidth} + $\int \!\! \int f(x,y,z)\,\mathsf{d}x\mathsf{d}y\mathsf{d}z$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.5\textwidth} + $$\frac{1}{\displaystyle 1+ + \frac{1}{\displaystyle 2+ + \frac{1}{\displaystyle 3+x}}} + + \frac{1}{1+\frac{1}{2+\frac{1}{3+x}}}$$ + \column{.5\textwidth} + $$F:\left| \begin{array}{ccc} + F''_{xx} & F''_{xy} & F'_x \\ + F''_{yx} & F''_{yy} & F'_y \\ + F'_x & F'_y & 0 + \end{array}\right| = 0$$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.3\textwidth} + $$\mathop{\int \!\!\! \int}_{\mathbf{x} \in \mathds{R}^2} + \! \langle \mathbf{x},\mathbf{y}\rangle\,\mathsf{d}\mathbf{x}$$ + \column{.33\textwidth} + $$\overline{\overline{a\alpha}^2+\underline{b\beta} + +\overline{\overline{d\delta}}}$$ + \column{.37\textwidth} + $\left] 0,1\right[ + \lceil x \rfloor - \langle x,y\rangle$ + \end{columns} + \begin{columns}[onlytextwidth] + \column{.4\textwidth} + \begin{eqnarray*} + e^x &\approx& 1+x+x^2/2! + \\ + && {}+x^3/3! + x^4/4! + \end{eqnarray*} + \column{.6\textwidth} + $${n+1\choose k} = {n\choose k} + {n \choose k-1}$$ + \end{columns} + \end{frame} + + \subsection{Figures and Code Listings} + \begin{frame}[label=figs1]{Figures} + \framesubtitle{Tables, graphs, and images} + \begin{table}[!b] + {\carlitoTLF % Use monospaced lining figures + \begin{tabularx}{\textwidth}{Xrrr} + \textbf{Faculty} & \textbf{With \TeX} & \textbf{Total} & + \textbf{\%} \\ + \toprule + Faculty of Informatics & 1\,716 & 2\,904 & + 59.09 \\% 1433 + Faculty of Science & 786 & 5\,275 & + 14.90 \\% 1431 + Faculty of $\genfrac{}{}{0pt}{}{\textsf{Economics and}}{% + \textsf{Administration}}$ & 64 & 4\,591 & + 1.39 \\% 1456 + Faculty of Arts & 69 & 10\,000 & + 0.69 \\% 1421 + Faculty of Medicine & 8 & 2\,014 & + 0.40 \\% 1411 + Faculty of Law & 15 & 4\,824 & + 0.31 \\% 1422 + Faculty of Education & 19 & 8\,219 & + 0.23 \\% 1441 + Faculty of Social Studies & 12 & 5\,599 & + 0.21 \\% 1423 + Faculty of Sports Studies & 3 & 2\,062 & + 0.15 \\% 1451 + \bottomrule + \end{tabularx}} + \caption{The distribution of theses written using \TeX\ during 2010--15 at MU} + \end{table} + \end{frame} + \begin{frame}[label=figs2]{Figures} + \framesubtitle{Tables, graphs, and images} + \begin{figure}[b] + \centering + % Flipping a coin + % Author: cis + \tikzset{ + head/.style = {fill = none, label = center:\textsf{H}}, + tail/.style = {fill = none, label = center:\textsf{T}}} + \scalebox{0.65}{\begin{tikzpicture}[ + scale = 1.5, transform shape, thick, + every node/.style = {draw, circle, minimum size = 10mm}, + grow = down, % alignment of characters + level 1/.style = {sibling distance=3cm}, + level 2/.style = {sibling distance=4cm}, + level 3/.style = {sibling distance=2cm}, + level distance = 1.25cm + ] + \node[shape = rectangle, + minimum width = 6cm, font = \sffamily] {Coin flipping} + child { node[shape = circle split, draw, line width = 1pt, + minimum size = 10mm, inner sep = 0mm, rotate = 30] (Start) + { \rotatebox{-30}{H} \nodepart{lower} \rotatebox{-30}{T}} + child { node [head] (A) {} + child { node [head] (B) {}} + child { node [tail] (C) {}} + } + child { node [tail] (D) {} + child { node [head] (E) {}} + child { node [tail] (F) {}} + } + }; + + % Filling the root (Start) + \begin{scope}[on background layer, rotate=30] + \fill[head] (Start.base) ([xshift = 0mm]Start.east) arc (0:180:5mm) + -- cycle; + \fill[tail] (Start.base) ([xshift = 0pt]Start.west) arc (180:360:5mm) + -- cycle; + \end{scope} + + % Labels + \begin{scope}[nodes = {draw = none}] + \path (Start) -- (A) node [near start, left] {$0.5$}; + \path (A) -- (B) node [near start, left] {$0.5$}; + \path (A) -- (C) node [near start, right] {$0.5$}; + \path (Start) -- (D) node [near start, right] {$0.5$}; + \path (D) -- (E) node [near start, left] {$0.5$}; + \path (D) -- (F) node [near start, right] {$0.5$}; + \begin{scope}[nodes = {below = 11pt}] + \node [name = X] at (B) {$0.25$}; + \node at (C) {$0.25$}; + \node [name = Y] at (E) {$0.25$}; + \node at (F) {$0.25$}; + \end{scope} + \end{scope} + \end{tikzpicture}} + \caption{Tree of probabilities -- Flipping a coin\footnote[frame]{% + A derivative of a diagram from \url{texample.net} by cis, CC BY 2.5 licensed}} + \end{figure} + \end{frame} + + \defverbatim[colored]\sleepSort{ + \begin{lstlisting}[language=C,tabsize=2] + #include + #include + #include + #include + + // This is a comment + int main(int argc, char **argv) + { + while (--c > 1 && !fork()); + sleep(c = atoi(v[c])); + printf("%d\n", c); + wait(0); + return 0; + } + \end{lstlisting}} + \begin{frame}{Code listings}{An example source code in C} + \sleepSort + \end{frame} + + \subsection{Citations and Bibliography} + \begin{frame}[label=citations]{Citations} + \framesubtitle{\TeX, \LaTeX, and Beamer} + + \justifying\TeX\ is a programming language for the typesetting + of documents. It was created by Donald Erwin Knuth in the late + 1970s and it is documented in \emph{The \TeX + book}~\cite{knuth84}. + + In the early 1980s, Leslie Lamport created the initial version + of \LaTeX, a high-level language on top of \TeX, which is + documented in \emph{\LaTeX : A Document Preparation + System}~\cite{lamport94}. There exists a healthy ecosystem of + packages that extend the base functionality of \LaTeX; + \emph{The \LaTeX\ Companion}~\cite{MG94} acts as a guide + through the ecosystem. + + In 2003, Till Tantau created the initial version of Beamer, a + \LaTeX\ package for the creation of presentations. Beamer is + documented in the \emph{User's Guide to the Beamer + Class}~\cite{tantau04}. + \end{frame} + + \begin{frame}[label=bibliography]{Bibliography} + \framesubtitle{\TeX, \LaTeX, and Beamer} + \begin{thebibliography}{9} + \bibitem{knuth84} + Donald~E.~Knuth. + \emph{The \TeX book}. + Addison-Wesley, 1984. + \bibitem{lamport94} + Leslie~Lamport. + \emph{\LaTeX : A Document Preparation System}. + Addison-Wesley, 1986. + \bibitem{MG94} + M.~Goossens, F.~Mittelbach, and A.~Samarin. + \emph{The \LaTeX\ Companion}. + Addison-Wesley, 1994. + \bibitem{tantau04} + Till~Tantau. + \emph{User's Guide to the Beamer Class Version 3.01}. + Available at \url{http://latex-beamer.sourceforge.net}. + \bibitem{MS05} + A.~Mertz and W.~Slough. + Edited by B.~Beeton and K.~Berry. + \emph{Beamer by example} In TUGboat, + Vol. 26, No. 1., pp. 68-73. + \end{thebibliography} + \end{frame} + + \section{Dark Frames} + \begin{darkframes} + \subsection{Blind Text} + \begin{frame}{Jabberwocky} + \framesubtitle{Lewis Carroll}% + \begin{tikzpicture}[overlay,remember picture] + \node[anchor=south east,xshift=-30pt,yshift=35pt] + at (current page.south east) { + \includegraphics[width=35mm]{resources/jabberwocky-dark} + }; + \end{tikzpicture}% + 'Twas brillig, and the slithy toves\\ + Did gyre and gimble in the wabe;\\ + All mimsy were the borogoves,\\ + And the mome raths outgrabe.\\\bigskip + + “Beware the Jabberwock, my son!\\ + The jaws that bite, the claws that catch!\\ + Beware the Jubjub bird, and shun\\ + The frumious Bandersnatch!”\\ + \end{frame} + \againframe{lists} + \subsection{Structuring Elements} + \againframe{simmonshall} + \againframe{proof} + \subsection{Numerals and Mathematics} + \againframe{math} + \subsection{Figures and Code Listings} + \againframe{figs1} + \againframe{figs2} + \defverbatim[colored]\sleepSort{ + \begin{lstlisting}[language=C,tabsize=2] +#include +#include +#include +#include + +// This is a comment +int main(int argc, char **argv) +{ + while (--c > 1 && !fork()); + sleep(c = atoi(v[c])); + printf("%d\n", c); + wait(0); + return 0; +} + \end{lstlisting}} + \begin{frame}{Code listings}{An example source code in C} + \sleepSort + \end{frame} + \subsection{Citations and Bibliography} + \againframe{citations} + \againframe{bibliography} + \end{darkframes} +\end{document} diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-lualatex.pdf index 99caf4f323..a83549d6e7 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-pdflatex.pdf index 5118988622..d000a2f2e0 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/econ-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-lualatex.pdf index 9c0d968a0a..ee30acd4bf 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-pdflatex.pdf index 14f0faa4ee..22a2ddbf9c 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fi-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-lualatex.pdf index d862e4e438..396950f8e0 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-pdflatex.pdf index a7b6b044ac..a16d0041cc 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fsps-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-lualatex.pdf index 9a8a6de238..1941631a42 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-pdflatex.pdf index 2ce4f56075..1589fc4c42 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/fss-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-lualatex.pdf index e65d59162f..26b8b06bff 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-pdflatex.pdf index 62d7c4b3cb..5cca8c8fc5 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/law-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-lualatex.pdf index 52d4a27d2d..5a59ea33d2 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-pdflatex.pdf index d481be2468..3f98837a0f 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/med-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-lualatex.pdf index bee8b171e5..df834fbc1c 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-pdflatex.pdf index 8a4546f274..be6eafc8e5 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/ped-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-lualatex.pdf index cac53d577d..cfd1fadee1 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-pdflatex.pdf index f453ab1d77..db4045a008 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/phil-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-lualatex.pdf index 3095339004..82bf8a0e27 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-lualatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-lualatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-pdflatex.pdf index 7d69eb9919..b77d449e5a 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-pdflatex.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/example/mu/sci-pdflatex.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.dtx b/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.dtx index 5c682e4f5d..373bb74e2a 100644 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.dtx +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.dtx @@ -54,7 +54,7 @@ \gdef\fibeamer@version@number{#1} \gdef\fibeamer@version@date{#2} \gdef\fibeamer@version{#2 #1 fibeamer MU beamer theme}} -\fibeamer@versiondef{v1.1.8}{2019/12/16}} +\fibeamer@versiondef{v1.2.0}{2021/09/07}} % {\newwrite\f\openout\f=VERSION\write\f{\fibeamer@version}\closeout\f} % % \changes{v1.1.5:1} {2016/05/18}{Added \texttt{pdfencoding} to the @@ -67,7 +67,9 @@ % \fi % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% +% +% \changes{v1.2.0} {2021/09/07}{Added support for the University +% of Brescia} % \changes{v1.1.8} {2019/12/15}{Fixed active character \texttt{-} % in pdf\LaTeX{} example documents.} % \changes{v1.1.3} {2016/02/24}{Added visual tests of output diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.pdf index 5b5be04e08..2500012d60 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/fibeamer.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/econ.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/econ.pdf index 52013554dd..5a27363329 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/econ.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/econ.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fi.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fi.pdf index 59c2599100..67cb6d16f3 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fi.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fi.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fsps.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fsps.pdf index b01f9c9283..c4672905cb 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fsps.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fsps.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fss.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fss.pdf index cd669bdb59..92056dab2c 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fss.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/fss.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/law.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/law.pdf index 4b433ec5c6..86a63fc7d3 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/law.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/law.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/med.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/med.pdf index 322d3ce800..13fa02a0d0 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/med.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/med.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/ped.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/ped.pdf index 9ced7c4c1e..722bf23657 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/ped.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/ped.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/phil.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/phil.pdf index 1be53a95b0..8e86f04b13 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/phil.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/phil.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/sci.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/sci.pdf index 55d65e5bf9..b9c6a14659 100644 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/sci.pdf and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/guide/mu/sci.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/DESCRIPTION new file mode 100644 index 0000000000..a4140cae2b --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/DESCRIPTION @@ -0,0 +1,2 @@ +This directory contains the logo files of the +Università degli Studi di Brescia (Brescia, Italy) diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/Makefile b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/Makefile new file mode 100644 index 0000000000..c9a5541a63 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/Makefile @@ -0,0 +1,13 @@ +EPSFILES=fibeamer-bs-standard-english.eps fibeamer-bs-standard-italian.eps +.PHONY: all implode + +# This target converts all the PDF logos to EPS. +all: $(EPSFILES) + +# This target converts a single PDF logo to EPS. +%.eps: %.pdf + inkscape $< --export-eps=$@ + +# This target removes all EPS logos. +implode: + rm -f $(EPSFILES) diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-english.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-english.pdf new file mode 100644 index 0000000000..dfd245656f Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-english.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-italian.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-italian.pdf new file mode 100644 index 0000000000..bd1c3c8f7e Binary files /dev/null and b/macros/latex/contrib/beamer-contrib/themes/fibeamer/logo/bs/fibeamer-bs-standard-italian.pdf differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/DESCRIPTION deleted file mode 100644 index 4cb935c797..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/DESCRIPTION +++ /dev/null @@ -1,3 +0,0 @@ -This directory contains the tests for the base fithesis3 class. It -can also contain subdirectories with tests for the themes of -various universities. diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/EXAMPLE/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/EXAMPLE/DESCRIPTION deleted file mode 100644 index 5b795c1c89..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/EXAMPLE/DESCRIPTION +++ /dev/null @@ -1,2 +0,0 @@ -This is an empty directory. You can rename it to match the name of -your university and place the respective test files in here. diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/DESCRIPTION deleted file mode 100644 index 46e67f7601..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/DESCRIPTION +++ /dev/null @@ -1,3 +0,0 @@ -This directory contains precompiled files from the `/example/mu` -directory. These files are visually compared against fresh-compiled -files from the `/example/mu` directory. diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/Makefile b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/Makefile deleted file mode 100644 index 51cc09cb88..0000000000 --- a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -.PHONY: all implode -TARGETS=expected-econ-lualatex.pdf expected-fss-pdflatex.pdf \ - expected-phil-lualatex.pdf expected-econ-pdflatex.pdf \ - expected-law-lualatex.pdf expected-phil-pdflatex.pdf \ - expected-fi-lualatex.pdf expected-law-pdflatex.pdf \ - expected-sci-lualatex.pdf expected-fi-pdflatex.pdf \ - expected-med-lualatex.pdf expected-sci-pdflatex.pdf \ - expected-fsps-lualatex.pdf expected-med-pdflatex.pdf \ - expected-fsps-pdflatex.pdf expected-ped-lualatex.pdf \ - expected-fss-lualatex.pdf expected-ped-pdflatex.pdf -EXAMPLEDIR=../../example/mu - -# This target runs all the tests. -all: - make -C $(EXAMPLEDIR) implode - make -C $(EXAMPLEDIR) all - make $(TARGETS) - -# This target runs a single test. -expected-%.pdf: $(EXAMPLEDIR)/%.pdf - ../comparepdf.sh $< $@ || \ - { [ "$(UPDATE_FAILED)" = true ] && mv $< $@; } - -# This is a dummy target. -implode: - diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-lualatex.pdf deleted file mode 100644 index 0fa9e366d7..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-pdflatex.pdf deleted file mode 100644 index ac84d26944..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-econ-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-lualatex.pdf deleted file mode 100644 index 3ac69cdf67..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-pdflatex.pdf deleted file mode 100644 index 00e318baf4..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fi-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-lualatex.pdf deleted file mode 100644 index b24e7eb642..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-pdflatex.pdf deleted file mode 100644 index f90c9f14bd..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fsps-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-lualatex.pdf deleted file mode 100644 index f3b868b8fa..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-pdflatex.pdf deleted file mode 100644 index 1dc5ee24c5..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-fss-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-lualatex.pdf deleted file mode 100644 index 5bd2cc8bb0..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-pdflatex.pdf deleted file mode 100644 index ef87412631..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-law-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-lualatex.pdf deleted file mode 100644 index fe254f79ef..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-pdflatex.pdf deleted file mode 100644 index a9c099bffe..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-med-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-lualatex.pdf deleted file mode 100644 index b51076bdfa..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-pdflatex.pdf deleted file mode 100644 index 0d0e6f02c0..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-ped-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-lualatex.pdf deleted file mode 100644 index a55497584b..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-pdflatex.pdf deleted file mode 100644 index c1b3e5ad59..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-phil-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-lualatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-lualatex.pdf deleted file mode 100644 index fe85351287..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-lualatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-pdflatex.pdf b/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-pdflatex.pdf deleted file mode 100644 index 42d63adfe5..0000000000 Binary files a/macros/latex/contrib/beamer-contrib/themes/fibeamer/test/mu/expected-sci-pdflatex.pdf and /dev/null differ diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/DESCRIPTION b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/DESCRIPTION new file mode 100644 index 0000000000..78f6002443 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/DESCRIPTION @@ -0,0 +1,2 @@ +This directory contains an unofficial theme for the +Università degli Studi di Brescia (Brescia, Italy) diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/Makefile b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/Makefile new file mode 100644 index 0000000000..d0cca3f810 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/Makefile @@ -0,0 +1,15 @@ +LOGS=base.log standard.log +OUTPUT= \ + beamercolorthemefibeamer-bs.sty beamerfontthemefibeamer-bs.sty \ + beamerinnerthemefibeamer-bs.sty beamerouterthemefibeamer-bs.sty \ + beamercolorthemefibeamer-bs-standard.sty \ + +.PHONY: explode implode clean all +all: explode +explode: $(LOGS) + +%.log: %.ins %.dtx + xetex $< + +implode: + rm -f $(OUTPUT) $(LOGS) diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.dtx b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.dtx new file mode 100644 index 0000000000..bd98ea6773 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.dtx @@ -0,0 +1,355 @@ +% \iffalse +%<*color> +% \fi\file{theme/bs/beamercolorthemefibeamer-bs.sty} +% This is the base color theme for presentations written at the +% Masaryk University in Brno. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/bs/% + beamercolorthemefibeamer-bs}[2016/05/06] +% \end{macrocode} +% \begin{macro}{\darkframes} +% The |darkframes| environment switches the color definitions to +% render the enclosed frames in dark colors. This is a dummy +% definition, which will be overridden by the subsequently loaded +% color theme in the presentation mode. +% \begin{macrocode} +\newenvironment{darkframes}{}{} +% \end{macrocode} +% \end{macro} +% The rest of the theme will be ignored outside the presentation +% mode. +% \begin{macrocode} +\mode +% \end{macrocode} +% The theme loads the following packages, which will be used by the +% subsequently loaded color theme specific to a faculty: +% \begin{itemize} +% \item\textsf{listings} -- This package is used for code +% listings. The subsequently loaded color theme will specify +% source code coloring for the package. +% \item\textsf{ifthen} -- This package is used to construct +% compound conditionals. +% \item\textsf{tikz} -- This package is used to create gradient +% background for dark slides. +% \end{itemize} +% \begin{macrocode} + \RequirePackage{listings} + \RequirePackage{ifthen} + \RequirePackage{tikz} +% \end{macrocode} +% \begin{macro}{\iffibeamer@dark} +% The |\iffibeamer@dark| conditional will be switched on and off by +% the subsequently loaded color theme based on whether or not the +% given frame is being typeset in light or dark colors. This +% information will be used by outer themes to insert the correct +% logo into each frame. +% \begin{macrocode} + \newif\iffibeamer@dark\fibeamer@darkfalse +% \end{macrocode} +% \end{macro} +% A frame that is either title or dark, as specified by the value +% of the |\iffibeamer@dark| conditional, will have a gradient +% background as specified by the |fibeamer@dark@backgroundInner| +% and |fibeamer@light@backgroundOuter| colors that shall be defined +% by the subsequently loaded color theme. +% +% A frame that is neither title nor dark, as specified by the value +% of the |\iffibeamer@dark| conditional, will have a gradient +% background as specified by the |fibeamer@light@backgroundInner| +% and |fibeamer@light@backgroundOuter| colors that shall be defined +% by the subsequently loaded color theme. +% \begin{macrocode} + \defbeamertemplate*{background canvas}{fibeamer}{% + \ifthenelse{% + \boolean{fibeamer@dark} \OR \c@framenumber=0 + }{% + \begin{tikzpicture} + \clip (0,\fibeamer@lengths@clipbottom) rectangle + (\paperwidth,\fibeamer@lengths@cliptop); + \path [inner color = fibeamer@dark@backgroundInner, + outer color = fibeamer@dark@backgroundOuter] + (0,0) rectangle (\paperwidth,\paperwidth); + \end{tikzpicture} + }{% + \begin{tikzpicture} + \clip (0,\fibeamer@lengths@clipbottom) rectangle + (\paperwidth,\fibeamer@lengths@cliptop); + \path [inner color = fibeamer@light@backgroundInner, + outer color = fibeamer@light@backgroundOuter] + (0,0) rectangle (\paperwidth,\paperwidth); + \end{tikzpicture} + }} +% \end{macrocode} +% The |\qed| symbol inserted at the end of proofs will have the +% same color as the rest of the proof. +% \begin{macrocode} + \setbeamercolor{qed symbol}{% + use=block body, + fg=block body.fg, + bg=block body.bg} +% \end{macrocode} +% The links can be colored by the subsequently loaded color themes. +% \begin{macrocode} + \hypersetup{colorlinks,linkcolor=} +\mode + +% \end{macrocode} +% \iffalse +% +%<*font> +% \fi\file{theme/bs/beamerfontthemefibeamer-bs.sty} +% This is the base font theme for presentations written at the +% Masaryk University in Brno. The theme has no effect outside the +% presentation mode. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/bs/% + beamerfontthemefibeamer-bs}[2016/01/12] +\mode + \setbeamerfont{normal text}{size=\normalsize} + \setbeamerfont{title}{size=\LARGE, series=\bfseries} + \setbeamerfont{subtitle}{parent=normal text, size=\Large} + \setbeamerfont{frametitle}{size=\Large} + \setbeamerfont{framesubtitle}{size=\large, shape=\itshape} + \setbeamerfont{description item}{series=\bfseries} + \setbeamerfont{author}{size=\large} +\mode + +% \end{macrocode} +% \iffalse +% +%<*inner> +% \fi\file{theme/bs/beamerinnerthemefibeamer-bs.sty} +% This is the base inner theme for presentations written at the +% Masaryk University in Brno. The theme has no effect outside the +% presentation mode. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/bs/% + beamerinnerthemefibeamer-bs}[2016/01/14] +\mode +% \end{macrocode} +% This part of the inner theme defines the design of lists. +% \begin{macrocode} +\defbeamertemplate*{itemize item}{fibeamer}{$\bullet$} +\defbeamertemplate*{itemize subitem}{fibeamer}{\---} +\defbeamertemplate*{itemize subsubitem}{fibeamer}{\guillemotright} +% \end{macrocode} +% This part of the inner theme defines the design of bibliography +% items and citations.^^A +% \begin{macrocode} +\defbeamertemplate*{bibliography item}{fibeamer}{\insertbiblabel} +\AtBeginDocument{% + \let\fibeamer@oldcite\cite + \def\cite#1{{% + \usebeamercolor[fg]{item}% + \fibeamer@oldcite{#1}}}} +% \end{macrocode} +% This part of the inner theme defines the design of the table of +% contents. +% \begin{macrocode} +\defbeamertemplate*{section in toc}{fibeamer}{% + \usebeamercolor[fg]{item}% + \inserttocsectionnumber.% + \usebeamercolor[fg]{structure}% + \kern1.25ex\inserttocsection\par} +\defbeamertemplate*{subsection in toc}{fibeamer}{% + \hspace\leftmargini + \usebeamercolor[fg]{item}% + \inserttocsectionnumber.\inserttocsubsectionnumber% + \usebeamercolor[fg]{structure}% + \kern1.25ex\inserttocsubsection\par} +\defbeamertemplate*{subsubsection in toc}{fibeamer}{% + \hspace\leftmargini + \hspace\leftmarginii + \usebeamercolor[fg]{item}% + \inserttocsectionnumber.\inserttocsubsectionnumber.% + \inserttocsubsubsectionnumber% + \usebeamercolor[fg]{structure}% + \kern1.25ex\inserttocsubsubsection\par} +\mode + +% \end{macrocode} +% \iffalse +% +%<*outer> +% \fi\file{theme/bs/beamerouterthemefibeamer-bs.sty} +% This is the base outer theme for presentations written at the +% Masaryk University in Brno. The theme has no effect outside the +% presentation mode. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/bs/% + beamerouterthemefibeamer-bs}[2016/01/12] +\mode +% \end{macrocode} +% The theme uses the following packages: +% \begin{itemize} +% \item\textsf{ifthen} -- This package is used to construct +% compound conditionals. +% \item\textsf{ifpdf} -- This package is used to check, whether +% the document is being typeset in DVI mode. If it is, then +% the |\pdfpagewidth| and |\pdfpageheight| dimensions are +% defined, so that positioning in TikZ works correctly. +% \changes{v1.0.1}{2015/10/03}{Added DVI output support. [VN]} +% ^^A +% \item\textsf{tikz} -- This package is used to position the +% logo and the frame number on a frame. +% \item\textsf{pgfcore} -- This package is used to draw the +% dashed line at the title frame. +% \end{itemize} +% \begin{macrocode} + \RequirePackage{ifthen} + \RequirePackage{ifpdf} + \ifpdf\else + \@ifundefined{pdfpagewidth}{\newdimen\pdfpagewidth}{} + \@ifundefined{pdfpageheight}{\newdimen\pdfpageheight}{} + \pdfpagewidth=\paperwidth + \pdfpageheight=\paperheight + \fi + \RequirePackage{tikz} + \RequirePackage{pgfcore} +% \end{macrocode} +% This part of the outer theme defines the geometry of the frames +% along with other dimensions. +% \begin{macrocode} + \newlength\fibeamer@lengths@baseunit + \fibeamer@lengths@baseunit=3.75mm + % The footer padding + \newlength\fibeamer@lengths@footerpad + \setlength\fibeamer@lengths@footerpad{% + \fibeamer@lengths@baseunit} + % The side margins + \newlength\fibeamer@lengths@margin + \setlength\fibeamer@lengths@margin{% + 3\fibeamer@lengths@baseunit} + \setbeamersize{ + text margin left=\fibeamer@lengths@margin, + text margin right=\fibeamer@lengths@margin} + % The upper margin + \newlength\fibeamer@lengths@titleline + \setlength\fibeamer@lengths@titleline{% + 3\fibeamer@lengths@baseunit} + % The background clipping + \newlength\fibeamer@lengths@clipbottom + \setlength\fibeamer@lengths@clipbottom\paperwidth + \addtolength\fibeamer@lengths@clipbottom{-\paperheight} + \setlength\fibeamer@lengths@clipbottom{% + 0.5\fibeamer@lengths@clipbottom} + \newlength\fibeamer@lengths@cliptop + \setlength\fibeamer@lengths@cliptop\paperwidth + \addtolength\fibeamer@lengths@cliptop{% + -\fibeamer@lengths@clipbottom} + + % The logo size + \newlength\fibeamer@lengths@logowidth + \setlength\fibeamer@lengths@logowidth{% + 10.5\fibeamer@lengths@baseunit} + \newlength\fibeamer@lengths@logoheight + \setlength\fibeamer@lengths@logoheight{% + 4,37\fibeamer@lengths@baseunit} +% \end{macrocode} +% The outer theme completely culls the bottom navigation. +% \begin{macrocode} + \defbeamertemplate*{navigation symbols}{fibeamer}{} +% \end{macrocode} +% The outer theme also culls the headline. +% \begin{macrocode} + \defbeamertemplate*{headline}{fibeamer}{} +% \end{macrocode} +% The frame title. +% \begin{macrocode} + \defbeamertemplate*{frametitle}{fibeamer}{% + \vskip-1em % Align the text with the top border + \vskip\fibeamer@lengths@titleline + \usebeamercolor[fg]{frametitle}% + \usebeamerfont{frametitle}% + \insertframetitle\par% + \usebeamercolor[fg]{framesubtitle}% + \usebeamerfont{framesubtitle}% + \insertframesubtitle} +% \end{macrocode} +% The footline contains the frame number. It is flushed right. +% \begin{macrocode} + \defbeamertemplate*{footline}{fibeamer}{% + \ifnum\c@framenumber=0\else% + \begin{tikzpicture}[overlay] + \node[anchor=south east, + yshift=\fibeamer@lengths@footerpad, + xshift=-\fibeamer@lengths@footerpad] at + (current page.south east) { + \usebeamercolor[fg]{framenumber}% + \usebeamerfont{framenumber}% + \insertframenumber/\inserttotalframenumber}; + \end{tikzpicture} + \fi} +% \end{macrocode} +% The title frame contains the main logo, the |\title|, the +% |\subtitle|, and the |\author|. +% \begin{macrocode} + \defbeamertemplate*{title page}{fibeamer}{% + + \begin{darkframes} + + % This is slide 0 + \setcounter{framenumber}{0} + + % Input the university logo + \begin{tikzpicture}[ + remember picture, + overlay, + xshift=0.5\fibeamer@lengths@logowidth, + yshift=0.5\fibeamer@lengths@logoheight + ] + \node at (0,0) { + \fibeamer@includeLogo[ + width=\fibeamer@lengths@logowidth, + height=\fibeamer@lengths@logoheight + ]}; + \end{tikzpicture} + + % Input the title + \usebeamerfont{title}% + \usebeamercolor[fg]{title}% + \begin{minipage}[b][2\baselineskip][b]{\textwidth}% + \raggedright\inserttitle + \end{minipage} + \vskip-.5\baselineskip + + % Input the dashed line + \begin{pgfpicture} + \pgfsetlinewidth{2pt} + \pgfsetroundcap + \pgfsetdash{{0pt}{4pt}}{0cm} + + \pgfpathmoveto{\pgfpoint{0mm}{0mm}} + \pgfpathlineto{\pgfpoint{\textwidth}{0mm}} + + \pgfusepath{stroke} + \end{pgfpicture} + \vfill + + % Input the subtitle + \usebeamerfont{subtitle}% + \usebeamercolor[fg]{subtitle}% + \begin{minipage}{\textwidth} + \raggedright% + \insertsubtitle% + \end{minipage}\vskip.25\baselineskip + + % Input the author's name + \usebeamerfont{author}% + \usebeamercolor[fg]{author}% + \begin{minipage}{\textwidth} + \raggedright% + \insertauthor% + \end{minipage} + \end{darkframes}} + +\mode + +% \end{macrocode} +% \iffalse +% +% \fi diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.ins b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.ins new file mode 100644 index 0000000000..2432a41d26 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/base.ins @@ -0,0 +1,6 @@ +\input ../../LICENSE +\generate{\file{beamercolorthemefibeamer-bs.sty}{\from{base.dtx}{color}} + \file{beamerfontthemefibeamer-bs.sty} {\from{base.dtx}{font}} + \file{beamerinnerthemefibeamer-bs.sty}{\from{base.dtx}{inner}} + \file{beamerouterthemefibeamer-bs.sty}{\from{base.dtx}{outer}}} +\endbatchfile diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.dtx b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.dtx new file mode 100644 index 0000000000..d747275cc1 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.dtx @@ -0,0 +1,113 @@ +% \file{theme/bs/beamercolorthemefibeamer-standard.sty} +% This is the color theme for all the presentations written at the +% University of Brescia. This theme has no effect outside the presentation mode. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{fibeamer/theme/bs/% + beamercolorthemefibeamer-bs-standard}[2021-08-27] +\mode +% \end{macrocode} +% This color theme uses the combination of yellow and shades of gray. The +% |fibeamer@{dark,|\-|light}@background{Inner,|\-|Outer}| colors are used +% within the background canvas template, which is defined within the base +% color theme of the Masaryk University and which draws the gradient +% background of the frames. +% \begin{macrocode} + \definecolor{fibeamer@black}{HTML}{2B2E34} + \definecolor{fibeamer@white}{HTML}{FFFFFF} + \definecolor{fibeamer@blue}{HTML}{3C5896} + \colorlet{fibeamer@lightBlue}{fibeamer@blue!30!fibeamer@white} + \colorlet{fibeamer@darkBlue}{fibeamer@blue!50!fibeamer@black} + \definecolor{fibeamer@gray}{HTML}{BFBFBF} + \definecolor{fibeamer@lightOrange}{HTML}{FFA25E} + \colorlet{fibeamer@orange}{fibeamer@lightOrange!80!fibeamer@darkBlue} + + %% Background gradients + \colorlet{fibeamer@dark@backgroundInner}{fibeamer@darkBlue} + \colorlet{fibeamer@dark@backgroundOuter}{fibeamer@darkBlue} + \colorlet{fibeamer@light@backgroundInner}{fibeamer@white} + \colorlet{fibeamer@light@backgroundOuter}{fibeamer@white} +% \end{macrocode} +% The |darkframes| environment switches the |\iffibeamer@darktrue| +% conditional on and sets a dark color theme. +% \begin{macrocode} + \renewenvironment{darkframes}{% + \begingroup + \fibeamer@darktrue + %% Structures + \setbeamercolor*{frametitle}{fg=fibeamer@gray!30!fibeamer@white} + \setbeamercolor*{framesubtitle}{fg=fibeamer@gray!30!fibeamer@white} + %% Text + \setbeamercolor*{normal text}{fg=fibeamer@white, bg=fibeamer@blue} + \setbeamercolor*{structure}{fg=fibeamer@white, bg=fibeamer@blue} + + \setbeamercolor*{alerted text}{fg=fibeamer@lightOrange} + + %% Items, footnotes and links + \setbeamercolor*{item}{fg=fibeamer@lightBlue} + \setbeamercolor*{footnote mark}{fg=fibeamer@lightBlue} + \hypersetup{urlcolor=fibeamer@lightBlue, citecolor=fibeamer@lightBlue} + %% Blocks + \setbeamercolor*{block title}{% + fg=fibeamer@white, bg=fibeamer@blue!60!fibeamer@white} + \setbeamercolor*{block title example}{% + fg=fibeamer@white, bg=fibeamer@blue!60!fibeamer@white} + \setbeamercolor*{block title alerted}{% + fg=fibeamer@darkBlue, bg=fibeamer@lightOrange} + \setbeamercolor*{block body}{% + fg=fibeamer@blue, + bg=fibeamer@gray!15!fibeamer@white} + \usebeamercolor*{normal text} + % Code listings + \lstset{% + commentstyle=\color{green!30!fibeamer@white}, + keywordstyle=\color{blue!30!fibeamer@white}, + stringstyle=\color{fibeamer@blue!30!fibeamer@white}} + }{% + \endgroup} +% \end{macrocode} +% Outside the |darkframes| environment, the light theme is used. +% \begin{macrocode} + %% Structures + \setbeamercolor{frametitle}{fg=fibeamer@blue} + \setbeamercolor{framesubtitle}{fg=fibeamer@black!75!fibeamer@white} + %% Text + \setbeamercolor{normal text}{fg=fibeamer@black, bg=fibeamer@white} + \setbeamercolor{structure}{fg=fibeamer@black, bg=fibeamer@white} + + \setbeamercolor{alerted text}{fg=red} + \addtobeamertemplate{block begin}{% + \iffibeamer@dark % alerted text in plain block at dark slides + \setbeamercolor{alerted text}{fg=fibeamer@orange}% + \fi}{} + + %% Items, footnotes and links + \setbeamercolor{item}{fg=fibeamer@blue} + \setbeamercolor{footnote mark}{fg=fibeamer@blue} + \hypersetup{urlcolor=fibeamer@blue, citecolor=fibeamer@blue} + %% Blocks + \setbeamercolor{block title}{% + fg=fibeamer@white, bg=fibeamer@blue} + \setbeamercolor{block title example}{% + fg=fibeamer@white, bg=fibeamer@blue} + \setbeamercolor{block title alerted}{% + fg=fibeamer@white, bg=red} + \setbeamercolor{block body}{% + fg=fibeamer@blue, bg=fibeamer@gray!20!fibeamer@white} + %% Title + \setbeamercolor{title}{fg=fibeamer@white, bg=fibeamer@blue} + % Code listings + \lstset{% + basicstyle=\footnotesize\ttfamily, + breakatwhitespace=false, + breaklines=true, + commentstyle=\color{green!60!fibeamer@black}, + extendedchars=true, + keywordstyle=\color{blue}, + showspaces=false, + showstringspaces=false, + showtabs=false, + stringstyle=\color{violet}} +\mode + +% \end{macrocode} diff --git a/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.ins b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.ins new file mode 100644 index 0000000000..a7ce8eaee6 --- /dev/null +++ b/macros/latex/contrib/beamer-contrib/themes/fibeamer/theme/bs/standard.ins @@ -0,0 +1,3 @@ +\input ../../LICENSE +\generate{\file{beamercolorthemefibeamer-bs-standard.sty}{\from{standard.dtx}{}}} +\endbatchfile diff --git a/macros/latex/contrib/ccool/README.md b/macros/latex/contrib/ccool/README.md index a3801bd081..2c7340c3ef 100644 --- a/macros/latex/contrib/ccool/README.md +++ b/macros/latex/contrib/ccool/README.md @@ -1,7 +1,6 @@ ----------------------------------------------------------------- -##### ccool --- A key-value document command parser +----------------------------------------------------------------- +##### ccool --- (Custom) COntext Oriented LaTeX - Source repository: https://github.com/rogard/ccool - Released under the LaTeX Project Public License v1.3c or later - See http://www.latex-project.org/lppl.txt ----------------------------------------------------------------- - +----------------------------------------------------------------- diff --git a/macros/latex/contrib/ccool/ccool.bib b/macros/latex/contrib/ccool/ccool.bib new file mode 100644 index 0000000000..2e33736500 --- /dev/null +++ b/macros/latex/contrib/ccool/ccool.bib @@ -0,0 +1,50 @@ +@phdthesis{oh-2005, + author = {Olympia Hadjiliadis}, + title = {Change--point detection of two--sided alternatives in the Brownian motion model and its connection to the gambler's ruin problem with relative wealth perception}, + year = {2005}, + school = {Columbia University} +} +@misc{a-547018, + author = {@{}Javier Bezos}, + title = {When loading babel with spanish, spurious document command parser}, + note = {\url{https://tex.stackexchange.com/a/547018/112708}}, + year = {2020}} +@misc{a-536597, + author = {@{}frougon}, + title = {``Journaling calls to a function \textdel{taking inline code as argument}''}, + year = {2020}, + note = {\url{https://tex.stackexchange.com/a/536620}}} +@manual{interface3, + title = {The \LaTeX3 interfaces}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/l3kernel/expl3.pdf}}, + annote = {} } +@manual{xparse, + title = {The \pkg{xparse} package}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.illinois.edu/macros/latex/contrib/l3packages/xparse.pdf}}, + annote = {} } +@manual{2005-cool, + title = {The \pkg{cool} package}, + author = {Nick Setzer}, + year = {2005}, + note = {\url{https://www.ctan.org/pkg/cool}}, + annote = {} } +@manual{l3build, + title = {The \pkg{l3build} package}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/l3build/l3build.pdf}}, + annote = {} } +@manual{tcolorbox, + title = {The \pkg{tcolorbox} package}, + author = {Sturm, Thomas F.}, + year = {2019}, + note = {\url{http://www.texdoc.net/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf}}, + annote = {} } +@misc{p158966, + title = {\cs{Ccool}, extension à \LaTeX~à vocation mathématique}, + note = {\url{http://forum.mathematex.net/latex-f6/ccool-extension-latex-a-vocation-mathematique-t17314.html}}, + year = {2020}} diff --git a/macros/latex/contrib/ccool/ccool.dtx b/macros/latex/contrib/ccool/ccool.dtx index 933183883d..0d7add543e 100644 --- a/macros/latex/contrib/ccool/ccool.dtx +++ b/macros/latex/contrib/ccool/ccool.dtx @@ -4,13 +4,12 @@ \iffalse % %<*readme> ----------------------------------------------------------------- -##### ccool --- A key-value document command parser +----------------------------------------------------------------- +##### ccool --- (Custom) COntext Oriented LaTeX - Source repository: https://github.com/rogard/ccool - Released under the LaTeX Project Public License v1.3c or later - See http://www.latex-project.org/lppl.txt ----------------------------------------------------------------- - +----------------------------------------------------------------- % %<*internal> \fi @@ -24,8 +23,8 @@ \keepsilent \askforoverwritefalse \preamble ----------------------------------------------------------------------------- -ccool --- A key-value document command parser +----------------------------------------------------------------------------- +ccool --- (Custom) COntext Oriented LaTeX Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt ---------------------------------------------------------------------------- @@ -33,7 +32,7 @@ See http://www.latex-project.org/lppl.txt \endpreamble \postamble -Copyright (C) 2020 by Erwann Rogard +Copyright (C) 2020-2021 by Erwann Rogard This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either @@ -68,120 +67,111 @@ ccool.sty, and ccool.pdf. \expandafter\endgroup \fi % -% \NeedsTeXFormat{LaTeX2e}[2020/02/02] -% \RequirePackage{erw-l3}[2020/06/04] -% \RequirePackage{etoolbox}[2019/09/21] -% \RequirePackage{l3keys2e}[2020/03/06] -% \RequirePackage{xparse}[2020/03/06] +% \NeedsTeXFormat{LaTeX2e}[2021-06-01] +% \RequirePackage{expl3, xparse, l3keys2e}[2021-06-01] +% \RequirePackage{lambdax}[2021-06-01] % \ProvidesExplPackage -% {ccool} % Package name -% {2020/10/10} % Release date -% {3.1} % Release version -% {cool --- A key-value document command parser} % Description -% -%<*driver> -\RequirePackage{fvextra, xparse}%^^A\NB{done}{Warning:csquotes should be loaded after fvextra->nope} -\documentclass[full, show-notes]{l3doc} -\listfiles -%^^A\usepackage{xparse, longtable, array, booktabs} -\ExplSyntaxOn -\clist_new:N \g__ccooldoc_usepackage_clist -\cs_new_protected:Nn \__ccooldoc_usepackage:n -{ - \clist_put_right:Nn \g__ccooldoc_usepackage_clist - { - \textbackslash{}usepackage\char`{ #1 \char`} - } - \usepackage{#1} -} -\cs_new_protected:Nn \__ccooldoc_usepackage:nn -{ - \clist_put_right:Nn \g__ccooldoc_usepackage_clist - { - { - \textbackslash{} - usepackage - \char`[ #1 \char`] - \char`{ #2 \char`} - } - } - \usepackage[#1]{#2} -} -\cs_new:Nn \__ccooldoc_usepackage: -{ - \texttt - { - \noindent - \clist_use:Nnnn \g__ccooldoc_usepackage_clist { \\ } { \\ } { \\ } - } -} -\__ccooldoc_usepackage:n{amsmath, amssymb} -\__ccooldoc_usepackage:nn{ -%^^A afrikaans, -%^^A basque, -%^^A catalan, -%^^A croatian, -%^^A czech, -%^^A danish, -%^^A dutch, -%^^A %^^A esperanto, % ERROR -%^^A estonian, -%^^A finnish, -french, -%^^A % ^^A galician, % ERROR -german, -%^^A hungarian, -%^^A icelandic, -%^^A indonesian, -%^^A irish, -%^^A italian, -%^^A %^^A kurmanji, % ERROR -%^^A latin, -%^^A %^^A latvian, % ERROR -%^^A lithuanian, -%^^A ngerman, -%^^A polish, -%^^A portuguese, -%^^A romanian, -%^^A slovak, -spanish.noquoting, -%^^A swedish, -%^^A swissgerman, -%^^A turkish, -%^^A turkmen, -%^^A welsh, -english -} -{babel} -\__ccooldoc_usepackage:n{bookmark, ccool, microtype, tabto, tcolorbox} -\__ccooldoc_usepackage:nn{T1}{fontenc}% \char`[ - \ExplSyntaxOff -\tcbuselibrary{listings, breakable} -\makeatletter -\newcommand*{\docsetnameref}{\def\@currentlabelname}%https://tex.stackexchange.com/questions/537751 -\makeatother -\ExplSyntaxOn -\tl_gset:Nn \partname {Part} -\ExplSyntaxOff +% {ccool} % Package name +% {2021-09-20} % Release date +% {3.2} % Release version +% {ccool --- (Custom) COntext Oriented LaTeX } % Description +%<*driver> +\documentclass[show-notes]{l3doc} \EnableCrossrefs \CodelineIndex \RecordChanges -% ^^A\AtEndDocument { \PrintChanges \PrintIndex } -\ExplSyntaxOn -\newenvironment{docabstract}[1]%https://latex.org/forum/viewtopic.php?t=12156 -{\renewcommand{\abstractname}{#1}\begin{abstract}} - {\end{abstract}} -\ProvideDocumentCommand\DocPhantomSection{smmm} -{ - \leavevmode - \refstepcounter{#2} - \IfBooleanT{#1} - { - \addcontentsline{toc}{#2}{\protect\numberline{\use:c{the#2}}#3} - } - \docsetnameref{#3} - \label{#4} +%^^A\documentclass[full, show-notes]{l3doc} +%^^A \listfiles +\usepackage{amsmath, bookmark, enumitem, mathtools, microtype, tcolorbox, xparse} +\usepackage[french, german, english]{babel} +\usepackage[T1]{fontenc} +\usepackage[bibencoding=auto, backend=biber, sorting=ynt]{biblatex} +\begin{filecontents*}{\jobname.bib} +@phdthesis{oh-2005, + author = {Olympia Hadjiliadis}, + title = {Change--point detection of two--sided alternatives in the Brownian motion model and its connection to the gambler's ruin problem with relative wealth perception}, + year = {2005}, + school = {Columbia University} } +@misc{a-547018, + author = {@{}Javier Bezos}, + title = {When loading babel with spanish, spurious document command parser}, + note = {\url{https://tex.stackexchange.com/a/547018/112708}}, + year = {2020}} +@misc{a-536597, + author = {@{}frougon}, + title = {``Journaling calls to a function \textdel{taking inline code as argument}''}, + year = {2020}, + note = {\url{https://tex.stackexchange.com/a/536620}}} +@manual{interface3, + title = {The \LaTeX3 interfaces}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/l3kernel/expl3.pdf}}, + annote = {} } +@manual{xparse, + title = {The \pkg{xparse} package}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.illinois.edu/macros/latex/contrib/l3packages/xparse.pdf}}, + annote = {} } +@manual{2005-cool, + title = {The \pkg{cool} package}, + author = {Nick Setzer}, + year = {2005}, + note = {\url{https://www.ctan.org/pkg/cool}}, + annote = {} } +@manual{l3build, + title = {The \pkg{l3build} package}, + author = {The \LaTeX3 Project Team}, + year = {2019}, + note = {\url{https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/l3build/l3build.pdf}}, + annote = {} } +@manual{tcolorbox, + title = {The \pkg{tcolorbox} package}, + author = {Sturm, Thomas F.}, + year = {2019}, + note = {\url{http://www.texdoc.net/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf}}, + annote = {} } +@misc{p158966, + title = {\cs{Ccool}, extension à \LaTeX~à vocation mathématique}, + note = {\url{http://forum.mathematex.net/latex-f6/ccool-extension-latex-a-vocation-mathematique-t17314.html}}, + year = {2020}} +\end{filecontents*} +\addbibresource{\jobname.bib} +\ExplSyntaxOn +%^^A *** Sectioning +\tl_gset:Nn \partname {Part}%^^A allows to test w/o babel +\makeatletter +\newcommand*{\docsetnameref} +{\def\@currentlabelname}%https://tex.stackexchange.com/questions/537751 +\makeatother +\newcounter{cscounter} +\ProvideDocumentCommand +\DocPhantomSection{sO{subsection}D<>{}mo} +{\leavevmode + \refstepcounter{cscounter} + \IfBooleanF{#1}{\addcontentsline{toc}{#2}{#4}} + \IfValueT{#5} + {\docsetnameref{#3#4}\label{#5}}} +% ^^A *** Msg +\msg_new:nnn{__ccool_doc}{unknown}{~#1:#2~unknown} +% ^^A *** Expressions +\ProvideDocumentCommand{\pkgpattpair}{mm}{\texttt{>\{#1\}\{#2\}}} +\ProvideDocumentCommand{\pkgrule}{}{\texttt{$\rightarrow$}} +% ^^A *** L3 package +\ProvideDocumentCommand{\docplaceh}{mO{1}}{\texttt{\prg_replicate:nn{#2}{\#}#1}} +% ^^A *** Lists +\newlist{arab-inl}{enumerate*}{1} +\setlist[arab-inl]{label=\arabic*)} +\newlist{colon-inl}{itemize*}{1} +\setlist[colon-inl] +{ %^^Abefore=\noindent, + label={}, + itemjoin={{; }}, + after={{.}}} +\newlist{descr}{description}{1} +\setlist[descr]{nosep, align=right, itemindent=0pt, font=\sffamily\tiny} % ^^A Sort---> \providecommand\docarg[1]{\texttt{#1}} % fun[param] (macro) vs fun[arg] (eval) \providecommand\docargnoval{\c_novalue_tl} @@ -269,6 +259,38 @@ english \providecommand\pkgwrite{\cs{Ccool}\docarg{\meta{\pkgparpa}}\docpare{i}{\meta{\pkgparin}}\Arg{\pkgparkvl}} % ^^A Sort<--- \ExplSyntaxOff +%^^A *** listing +\tcbuselibrary{listings, breakable} +\newtcblisting[auto counter] +{listing}[2][]{ + noparskip, + breakable, + colback=white, + colframe=black, + opacitybacktitle=.8,% + fonttitle=\bfseries, + title={Listing~\thetcbcounter. #1}, + arc=0pt, + outer arc=0pt, + boxrule=1pt, + listing and text, + #2} +\newtcblisting +{internal} +{text only, + breakable, + colback=white, + fontupper=\sffamily, + arc=1pt, + outer arc=1pt, + boxrule=0pt, + halign=left, + fontupper=\small\sffamily, + left=0pt, + top=0pt, + bottom=0pt} +\usepackage{ccool} +\usepackage{hyperref} %^^A comes last \begin{document} \DocInput{\jobname.dtx} \end{document} @@ -276,79 +298,27 @@ english % \fi % % \GetFileInfo{\jobname.sty} -% \begin{documentation} -% \title{The \pkg{ccool} package\thanks{^^A -% This file describes version \fileversion, last revised \filedate.^^A +% \title{The \pkg{ccool} package\thanks{^^A +% This file describes version \fileversion, last revised \filedate.^^A % }^^A % } -% \author{Erwann Rogard\thanks{firstname dot lastname AusTria gmail dot com}} +% \author{Erwann Rogard\thanks{first.lastname at gmail.com}} % % \date{Released \filedate} -% -% \maketitle -% -% \selectlanguage{english} -% \begin{docabstract}{Abstract} -% The package \pkg{ccool} for \LaTeX~is a \textit{key-value} interface, \nameref{usage:cs:ccool}, -% on top of \pkg{xparse}'s document command parser. Global options control input processing and its expansion. -% By default, they are set to meet likely requirements, depending on context: the selected language, -% and which of text and math mode is active. These options can be overriden inline. -% This versality could find its use, for example, to encode notational conventions (such as \docexpand{\cs{Real}}{}|\mathbb{R}|) -% at the point where they are introduced in the \env{document} (``Let $\mathbb{R}$ denote real numbers''). -% Polymorphic commands can be generated by parameterizing the keys -% (for instance, one parameter value for style, another for a property). -% User input to \cs{Ccool} can optionally be serialized. -% This can useful for typesetting documents sharing the same notation. -% \end{docabstract} -% -% \selectlanguage{french} -% \begin{docabstract}{Résumé} -% L'extension~\pkg{ccool} pour \LaTeX~met à disposition une interface de type \textit{clé-valeur}, \nameref{usage:cs:ccool}, -% destinée à faciliter la géneration de commandes. Les paramètres globaux contrôlant le traitement de ces \textit{clé-valeur} sont fixés -% par défaut pour répondre aux besoins courants, suivant le contexte (langage, mode textuel ou mathématique). -% Un exemple d'application, est la command-isation des conventions de notation (\docexpand{\cs{Reel}}{} |\mathbb{R}|), -% au point dans le \env{document} où elles sont introduites (``Soit~$\mathbb{R}$~les nombres réels.''). -% Des commandes polymorphes peuvent être générées, en associant aux clés un paramètre -% (par exemple, une valeur pour le style typographique, une autre pour la description du concept associé). -% En option, les instructions passées à cette interface peuvent être sauvegardées, -% ce qui peut être utile pour la rédaction de documents faisant appel à des conventions typographiques communes. -% \end{docabstract} -% \selectlanguage{english} -% -% \tableofcontents -% -% \part{Usage}\label{part:usage} -% ^^A \VerbatimFootnotes -% -% \setcounter{section}{0} -% \label{usage:conv} -% \addcontentsline{toc}{section}{\protect\numberline{\thesection}Convention} -% \section*{Convention} -% \begin{enumerate}[label={\emph{\alph*)}}] -% \item \label{conv:expl3} Loosely, those of \cite{interface3}, for example as to the meaning of \docccept{\docccepttl}, which may be abbreviated \docccept{tl}. -% \item \label{conv:xparse} Those of \cite{xparse}, for example \docparo{arg} is an \docccept{\docxparseo}. -% \item \docassign{\meta{X}}{\docarg{Y}}: set \meta{X} to |Y| -% \item \docexpand{\cs{X}}{\docarg{Y}}: \cs{X} expands to |Y| -% \item If unspecified, the environment in which a macro is to be used is \docenvdoc. -% \end{enumerate} -% -% \refstepcounter{section} -% \label{usage:load} -% \addcontentsline{toc}{section}{\protect\numberline{\thesection}Loading the package} -% \begin{function}{\usepackage} -% \begin{syntax} -% \cs{usepackage}\docparm{\pkg{ccool}} -% \end{syntax} -% \begin{description} -% \item[Requirement]\docfillblank -% \begin{enumerate} -% \item \file{ccool.sty} is in the path of the \LaTeX~engine. See \autoref{part:other}, \autoref{other:support}. -% \item Put in the~\docccept{\doccceptpre} -% \end{enumerate} -% \end{description} -% \end{function} -% -% \DocPhantomSection*{section}{\cs{Ccool}}{usage:cs:ccool} +% \begin{documentation} +% +% \maketitle +% +% \begin{abstract} +% This \LaTeX package provides an interface to define and evaluate key-based replacement rules\cite{interface3}. +% It can be used to parse the argument specification of a document command\cite{xparse}. +% \end{abstract} +% +% \tableofcontents +% +% \part{Usage}\label{part:usage} +% +% \DocPhantomSection*{section}{\cs{Ccool}}[usage:cs:ccool] % \begin{function}{\Ccool} % \begin{syntax} % \cs{Ccool}\docparo{\meta{\pkgparhe}}\docpard{\meta{\pkgparpa}}\docpare{c}{\meta{\pkgparin}}\Arg{\pkgparkvl}\pkgparap\pkgparex\docpare{s}{\meta{\doccceptsep}}\docpare{c}{\meta{\pkgparou}}\docparo{\meta{\pkgparta}} @@ -360,22 +330,22 @@ english % % \subsection{Core feature} % \label{ccool:core} -% \nameref{usage:cs:ccool}\Arg{\pkgparkvl} executes for each \meta{\pkgkey}|=|\meta{\pkgval}, +% \cs{Ccool}\Arg{\pkgparkvl} executes for each \meta{\pkgkey}|=|\meta{\pkgval}, % \begin{enumerate}[label=\emph{\arabic*)}] % \item \docassign{\meta{\pkgval} } % { \cs{function}\Arg{\pkgval} }\label{step:val} % \item define \cs{\meta{\pkgkey}} such that \docexpand{ \cs{\meta{\pkgkey} } }{\meta{\pkgval}}, % \label{step:key} -% \end{enumerate}where \cs{function} is encoded in \docccept{\doccceptgopt}~\nameref{usage:opt:in}. +% \end{enumerate}where \cs{function} is encoded in \docccept{\doccceptgopt}~\pkgoptin. % For instance, the side effect of |\Ccool{ Real = \mathbb{R} }| is \docexpand{\cs{Real}}{\docarg{\textbackslash{}mathbb\{R\}}}. -% To be sparingly used, \docccept{\doccceptgopt}~\nameref{usage:opt:ex} controls the type of expansion of \meta{\pkgkey}~and \meta{\pkgval}. +% To be sparingly used, \docccept{\doccceptgopt}~\pkgoptex controls the type of expansion of \meta{\pkgkey}~and \meta{\pkgval}. % -% See \nameref{usage:cs:lambda} to allow command \cs{\meta{\pkgkey}} to take arguments. +% if \cs{\meta{\pkgkey}} needs arguments, use \cs{lambdax} from \pkg{lambdax} on the rhs. % -% \subsection{Process the \texorpdfstring{\docccept{\pkgval}}'s} +% \subsection{Process the \texorpdfstring{\docccept{\pkgval}}{val_i}'s} % \label{ccool:in} -% \nameref{usage:cs:ccool}\ \docpare{c}{\meta{\pkgparin}}\Arg{\pkgparkvl} is identical to the \nameref{ccool:core}, -% except it overrides \nameref{usage:opt:in}. +% \cs{Ccool}\ \docpare{c}{\meta{\pkgparin}}\Arg{\pkgparkvl} is identical to the \nameref{ccool:core}, +% except it overrides \pkgoptin. % % In our example, if multiple number systems are defined with \cs{Ccool} (natural, reals, \dots), % it is more efficient to omit |\mathbb{.}| inside \meta{\pkgval}, and instead @@ -383,15 +353,15 @@ english % % \subsection{Append to a hook} % \label{ccool:ap} -% \nameref{usage:cs:ccool}\Arg{\pkgparkvl}\pkgparap~is identical to the \nameref{ccool:core}, except it -% repeats after \nameref{usage:cs:hook}. +% \cs{Ccool}\Arg{\pkgparkvl}\pkgparap~is identical to the \nameref{ccool:core}, except it +% repeats after \cs{CcoolHook}. % This is useful to make the side effect persist after a \docccept{\doccceptgroup} (such as \env{theorem}). % -% \subsection{Expand the \texorpdfstring{\docccept{\pkgval}}'s} +% \subsection{Expand the \texorpdfstring{\docccept{\pkgval}}{val_i}'s} % \label{ccool:ex} -% \nameref{usage:cs:ccool}\Arg{\pkgparkvl}\pkgparex~supplements the \nameref{ccool:core} with -% the expansion of the \meta{\pkgval}'s using typesetting rules encoded in \docccept{\doccceptgopt}~\nameref{usage:opt:se} -% and~\nameref{usage:opt:ou}. The first are \docccept{\doccceptsep} applied to the \meta{\pkgval}'s to form a \docccept{\docccepttl}, +% \cs{Ccool}\Arg{\pkgparkvl}\pkgparex~supplements the \nameref{ccool:core} with +% the expansion of the \meta{\pkgval}'s using typesetting rules encoded in \docccept{\doccceptgopt}~\pkgoptse +% and~\pkgoptou. The first are \docccept{\doccceptsep} applied to the \meta{\pkgval}'s to form a \docccept{\docccepttl}, % and the second a function applied to the latter. % % They can be overriden inline by appending further \docpare{s}{\meta{\doccceptsep}}~and~\docpare{c}{\meta{\pkgparou}}, respectively, @@ -399,30 +369,30 @@ english % % \subsection{Head} % \label{ccool:he} -% \nameref{usage:cs:ccool}\docparo{\meta{\pkgparhe}}\Arg{\pkgparkvl}~expands \meta{\pkgparhe} and executes the \nameref{ccool:core}. +% \cs{Ccool}\docparo{\meta{\pkgparhe}}\Arg{\pkgparkvl}~expands \meta{\pkgparhe} and executes the \nameref{ccool:core}. % % There may be situations where it is convenient to pass \meta{\pkgparhe}~as \doccceptempty. % % \subsection{Tail} % \label{ccool:ta} -% \nameref{usage:cs:ccool}\Arg{\pkgparkvl}\docparo{\meta{\pkgparta}}\Arg{\pkgparkvlnxt}~is identical to -% \nameref{usage:cs:ccool}\Arg{\pkgparkvl} followed by \nameref{usage:cs:ccool}\docparo{\meta{\pkgparta}}\Arg{\pkgparkvlnxt}. +% \cs{Ccool}\Arg{\pkgparkvl}\docparo{\meta{\pkgparta}}\Arg{\pkgparkvlnxt}~is identical to +% \cs{Ccool}\Arg{\pkgparkvl} followed by \cs{Ccool}\docparo{\meta{\pkgparta}}\Arg{\pkgparkvlnxt}. % % The combination of \nameref{ccool:core}, \nameref{ccool:he}, and \nameref{ccool:ta} allows to integrate typesetting and % the creation of commands. % -% \subsection{Parameterize the \texorpdfstring{\docccept{\pkgkey}}'s} +% \subsection{Parameterize the \texorpdfstring{\docccept{\pkgkey}}{key_i}'s} % \label{ccool:pa} -% \nameref{usage:cs:ccool}\docpard{\meta{\pkgparpa}}\Arg{\pkgparkvl} is identical to the \nameref{ccool:core}, +% \cs{Ccool}\docpard{\meta{\pkgparpa}}\Arg{\pkgparkvl} is identical to the \nameref{ccool:core}, % except \meta{\pkgkey} is replaced by \meta{\pkgkey\docpard{\pkgparpa}}. -% The default value of \meta{\pkgparpa} is encoded in \nameref{usage:opt:pa}. +% The default value of \meta{\pkgparpa} is encoded in \pkgoptpa. % In our example, \meta{\pkgparpa} could be \docarg{Style}. % % \subsection{Write} % \label{ccool:wr} -% \docccept{\doccceptgopt}~\nameref{usage:opt:wr}~is identical to the \nameref{ccool:core}, -% except that if \nameref{usage:opt:wr} is set to \cs{BooleanTrue}, -% the code is written to a file whose \doccceptpath~is encoded in \docccept{\doccceptgopt}~\nameref{usage:opt:fi}. +% \docccept{\doccceptgopt}~\pkgoptwr~is identical to the \nameref{ccool:core}, +% except that if \pkgoptwr is set to \cs{BooleanTrue}, +% the code is written to a file whose \doccceptpath~is encoded in \docccept{\doccceptgopt}~\pkgoptfi. % % \DocPhantomSection*{section}{\cs{CcoolClear}}{usage:cs:clear} % \begin{function}{\CcoolClear} @@ -444,39 +414,31 @@ english % \end{description} % \end{function} % -% \DocPhantomSection*{section}{\cs{CcoolLambda}}{usage:cs:lambda} -% \begin{function}{\CcoolLambda} -% \begin{syntax} -% \cs{CcoolLambda}\docparo{\meta{\doccceptargspec}}\Arg{\doccceptcode}, -% \end{syntax} where \docccept{\doccceptargspec} is by default an \docccept{\docxparseo}. -% \begin{description} -% \item[Example] \cs{Ccool}|{ EvalAt = \CcoolLambda{(#1)} }| -% \item[Semantics] Returns a command of type \cs{DeclareDocumentCommand}\cite{xparse}, -% \end{description} -% \end{function} +% \changes{v3.2} +% {2021/09/20} +% {Removed~usage~for\cs[no-index]{CcoolLambda}~as~superseded~by~\cs[no-index]{LambdaX}.} % % \DocPhantomSection*{section}{\cs{CcoolOption}}{usage:cs:option} % \begin{function}{\CcoolOption} % \begin{syntax} % \cs{CcoolOption}\docparo{\dots{}\docmetakeyorkeyval[i],\dots} % \end{syntax}where \meta{\doccceptkey_i} is either of -% \nameref{usage:opt:an}, -% \nameref{usage:opt:ex}, -% \nameref{usage:opt:fi}, -% \nameref{usage:opt:in}, -% \nameref{usage:opt:pa}, -% \nameref{usage:opt:ou}, -% \nameref{usage:opt:se}, -% and \nameref{usage:opt:wr}. +% \pkgoptan, +% \pkgoptex, +% \pkgoptfi, +% \pkgoptin, +% \pkgoptpa, +% \pkgoptou, +% \pkgoptse, +% and \pkgoptwr. % \begin{description} -% \item[Semantics] Modify the default behavior of \nameref{usage:cs:ccool} +% \item[Semantics] Modify the default behavior of \cs{Ccool} % \end{description} % \end{function} % % \DocPhantomSection*{subsection}{\pkgoptan}{usage:opt:an} % \DescribeOption{\pkgoptan} % \begin{description} -% \item[Also see] \autoref{part:impl}~\nameref{impl:opt:an} % \item[Semantics] Sets the translation of \textit{and} in language \meta{\doccceptkey} to \meta{\doccceptval} % \item[Syntax] \meta{\doccceptkvl} % \end{description} @@ -484,35 +446,30 @@ english % \DocPhantomSection*{subsection}{\pkgoptex}{usage:opt:ex} % \DescribeOption{\pkgoptex} % \begin{description} -% \item[Also see] \nameref{ccool:core} and \autoref{part:impl}~\nameref{impl:opt:ex} % \item[Syntax] \texttt{eo\docpipe{}ee\docpipe{}ex\docpipe{}xo\docpipe{}xe\docpipe{}xx} % \end{description} % % \DocPhantomSection*{subsection}{\pkgoptfi}{usage:opt:fi} % \DescribeOption{\pkgoptfi} % \begin{description} -% \item[Also see] \autoref{part:usage}~\nameref{ccool:wr} and \autoref{part:impl}~\nameref{impl:opt:fi} % \item[Syntax] \meta{\doccceptpath} % \end{description} % % \DocPhantomSection*{subsection}{\pkgoptin}{usage:opt:in} % \DescribeOption{\pkgoptin} % \begin{description} -% \item[Also see] \nameref{ccool:in} and \autoref{part:impl}~\nameref{impl:opt:in} % \item[Syntax] \meta{\doccceptcode}, with |####1| as the \docccept{\doccceptplaceh} % \end{description} % % \DocPhantomSection*{subsection}{\pkgoptpa}{usage:opt:pa} % \DescribeOption{\pkgoptpa} % \begin{description} -% \item[Also see] \nameref{ccool:pa}, and \autoref{part:impl}~\nameref{impl:opt:pa} % \item[Syntax] \meta{\docccepttl} % \end{description} % % \DocPhantomSection*{subsection}{\pkgoptou}{usage:opt:ou} % \DescribeOption{\pkgoptou} % \begin{description} -% \item[Also see] \nameref{ccool:ex}, and \autoref{part:impl}~\nameref{impl:opt:ou} % \item[Default] |\ensuremath{####1}| % \item[Syntax] \meta{\doccceptcode}, with |####1| as the \docccept{\doccceptplaceh} % \end{description} @@ -520,7 +477,6 @@ english % \DocPhantomSection*{subsection}{\pkgoptse}{usage:opt:se} % \DescribeOption{\pkgoptse} % \begin{description} -% \item[Also see] \nameref{ccool:ex}; \doclist{lang}; and \autoref{part:impl}~\nameref{impl:opt:se} % \item[Other] Default behavior depends on whether \pkg{babel} and \pkg{amsmath} are loaded % \item[Syntax] That of \docccept{\doccceptsep} in \cite[Section 8 of \pkg{l3seq}]{interface3} % \end{description} @@ -528,7 +484,6 @@ english % \DocPhantomSection*{subsection}{\pkgoptwr}{usage:opt:wr} % \DescribeOption{\pkgoptwr} % \begin{description} -% \item[Also see] \autoref{part:usage}~\nameref{ccool:wr} and \autoref{part:impl}~\nameref{impl:opt:wr} % \item[Syntax] \cs{BooleanFalse}\docpipe\cs{BooleanTrue} % \end{description} % @@ -538,7 +493,6 @@ english % \cs{CcoolRead}\docparo{\meta{\doccceptpath}} % \end{syntax} % \begin{description} -% \item[Also see] \autoref{part:impl}~\nameref{impl:cs:read} % \item[Semantics]\docfillblank % \begin{enumerate} % \item Reads the definitions in \meta{\doccceptpath}. @@ -556,11 +510,15 @@ english % \item[Semantics] \docexpand{}{the package's version} % \end{description} % \end{function} +% \part{Other} +% +% \section{Bibliograhy} +% \printbibliography[heading=none] % % \section{Do's and dont's} % \label{usage:dosdont} % -% \begin{enumerate}[label=\emph{\arabic*)}] +% \begin{enumerate} % \item \docfillblank % \begin{itemize} % \item[\docissuedont] |Inner=\{####1\}| @@ -587,76 +545,217 @@ english % \item[\docissuedont] |\[x_0,x\]| % \item[\docissuedo] |\left[x_0,x\right]| % \end{itemize} -% \item \docfillblank -% \begin{itemize} -% \item[\docissuedont] Use \docccept{\docxparsed[]} or \docccept{\docxparsee[]}~arguments\cite{xparse} for \nameref{usage:cs:lambda} -% \item[\docissuedo] Use only \docccept{\docxparsem[]} and \docccept{\docxparseo[]}~arguments -% \end{itemize} +%^^A \item \docfillblank +%^^A \begin{itemize} +%^^A \item[\docissuedont] Use \docccept{\docxparsed[]} or \docccept{\docxparsee[]}~arguments\cite{xparse} for \nameref{usage:cs:lambda} +%^^A \item[\docissuedo] Use only \docccept{\docxparsem[]} and \docccept{\docxparseo[]}~arguments +%^^A \end{itemize} % \item \docfillblank % \begin{itemize} % \item[\docissuedont] |\usepackage[spanish]{babel}| % \item[\docissuedo] |\usepackage[spanish.noquoting]{babel}|\cite{a-547018} % \end{itemize} -% \item Also see \autoref{part:other}, \autoref{other:issue} % \end{enumerate} -% -% \clearpage -% \part{Listing}\label{part:listing} -% -% \newtcblisting[auto counter] -% {listing}[2][]{ -% noparskip, -% breakable, -% colback=white, -% colframe=black, -% opacitybacktitle=.8,% -% fonttitle=\bfseries, -% title={Listing~\thetcbcounter. #1}, -% arc=0pt, -% outer arc=0pt, -% boxrule=1pt, -% listing and text, -% #2} -% -% \docnb +% +% \section{To do} % \begin{enumerate} -% \item Some statements affect only the output of listings that come after that in which they appear. -% The demarcation is indicated by |%^^||A--->| and |%^^||A<---|, where applicable +% \item Create an environment for \cs{CoolHook}. % \end{enumerate} -% \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:vers}.\cs{CcoolVers}} -% \iffalse -%<*guardlisting> -% \fi -\begin{listing}[\cs{CcoolVers}] - {label=listing:vers} - \CcoolVers -\end{listing} -% \iffalse -% -% \fi +% +% \section{Support}\label{other:support} % -% \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:thisdeps}. This doc's dependencies} -% \iffalse -%<*guardlisting> -% \fi -\begin{listing}[This doc's dependencies] - {label=listing:thisdeps} - \ExplSyntaxOn - \__ccooldoc_usepackage: - \ExplSyntaxOff -\end{listing} -% \iffalse -% -% \fi +% This package is available from \url{https://github.com/rogard/ccool}. % -% \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:numbrsys:base}. \texorpdfstring{Let~$\mathbb{N}$ and $\mathbb{R}$ denote\dots} (start of the tutorial)} +% +% \changes{v1.0} +% {2020/03/08} +% {Initial version} +% \changes{v1.1} +% {2020/04/04} +% {Rearrange: much of the implementation} +% \changes{v1.1} +% {2020/04/04} +% {Replace: \Arg{kvl_{2}}~by~\docpard{\meta{kvl_{2}}}~given that option type \texttt{G} not recommended\cite{xparse}} +% \changes{v1.1} +% {2020/04/04} +% {Replace: \cs[no-index]{OopsOptions}~by~\cs[no-index]{OopsOption}} +% \changes{v1.1} +% {2020/04/04} +% {Replace: \docarg{GenericObject}~by~\docarg{Name}} +% \changes{v1.1} +% {2020/04/04} +% {Replace: \docarg{Separators}~by~\docarg{Separ}} +% \changes{v1.1} +% {2020/04/04} +% {Add:\cs[no-index]{OopsTest}} +% \changes{v1.1} +% {2020/04/04} +% {Add:\cs[no-index]{OopsRestore}} +% \changes{v1.1} +% {2020/04/04} +% {Add: \docarg{Save}} +% \changes{v1.2} +% {2020/04/06} +% {Add: optional \pkgparex to \cs[no-index]{OopsNew} as instruction to expand \pkgparkvl} +% \changes{v1.2} +% {2020/04/06} +% {Replace: \cs[no-index]{OopsClear}\Arg{\pkgparpa} by \cs[no-index]{OopsClear}\docparo{\meta{\doccceptkvl}}} +% \changes{v1.2} +% {2020/04/06} +% {Delete: \meta{kvl_{2}}~and~\meta{code_{2}}} +% \changes{v1.2} +% {2020/04/06} +% {Delete: \cs[no-index]{OopsTest}} +% \changes{v1.2} +% {2020/04/06} +% {Replace: \cs[no-index]{Save} by \cs[no-index]{Write}} +% \changes{v1.2} +% {2020/04/06} +% {Replace: \cs[no-index]{Restore} by \cs[no-index]{Read}} +% \changes{v1.3} +% {2020/04/06} +% {Replace: \cs[no-index]{OopsNew} by \cs[no-index]{Oops}} +% \changes{v1.3} +% {2020/04/06} +% {Replace: \Arg{\pkgparpa} and \docparo{\meta{\pkgparpa}} by \docpard{\meta{\pkgparpa}} } +% \changes{v1.4} +% {2020/04/10} +% {Replace: \docpare{s}{\Arg{\pkgparsi}\Arg{\pkgparsii}\Arg{\pkgparsiii}} +% by \docpare{s}{\Arg{\pkgparsi}\docpipe\Arg{\pkgparsi}\Arg{\pkgparsii}\docpipe\Arg{\pkgparsi}\Arg{\pkgparsii}\Arg{\pkgparsiii}}} +% \changes{v1.4} +% {2020/04/10} +% {Add:optional \pkgparap to \cs[no-index]{OopsNew} to make side effects presist beyond local group} +% \changes{v1.4} +% {2020/04/10} +% {Add: \cs[no-index]{OopsHook}} +% \changes{v1.4} +% {2020/04/10} +% {Add: \docarg{Expans} (for debugging' sake, but...) } +% \changes{v1.4} +% {2020/04/10} +% {Add: \autoref{usage:dosdont} } +% \changes{v1.4} +% {2020/04/10} +% {Add: \cs[no-index]{OopsDebug} } +% \changes{v1.5} +% {2020/04/10} +% {Delete: dependence on \pkg{datetime} } +% \changes{v1.5} +% {2020/04/10} +% {Add: \pkgoptfi } +% \changes{v1.6} +% {2020/04/10} +% {Rename: \pkg{oops} to \pkg{ccool} (better describes the purpose) } +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{Oops} to \cs[no-index]{Ccool}} +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{OopsClear} to \cs[no-index]{CcoolClear}} +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{OopsDebug} to \cs[no-index]{CcoolDebug}} +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{OopsHook} to \cs[no-index]{CcoolHook}} +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{OopsOption} to \cs[no-index]{CcoolOption}} +% \changes{v1.6} +% {2020/04/10} +% {Rename: \cs[no-index]{OopsRead} to \cs[no-index]{CcoolRead}} +% \changes{v1.7} +% {2020/04/11} +% {Delete: \cs[no-index]{CcoolDebug} } +% \changes{v1.8} +% {2020/04/12} +% {Add: \hyperref[usage:cs:lambda]{\cs[no-index]{CcoolLambda}} } +% \changes{v1.8} +% {2020/04/12} +% {Add: \cs[no-index]{CcoolVers} } +% \changes{v1.9} +% {2020/04/14} +% {Add: support for \LuaTeX } +% \changes{v1.9} +% {2020/04/14} +% {Move: from \autoref{part:usage} to \autoref{part:impl}, what is now that part's \autoref{impl:frontend}} +% \changes{v2.0} +% {2020/04/15} +% {Delete: \pkgoptfi's dependency on \pkg{texosquery} and \cs[no-index]{pdfcreationdate}} +% \changes{v2.0} +% {2020/04/15} +% {Add: support for \XeTeX} +% \changes{v2.0} +% {2020/04/15} +% {Update: \cs[no-index]{RequirePackage}, \cs[no-index]{NeedsTeXFormat}'s second argument / TeX Live 2020} +% \changes{v2.1} +% {2020/04/17} +% {Replace: \hyperref[usage:cs:lambda]{\cs[no-index]{CcoolLambda}}'s optional integer argument (number of \texttt{m}'s) +% by a standard argument list} +% \changes{v2.1} +% {2020/04/17} +% {Replace: \hyperref[ccool:pa]{\meta{\pkgparpa}}'s position within \cs[no-index]{Ccool}'s argument list, from first to second. Greater versatility } +% \changes{v2.1} +% {2020/04/17} +% {Replace: as~the~default~of~\pkgoptpa,~\docarg{Math}~by~\pkgoptpad} +% \changes{v2.1} +% {2020/04/17} +% {Replace: \docccept{\doccceptgopt}~\docarg{Name} by \pkgoptpa } +% \changes{v2.2} +% {2020/04/20} +% {Replace: part of the abstract's with more straighforward descriptions based on input from forum participtants} +% \changes{v2.3} +% {2020/05/16} +% {Replace: for \cs[no-index]{Ccool}, \docpare{i}{} by \docpare{c}{}} +% \changes{v2.3} +% {2020/05/16} +% {Rearranged: \cs{Ccool}'s subsections. Previously, by argument. Now, by feature. } +% \changes{v2.3} +% {2020/05/16} +% {Replace: In \docstep{key}, the created command's implementation, from \cs[no-index]{ProvideDocumentCommand} to \cs[no-index]{DeclareDocumentCommand}} +% \changes{v2.5} +% {2020/05/21} +% {Modify: behavior of \autoref{part:usage}~\nameref{ccool:ex}, rely on \pkg{erw-l3}'s \cs[no-index]{erw_seq_use:Nn} } +% \changes{v2.5} +% {2020/05/21} +% {Modify: Rely on \pkg{erw-l3}'s \cs[no-index]{erw_jobnametimestamp:} } +% \changes{v2.6} +% {2020/05/22} +% {Modify: Rely on \pkg{erw-l3}'s \cs[no-index]{erw_lambda:nnn} } +% \changes{v2.7} +% {2020/05/28} +% {Add: \docccept{\doccceptgopt}~\pkgoptan } +% \changes{v2.7} +% {2020/05/28} +% {Modify: \pkgoptse's default rely on \pkg{babel} and \pkg{amsmath}, if applicable} +% \changes{v2.7} +% {2020/05/28} +% {Modify: Replace \docxparsem by \docxparseo} +% \changes{v2.8} +% {2020/05/28} +% {Fix: conflict between \cs[no-index]{usepackage}\docparo{spanish}\docparm{babel} and \nameref{ccool:pa} } +% \changes{v2.9} +% {2020/06/03} +% {Miscellaneous } +% \changes{v3.0} +% {2020/06/04} +% {Miscellaneous } +% \changes{v3.1} +% {2020/10/10} +% {Replaced: \doclist{thisdeps}'s content, from exhaustive dependencies to those explicit with \cs[no-index]{usepackage}} +% \changes{v3.2} +% {2021/09/20} +% {Removed~listing~changes~(little~information,~difficult~to~keep~track)} +% +% \clearpage +% \part{Listing}\label{part:listing} +% +%\phantomsection\addcontentsline{toc}{section}{Tutorial\textgreater} +%\phantomsection\addcontentsline{toc}{section}{\ref{listing:numbrsys:base}. Let~\texorpdfstring{$\mathbb{N}$}{N} and \texorpdfstring{$\mathbb{R}$}{R} denote\dots} % \iffalse %<*guardlisting> % \fi -\begin{listing}[``Let~$\mathbb{N}$ and $\mathbb{R}$ denote\dots'' (start of the tutorial)] +\begin{listing}[``Let~$\mathbb{N}$ and $\mathbb{R}$ denote\dots''] {label=listing:numbrsys:base, listing and text} Let~$\mathbb{N}$ and $\mathbb{R}$ denote the natural and real numbers. \end{listing} @@ -665,11 +764,11 @@ english % \fi % % \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:numbrsys:cmd}. Equivalent to \ref{listing:numbrsys:base}, with \cs{NewDocumentCommand}} +% {\ref{listing:numbrsys:cmd}. Same as \ref{listing:numbrsys:base}, with \cs{NewDocumentCommand}} % \iffalse %<*guardlisting> % \fi -\begin{listing}[ Equivalent to \ref{listing:numbrsys:base}, with \cs{NewDocumentCommand}] +\begin{listing}[ Same as \ref{listing:numbrsys:base}, with \cs{NewDocumentCommand}] {label=listing:numbrsys:cmd, listing and text} \DeclareDocumentCommand\Nat{}{\mathbb{N}} \DeclareDocumentCommand\Real{}{\mathbb{R}} @@ -680,366 +779,71 @@ english % \fi % % \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:numbrsys:in}. Equivalent to \ref{listing:numbrsys:cmd}, with \cs{Ccool}} +% {\ref{listing:numbrsys:in}. Same as \ref{listing:numbrsys:cmd}, with \cs{Ccool}} % \iffalse %<*guardlisting> % \fi -\begin{listing}[ Equivalent to \ref{listing:numbrsys:cmd}, with \cs{Ccool}] +\begin{listing}[ Same as \ref{listing:numbrsys:cmd}, with \cs{Ccool} ] {label=listing:numbrsys:in, listing and text} - % ^^A---> + \begingroup \Ccool c{\mathbb{#1}}{ Nat = {N}, Real = {R} } Let~$\Nat$ and $\Real$~denote the natural and real numbers. - % ^^A<--- - \CcoolClear + \endgroup \end{listing} % \iffalse % % \fi % % \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:numbrsys:ex}. Equivalent to \ref{listing:numbrsys:in}, with expansion} +% {\ref{listing:numbrsys:ex}. Same as \ref{listing:numbrsys:in}, with expansion} % \iffalse %<*guardlisting> \fi -\begin{listing}[ Equivalent to \ref{listing:numbrsys:in}, with expansion] +\begin{listing}[ Same as \ref{listing:numbrsys:in}, with expansion] {label=listing:numbrsys:ex, listing and text} - % ^^A---> +\begingroup \Ccool[Let~] c{\mathbb{#1}}{ Nat = {N}, Real = {R} }* [~denote the natural and real numbers.]{} - % ^^A<--- - \CcoolClear +\endgroup \end{listing} % \iffalse % % \fi -% +% +% \changes{v3.2} +% {2021/09/20} +% {\cs[no-index]{begingroup}~and~\cs[no-index]{endgroup}~inside~listings.} +% % \phantomsection\addcontentsline{toc}{section} -% {\ref{listing:numbrsys:pa}. Equivalent to \ref{listing:numbrsys:in}, parameterized (end of the tutorial)} +% {\ref{listing:numbrsys:pa}. Same as \ref{listing:numbrsys:in}, parameterized} % \iffalse %<*guardlisting> % \fi -\begin{listing}[ Equivalent to \ref{listing:numbrsys:in}, parameterized (end of the tutorial)] +\begin{listing}[ Same as \ref{listing:numbrsys:in}, parameterized] {label=listing:numbrsys:pa, listing and text} - % ^^A---> - \Ccool