| 1 |
\iffalse meta-comment |
| 2 |
|
| 3 |
File: ltx-talk-code.tex Copyright (C) 2025,2026 Joseph Wright |
| 4 |
|
| 5 |
It may be distributed and/or modified under the conditions of the |
| 6 |
LaTeX Project Public License (LPPL), either version 1.3c of this |
| 7 |
license or (at your option) any later version. The latest version |
| 8 |
of this license is in the file |
| 9 |
|
| 10 |
https://www.latex-project.org/lppl.txt |
| 11 |
|
| 12 |
This file is part of the "ltx-talk bundle" (The Work in LPPL) |
| 13 |
and all files in that bundle must be distributed together. |
| 14 |
|
| 15 |
The released version of this bundle is available from CTAN. |
| 16 |
|
| 17 |
----------------------------------------------------------------------- |
| 18 |
|
| 19 |
The development version of the bundle can be found at |
| 20 |
|
| 21 |
https://github.com/josephwright/ltx-talk |
| 22 |
|
| 23 |
for those people who are interested. |
| 24 |
|
| 25 |
----------------------------------------------------------------------- |
| 26 |
|
| 27 |
\fi |
| 28 |
|
| 29 |
\documentclass{l3doc} |
| 30 |
|
| 31 |
% As we are dealing with a class, this has to be done manually |
| 32 |
\def\filedate{2026-04-30} |
| 33 |
\def\fileversion{v0.5.0} |
| 34 |
|
| 35 |
% Commands for this document |
| 36 |
\ExplSyntaxOn |
| 37 |
\makeatletter |
| 38 |
\NewDocumentCommand \acro { m } |
| 39 |
{ |
| 40 |
\textsc |
| 41 |
{ |
| 42 |
\exp_args:NV \tl_if_head_eq_charcode:nNTF \f@series { m } |
| 43 |
{ \text_lowercase:n } |
| 44 |
{ \use:n } |
| 45 |
{#1} |
| 46 |
} |
| 47 |
} |
| 48 |
\makeatother |
| 49 |
\ExplSyntaxOff |
| 50 |
\NewDocumentCommand\email{m}{\href{mailto:#1}{\nolinkurl{#1}}} |
| 51 |
\NewDocumentCommand\foreign{m}{\textit{#1}} |
| 52 |
|
| 53 |
% Standard settings |
| 54 |
\EnableDocumentation |
| 55 |
\EnableImplementation |
| 56 |
|
| 57 |
\begin{document} |
| 58 |
|
| 59 |
\title{% |
| 60 |
\pkg{ltx-talk} -- A class for typesetting presentations% |
| 61 |
\thanks{This file describes \fileversion, |
| 62 |
last revised \filedate.}% |
| 63 |
} |
| 64 |
|
| 65 |
\author{% |
| 66 |
Joseph Wright% |
| 67 |
\thanks{% |
| 68 |
E-mail: \email{[email protected]}% |
| 69 |
}% |
| 70 |
} |
| 71 |
|
| 72 |
\date{Released \filedate} |
| 73 |
|
| 74 |
\pagenumbering{roman} |
| 75 |
|
| 76 |
\maketitle |
| 77 |
\tableofcontents |
| 78 |
\clearpage |
| 79 |
\pagenumbering{arabic} |
| 80 |
|
| 81 |
% Make the separate source files into a single whole, format-wise |
| 82 |
\makeatletter |
| 83 |
\RenewDocumentCommand\maketitle{}{% |
| 84 |
\clearpage |
| 85 |
\part{\@title}% |
| 86 |
} |
| 87 |
\makeatother |
| 88 |
\renewcommand*\partname{Part} |
| 89 |
\DeclareExpandableDocumentCommand\thanks{m}{} |
| 90 |
|
| 91 |
\let\DelayPrintIndex\PrintIndex |
| 92 |
\RenewDocumentCommand\PrintIndex{}{} |
| 93 |
|
| 94 |
% Load the source files in order |
| 95 |
\DocInput{ltx-talk.dtx} |
| 96 |
\DocInput{ltx-talk-color.dtx} |
| 97 |
\DocInput{ltx-talk-decode.dtx} |
| 98 |
\DocInput{ltx-talk-frame.dtx} |
| 99 |
\DocInput{ltx-talk-frame-structure.dtx} |
| 100 |
\DocInput{ltx-talk-mode.dtx} |
| 101 |
\DocInput{ltx-talk-overlay.dtx} |
| 102 |
\DocInput{ltx-talk-required.dtx} |
| 103 |
\DocInput{ltx-talk-structure.dtx} |
| 104 |
\DocInput{ltx-talk-title.dtx} |
| 105 |
\clearpage |
| 106 |
|
| 107 |
\DelayPrintIndex |
| 108 |
|
| 109 |
\end{document} |