Debian Codegraph @

texmf-dist/source/latex/oberdiek/oberdiek.tex

raw
1
2 \NeedsTeXFormat{LaTeX2e}
3
4 \newcommand*{\Title}{Overview}
5 \newcommand*{\CTANdir}{macros/latex/contrib/oberdiek/}
6 \newcommand*{\CTANroot}{http://mirror.ctan.org/}
7 \newcommand*{\CTANpkg}[1]{%
8 \href{http://ctan.org/pkg/#1}{[ctan]}%
9 }
10 \newcommand*{\Subject}{CTAN:\CTANdir}
11 \newcommand*{\Author}{Heiko Oberdiek}
12
13 \newcommand*{\Email}{ho-tex at tug.org}
14 \newcommand*{\Date}{2026-05-13}
15
16 % Copyright (C) 2006-2016 by
17 % Heiko Oberdiek
18 % Copyright (C) 2016-2026 by
19 % Oberdiek Package Support Group
20 %
21 % This work may be distributed and/or modified under the
22 % conditions of the LaTeX Project Public License, either
23 % version 1.3 of this license or (at your option) any later
24 % version. The latest version of this license is in
25 % http://www.latex-project.org/lppl.txt
26 % and version 1.3 or later is part of all distributions of
27 % LaTeX version 2003/12/01 or later.
28 %
29 % This work has the LPPL maintenance status "maintained".
30 %
31 % This Current Maintainer of this work is the Oberdiek Package Support Group.
32 %
33 % This work consists of the overview "oberdiek.pdf", its source
34 % "oberdiek.tex", and the installation script "oberdiek.ins"
35 % for the projects in CTAN:macros/latex/contrib/oberdiek/.
36 %
37 \documentclass[a4paper,12pt]{article}
38
39 \usepackage{iftex}
40 \ifluatex
41 \usepackage{unicode-math}[2011/09/19]%
42 \fi
43
44 \usepackage[
45 ignorehead,
46 top=1in,
47 ]{geometry}
48 \usepackage{longtable}
49 \usepackage{color}
50 \usepackage[ngerman,english]{babel}
51 \usepackage{hologo}
52 \usepackage{biblatex}% for internals in .toc files
53
54 \definecolor{link}{rgb}{1,0,0}% red
55 \definecolor{file}{rgb}{0,0,1}% blue
56 \definecolor{url}{cmyk}{0.1,1,0,0.1}
57
58 \definecolor{file}{rgb}{1,0,0}% red
59 \definecolor{url}{rgb}{0,0,1}% blue
60 \definecolor{link}{rgb}{0,0.75,0}%
61
62 \usepackage[
63 colorlinks,
64 ]{hyperref}[2006/02/12]
65 \hypersetup{
66 pdftitle={CTAN:\CTANdir},
67 pdfsubject={Package Overview},
68 pdfauthor={\Author\ <\Email>},
69 bookmarksnumbered,
70 bookmarksopen,
71 bookmarksopenlevel=2,
72 bookmarksdepth=2,
73 filecolor=file,
74 urlcolor=url,
75 linkcolor=link,
76 }
77 \usepackage{bookmark}
78 \usepackage{hypdestopt}
79 \setcounter{tocdepth}{1}
80 \setcounter{secnumdepth}{1}
81
82 \title{%
83 \href{\CTANroot\CTANdir}{CTAN:\CTANdir}%
84 }
85 \author{%
86 \Author\thanks
87 {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}\\
88 \textless
89 \href{mailto:\Email}{\texttt{\Email}}%
90 \textgreater
91 }
92 \date{\Date}
93
94 \providecommand*{\pdfTeX}{pdf\TeX}
95 \providecommand*{\plainTeX}{\mbox{plain-\TeX}}
96 \providecommand*{\iniTeX}{\mbox{ini-\TeX}}
97 \providecommand*{\VTeX}{V\TeX}
98 \providecommand*{\eTeX}{$\csname m@th\endcsname\varepsilon$-\TeX}
99 \providecommand*{\LuaTeX}{%
100 L\textsc{ua}\TeX
101 }
102 \newcommand*{\xpackage}[1]{\textsf{#1}}
103 \newcommand*{\xmodule}[1]{\textsf{#1}}
104 \newcommand*{\xfile}[1]{\texttt{#1}}
105 \newcommand*{\xext}[1]{\texttt{.#1}}
106 \newcommand*{\xoption}[1]{\textsf{#1}}
107 \newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
108 \newcommand*{\meta}[1]{%
109 \ensuremath\langle
110 \textit{#1}%
111 \ensuremath\rangle
112 }
113
114 \makeatletter
115 \g@addto@macro\abstract{\noindent\ignorespaces}
116
117 \newcommand*{\tocinclude}[1]{%
118 \setcounter{tocdepth}{3}%
119 \begingroup
120 \makeatletter
121 \def\@prj{#1}%
122 \let\contentsline\foreign@contentsline
123 \input{\@prj.toc}%
124 \endgroup
125 }
126 \def\foreign@contentsline#1#2#3#4{%
127 \ifx\\#4\\%
128 \csname l@#1\endcsname{#2}{#3}%
129 \else
130 \ifHy@linktocpage
131 \csname l@#1\endcsname{{#2}}{%
132 \hyper@linkfile{#3}{\@prj.pdf}{#4}%
133 }%
134 \else
135 \csname l@#1\endcsname{%
136 \hyper@linkfile{#2}{\@prj.pdf}{#4}%
137 }{#3}%
138 \fi
139 \fi
140 }%
141
142 \newenvironment{overview}{%
143 \setlength{\tabcolsep}{0.8\tabcolsep}%
144 \setlength{\LTleft}{0pt}%
145 \longtable{@{}lll@{}}
146 }{%
147 \endlongtable
148 }
149 \newcommand*{\entry}[2]{%
150 \href{file:#1.pdf}{%
151 \bfseries\xpackage{#1}%
152 }%
153 &
154 #2%
155 & \CTANpkg{#1} %
156 \\*%
157 \hyperref[{#1}]{\small (contents)}%
158 &
159 \\%
160 }
161 \newcommand*{\entrysep}{1.5ex}
162
163 \newcommand*{\pkgsectformat}[1]{%
164 \texorpdfstring{%
165 \textcolor{link}{The} %
166 \xpackage{#1} %
167 \textcolor{link}{package}%
168 }{#1}%
169 }
170
171 \makeatother
172
173 \begin{document}
174 \maketitle
175
176 \section{Overview}
177 \begin{overview}
178 \entry{bmpsize}{Extract size/resolution from bitmap files}%
179 [\entrysep]
180 \entry{centernot}{Centers the not symbol horizontally}%
181 [\entrysep]
182 \entry{chemarr}{Arrows for chemical reactions}%
183 [\entrysep]
184 \entry{classlist}{Record classes used in a document}%
185 [\entrysep]
186 \entry{colonequals}{Colon equals symbols}%
187 [\entrysep]
188 \entry{dvipscol}{Alter the usage of the dvips color stack}%
189 [\entrysep]
190 \entry{engord}{Provides English ordinal numbers}%
191 [\entrysep]
192 \entry{enparen}{Parentheses nesting}%
193 [\entrysep]
194 \entry{eolgrab}{Catch arguments delimited by end of line}%
195 [\entrysep]
196 \entry{fibnum}{Fibonacci numbers}%
197 [\entrysep]
198 \entry{flags}{Setting/clearing of flags in bit fields}%
199 [\entrysep]
200 \entry{holtxdoc}{Private additional ltxdoc support}%
201 [\entrysep]
202 \entry{hypbmsec}{Bookmarks in sectioning commands}%
203 [\entrysep]
204 \entry{hypgotoe}{Links to embedded files}%
205 [\entrysep]
206 \entry{hyphsubst}{Substitute hyphenation patterns}%
207 [\entrysep]
208 \entry{ifdraft}{Detect class options draft and final}%
209 [\entrysep]
210 \entry{iflang}{Checks for the current language}%
211 [\entrysep]
212 \entry{pdfcolparallel}{Color stacks support for parallel}%
213 [\entrysep]
214 \entry{pdfcolparcolumns}{Color stacks for parcolumns}%
215 [\entrysep]
216 \entry{pdfcrypt}{Allows the setting of PDF encryption}%
217 [\entrysep]
218 \entry{protecteddef}{Define protected commands}%
219 [\entrysep]
220 \entry{resizegather}{Resize overly large equations}%
221 [\entrysep]
222 \entry{rotchiffre}{Perform simple rotation ciphers}%
223 [\entrysep]
224 \entry{scrindex}{Package index with \hologo{KOMAScript} classes}%
225 [\entrysep]
226 \entry{setouterhbox}{Set hbox in outer horizontal mode}%
227 [\entrysep]
228 \entry{settobox}{Assign box dimensions to length registers}%
229 [\entrysep]
230 \entry{stackrel}{Adding subscript option to stackrel}%
231 [\entrysep]
232 \entry{stampinclude}{Include files based on time stamps}%
233 [\entrysep]
234 \entry{thepdfnumber}{Print PDF numbers with minimal digits}%
235 [\entrysep]
236 \entry{twoopt}{Definitions with two optional arguments}%
237 \end{overview}
238
239 \section{Packages}
240 \hypersetup{bookmarksnumbered=false}
241
242 \subsection{\pkgsectformat{bmpsize}}
243 \label{bmpsize}
244 \begin{abstract}
245 Package \xpackage{bmpsize} analyzes bitmap images to extract
246 size and resolution data. It adds this feature to the graphics package
247 that now do not need separate bounding box files for bitmap images.
248 Additionally the implementation for the inclusion of bitmap images
249 in some drivers of package \xpackage{graphicx} are rewritten to support
250 options \xoption{viewport}, \xoption{trim} and \xoption{clip}.
251 \end{abstract}
252 \tocinclude{bmpsize}
253
254 \newpage
255 \subsection{\pkgsectformat{centernot}}
256 \label{centernot}
257 \begin{abstract}
258 This package provides \cs{centernot} that prints the symbol
259 \cs{not} on the following argument. Unlike \cs{not} the symbol
260 is horizontally centered.
261 \end{abstract}
262 \tocinclude{centernot}
263
264 \newpage
265 \subsection{\pkgsectformat{chemarr}}
266 \label{chemarr}
267 \begin{abstract}
268 Very often chemists need a longer version
269 of reaction arrows (\cs{rightleftharpoons}) with
270 the possibility to put text above and below.
271 Analogous to \xpackage{amsmath}'s \cs{xrightarrow} and
272 \cs{xleftarrow} this package provides the macro
273 \cs{xrightleftharpoons}.
274 \end{abstract}
275 \tocinclude{chemarr}
276
277 \newpage
278 \subsection{\pkgsectformat{classlist}}
279 \label{classlist}
280 \begin{abstract}
281 This package records the loaded classes and stores
282 them in a list.
283 \end{abstract}
284 \tocinclude{classlist}
285
286 \newpage
287 \subsection{\pkgsectformat{colonequals}}
288 \label{colonequals}
289 \begin{abstract}
290 Package \xpackage{colonequals} defines poor man's symbols
291 for math relation symbols such as ``colon equals''.
292 The colon is centered around the horizontal math axis.
293 \end{abstract}
294 \tocinclude{colonequals}
295
296 \newpage
297 \subsection{\pkgsectformat{dvipscol}}
298 \label{dvipscol}
299 \begin{abstract}
300 Color support for dvips in \xfile{dvips.def} involves the
301 color stack of dvips. The package tries to remove unnecessary
302 uses of the stack to avoid the error ``out of coor stack space''.
303 \end{abstract}
304 \tocinclude{dvipscol}
305
306
307 \newpage
308 \subsection{\pkgsectformat{engord}}
309 \label{engord}
310 \begin{abstract}
311 The package generates the suffix of English ordinal numbers.
312 It can be used with plain and \LaTeX\ formats.
313 \end{abstract}
314 \tocinclude{engord}
315
316 \newpage
317 \subsection{\pkgsectformat{enparen}}
318 \label{enparen}
319 \begin{abstract}
320 The package defines macros to set parentheses that automatically
321 change the symbols from inner to outer fences.
322 \end{abstract}
323 \tocinclude{enparen}
324
325 \newpage
326 \subsection{\pkgsectformat{eolgrab}}
327 \label{eolgrab}
328 \begin{abstract}
329 This package implements a generic argument grabber
330 to catch an argument that is delimited by the line end.
331 \end{abstract}
332 \tocinclude{eolgrab}
333
334 \newpage
335 \subsection{\pkgsectformat{fibnum}}
336 \label{fibnum}
337 \begin{abstract}
338 The package \xpackage{fibnum} provides expandable fibonacci
339 numbers for both \hologo{LaTeX} and \hologo{plainTeX}.
340 \end{abstract}
341 \tocinclude{fibnum}
342
343 \newpage
344 \subsection{\pkgsectformat{flags}}
345 \label{flags}
346 \begin{abstract}
347 Package \xpackage{flags} allows the setting and clearing
348 of flags in bit fields and converts the bit field into a
349 decimal number. Currently the bit field is limited to 31 bits.
350 \end{abstract}
351 \tocinclude{flags}
352
353 \newpage
354 \subsection{\pkgsectformat{holtxdoc}}
355 \label{holtxdoc}
356 \begin{abstract}
357 The package is used for the documentation of my packages in
358 DTX format. It contains some private macros and setup for
359 my needs. Thus do not use it. I have separated the part
360 that may be useful for others in package \xpackage{hypdoc}.
361 \end{abstract}
362 \tocinclude{holtxdoc}
363
364 \newpage
365 \subsection{\pkgsectformat{hypbmsec}}
366 \label{hypbmsec}
367 \begin{abstract}
368 This package expands the syntax of the sectioning commands. If the
369 argument of the sectioning commands isn't usable as outline entry,
370 a replacement for the bookmarks can be given.
371 \end{abstract}
372 \tocinclude{hypbmsec}
373
374 \newpage
375 \subsection{\pkgsectformat{hypgotoe}}
376 \label{hypgotoe}
377 \begin{abstract}
378 Experimental package for links to embedded files.
379 \end{abstract}
380 \tocinclude{hypgotoe}
381
382 \newpage
383 \subsection{\pkgsectformat{hyphsubst}}
384 \label{hyphsubst}
385 \begin{abstract}
386 A \TeX\ format file may include alternative hyphenation patterns
387 for a language with a different name. If the naming convention
388 follows \xpackage{babel's} rules, then the hyphenation patterns
389 for a language can be replaced by the alternative hyphenation patterns,
390 provided in the format file.
391 \end{abstract}
392 \tocinclude{hyphsubst}
393
394 \newpage
395 \subsection{\pkgsectformat{ifdraft}}
396 \label{ifdraft}
397 \begin{abstract}
398 The package provides an interface for selecting code depending
399 on the options \xoption{draft} and \xoption{final}.
400 \end{abstract}
401 \tocinclude{ifdraft}
402
403 \newpage
404 \subsection{\pkgsectformat{iflang}}
405 \label{iflang}
406 \begin{abstract}
407 This package provides expandible checks for the current language
408 based on macro \cs{languagename} or hyphenation patterns.
409 \end{abstract}
410 \tocinclude{iflang}
411
412 \newpage
413 \subsection{\pkgsectformat{pdfcolparallel}}
414 \label{pdfcolparallel}
415 \begin{abstract}
416 This packages fixes bugs in \xpackage{parallel} and
417 improves color support by using several color stacks
418 that are provided by \pdfTeX\ since version 1.40.
419 \end{abstract}
420 \tocinclude{pdfcolparallel}
421
422 \newpage
423 \subsection{\pkgsectformat{pdfcolparcolumns}}
424 \label{pdfcolparcolumns}
425 \begin{abstract}
426 Since version 1.40 \pdfTeX\ supports several color stacks.
427 This package uses them to fix color problems in
428 package \xpackage{parcolumns}.
429 \end{abstract}
430 \tocinclude{pdfcolparcolumns}
431
432 \newpage
433 \subsection{\pkgsectformat{pdfcrypt}}
434 \label{pdfcrypt}
435 \begin{abstract}
436 This package supports the setting of pdf encryption options
437 for \VTeX\ and some older versions of \pdfTeX.
438 \end{abstract}
439 \tocinclude{pdfcrypt}
440
441 \newpage
442 \subsection{\pkgsectformat{protecteddef}}
443 \label{protecteddef}
444 \begin{abstract}
445 This packages provides \cs{ProtectedDef} for defining
446 robust macros for both \hologo{plainTeX} and \hologo{LaTeX}.
447 First \hologo{eTeX}'s \cs{protected} is tried, then
448 \hologo{LaTeX}'s \cs{DeclareRobustCommand} is used.
449 Otherwise the macro is not made robust.
450 \end{abstract}
451 \tocinclude{protecteddef}
452
453 \newpage
454 \subsection{\pkgsectformat{resizegather}}
455 \label{resizegather}
456 \begin{abstract}
457 Equations that are too large are resized to fit the available
458 space. The environment \textsf{gather} of package \xpackage{amsmath}
459 is supported. Also the environments \textsf{equation} and
460 \textsf{displaymath} are redefined using \textsf{gather}
461 and its starred version.
462 \end{abstract}
463 \tocinclude{resizegather}
464
465 \newpage
466 \subsection{\pkgsectformat{rotchiffre}}
467 \label{rotchiffre}
468 \begin{abstract}
469 This package implements chiffres ROT13 with its variants
470 ROT5, ROT18, and ROT47.
471 \end{abstract}
472 \tocinclude{rotchiffre}
473
474 \newpage
475 \subsection{\pkgsectformat{scrindex}}
476 \label{scrindex}
477 \begin{abstract}
478 This package redefines environment `theindex' of package \xpackage{index},
479 if a class from KOMA-Script is loaded. Also option \xoption{idxtotoc}
480 is supported. Index preambles can be given either by means of package
481 \xpackage{index} or via the interface provided by KOMA-Script.
482 \end{abstract}
483 \tocinclude{scrindex}
484
485 \newpage
486 \subsection{\pkgsectformat{setouterhbox}}
487 \label{setouterhbox}
488 \begin{abstract}
489 If math stuff is set in an \cs{hbox}, then TeX
490 performs some optimization and omits the implicit
491 penalties \cs{binoppenalty} and \cs{relpenalty}.
492 This packages tries to put stuff into an \cs{hbox}
493 without getting lost of those penalties.
494 \end{abstract}
495 \tocinclude{setouterhbox}
496
497 \newpage
498 \subsection{\pkgsectformat{settobox}}
499 \label{settobox}
500 \begin{abstract}
501 Commands are defined for getting box sizes similar
502 to \LaTeX's \cs{settowidth} commands.
503 \end{abstract}
504 \tocinclude{settobox}
505
506 \newpage
507 \subsection{\pkgsectformat{stackrel}}
508 \label{stackrel}
509 \begin{abstract}
510 This package adds an optional argument to \cs{stackrel} for
511 putting something below the relational symbol and defines
512 \cs{stackbin} for binary symbols.
513 \end{abstract}
514 \tocinclude{stackrel}
515
516 \newpage
517 \subsection{\pkgsectformat{stampinclude}}
518 \label{stampinclude}
519 \begin{abstract}
520 The package replaces \cs{includeonly} and selects the files for
521 \cs{include} by inspecting the time stamp of the \xext{aux} file.
522 The file is selected for inclusion if the \xext{aux} file does
523 not yet exist or is older than the corresponding \xext{tex} file.
524 \end{abstract}
525 \tocinclude{stampinclude}
526
527 \newpage
528 \subsection{\pkgsectformat{thepdfnumber}}
529 \label{thepdfnumber}
530 \begin{abstract}
531 The package converts real numbers to a minimal representation
532 that is stripped from leading or trailing zeros,
533 plus signs and decimal point if not necessary.
534 \end{abstract}
535 \tocinclude{thepdfnumber}
536
537
538 \newpage
539 \subsection{\pkgsectformat{twoopt}}
540 \label{twoopt}
541 \begin{abstract}
542 This package provides commands to define macros with two
543 optional arguments.
544 \end{abstract}
545 \tocinclude{twoopt}
546
547
548 \end{document}