summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/oberdiek/oberdiek.tex
blob: 9b7cb6857f6432453a0baf44268e7e11ddc21e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
\NeedsTeXFormat{LaTeX2e}

\newcommand*{\Title}{Overview}
\newcommand*{\CTANdir}{macros/latex/contrib/oberdiek/}
\newcommand*{\CTANroot}{http://mirror.ctan.org/}
\newcommand*{\CTANpkg}[1]{%
  \href{http://ctan.org/pkg/#1}{[ctan]}%
}
\newcommand*{\Subject}{CTAN:\CTANdir}
\newcommand*{\Author}{Heiko Oberdiek}

\newcommand*{\Email}{ho-tex at tug.org}
\newcommand*{\Date}{2020/09/02}

% Copyright (C) 2006-2016 by
%    Heiko Oberdiek
% Copyright (C) 2016-2020 by
%    Oberdiek Package Support Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3 of this license or (at your option) any later
% version. The latest version of this license is in
%    http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of
% LaTeX version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
%
% This Current Maintainer of this work is the Oberdiek Package Support Group.
%
% This work consists of the overview "oberdiek.pdf", its source
% "oberdiek.tex", and the installation script "oberdiek.ins"
% for the projects in CTAN:macros/latex/contrib/oberdiek/.
%
\documentclass[a4paper,12pt]{article}

\usepackage{iftex}
\ifluatex
  \usepackage{unicode-math}[2011/09/19]%
\fi

\usepackage[
  ignorehead,
  top=1in,
]{geometry}
\usepackage{longtable}
\usepackage{color}
\usepackage[ngerman,english]{babel}
\usepackage{hologo}
\usepackage{biblatex}% for internals in .toc files

\definecolor{link}{rgb}{1,0,0}% red
\definecolor{file}{rgb}{0,0,1}% blue
\definecolor{url}{cmyk}{0.1,1,0,0.1}

\definecolor{file}{rgb}{1,0,0}% red
\definecolor{url}{rgb}{0,0,1}% blue
\definecolor{link}{rgb}{0,0.75,0}%

\usepackage[
  colorlinks,
]{hyperref}[2006/02/12]
\hypersetup{
  pdftitle={CTAN:\CTANdir},
  pdfsubject={Package Overview},
  pdfauthor={\Author\ <\Email>},
  bookmarksnumbered,
  bookmarksopen,
  bookmarksopenlevel=2,
  bookmarksdepth=2,
  filecolor=file,
  urlcolor=url,
  linkcolor=link,
}
\usepackage{bookmark}
\usepackage{hypdestopt}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{1}

\title{%
  \href{\CTANroot\CTANdir}{CTAN:\CTANdir}%
}
\author{%
  \Author\thanks
 {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}\\
  \textless
  \href{mailto:\Email}{\texttt{\Email}}%
  \textgreater
}
\date{\Date}

\providecommand*{\pdfTeX}{pdf\TeX}
\providecommand*{\plainTeX}{\mbox{plain-\TeX}}
\providecommand*{\iniTeX}{\mbox{ini-\TeX}}
\providecommand*{\VTeX}{V\TeX}
\providecommand*{\eTeX}{$\csname m@th\endcsname\varepsilon$-\TeX}
\providecommand*{\LuaTeX}{%
  L\textsc{ua}\TeX
}
\newcommand*{\xpackage}[1]{\textsf{#1}}
\newcommand*{\xmodule}[1]{\textsf{#1}}
\newcommand*{\xfile}[1]{\texttt{#1}}
\newcommand*{\xext}[1]{\texttt{.#1}}
\newcommand*{\xoption}[1]{\textsf{#1}}
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
\newcommand*{\meta}[1]{%
  \ensuremath\langle
  \textit{#1}%
  \ensuremath\rangle
}

\makeatletter
\g@addto@macro\abstract{\noindent\ignorespaces}

\newcommand*{\tocinclude}[1]{%
  \setcounter{tocdepth}{3}%
  \begingroup
    \makeatletter
    \def\@prj{#1}%
    \let\contentsline\foreign@contentsline
    \input{\@prj.toc}%
  \endgroup
}
\def\foreign@contentsline#1#2#3#4{%
  \ifx\\#4\\%
    \csname l@#1\endcsname{#2}{#3}%
  \else
    \ifHy@linktocpage
      \csname l@#1\endcsname{{#2}}{%
        \hyper@linkfile{#3}{\@prj.pdf}{#4}%
      }%
    \else
      \csname l@#1\endcsname{%
        \hyper@linkfile{#2}{\@prj.pdf}{#4}%
      }{#3}%
    \fi
  \fi
}%

\newenvironment{overview}{%
  \setlength{\tabcolsep}{0.8\tabcolsep}%
  \setlength{\LTleft}{0pt}%
  \longtable{@{}lll@{}}
}{%
  \endlongtable
}
\newcommand*{\entry}[2]{%
  \href{file:#1.pdf}{%
    \bfseries\xpackage{#1}%
  }%
   &
    #2%
  & \CTANpkg{#1} %
  \\*%
  \hyperref[{#1}]{\small (contents)}%
  &
  \\%
}
\newcommand*{\entrysep}{1.5ex}

\newcommand*{\pkgsectformat}[1]{%
  \texorpdfstring{%
    \textcolor{link}{The} %
    \xpackage{#1} %
    \textcolor{link}{package}%
  }{#1}%
}

\makeatother

\begin{document}
\maketitle

\section{Overview}
\begin{overview}
\entry{aliascnt}{Alias counters}%
[\entrysep]
\entry{bmpsize}{Extract size/resolution from bitmap files}%
[\entrysep]
\entry{centernot}{Centers the not symbol horizontally}%
[\entrysep]
\entry{chemarr}{Arrows for chemical reactions}%
[\entrysep]
\entry{classlist}{Record classes used in a document}%
[\entrysep]
\entry{colonequals}{Colon equals symbols}%
[\entrysep]
\entry{dvipscol}{Alter the usage of the dvips color stack}%
[\entrysep]
\entry{engord}{Provides English ordinal numbers}%
[\entrysep]
\entry{enparen}{Parentheses nesting}%
[\entrysep]
\entry{eolgrab}{Catch arguments delimited by end of line}%
[\entrysep]
\entry{fibnum}{Fibonacci numbers}%
[\entrysep]
\entry{flags}{Setting/clearing of flags in bit fields}%
[\entrysep]
\entry{holtxdoc}{Private additional ltxdoc support}%
[\entrysep]
\entry{hypbmsec}{Bookmarks in sectioning commands}%
[\entrysep]
\entry{hypcap}{Adjusting the anchors of captions}%
[\entrysep]
\entry{hypdoc}{Hyper extensions for doc.sty}%
[\entrysep]
\entry{hypgotoe}{Links to embedded files}%
[\entrysep]
\entry{hyphsubst}{Substitute hyphenation patterns}%
[\entrysep]
\entry{ifdraft}{Detect class options draft and final}%
[\entrysep]
\entry{iflang}{Checks for the current language}%
[\entrysep]
\entry{pagegrid}{Print page grid in background}%
[\entrysep]
\entry{pdfcol}{Handle new color stacks for \hologo{pdfTeX}}%
[\entrysep]
\entry{pdfcolfoot}{Color stack for footnotes with \hologo{pdfTeX}}%
[\entrysep]
\entry{pdfcolparallel}{Color stacks support for parallel}%
[\entrysep]
\entry{pdfcolparcolumns}{Color stacks for parcolumns}%
[\entrysep]
\entry{pdfcrypt}{Allows the setting of PDF encryption}%
[\entrysep]
\entry{pdfrender}{Access to some PDF graphics parameters}%
[\entrysep]
\entry{protecteddef}{Define protected commands}%
[\entrysep]
\entry{resizegather}{Resize overly large equations}%
[\entrysep]
\entry{rotchiffre}{Perform simple rotation ciphers}%
[\entrysep]
\entry{scrindex}{Package index with \hologo{KOMAScript} classes}%
[\entrysep]
\entry{setouterhbox}{Set hbox in outer horizontal mode}%
[\entrysep]
\entry{settobox}{Assign box dimensions to length registers}%
[\entrysep]
\entry{stackrel}{Adding subscript option to stackrel}%
[\entrysep]
\entry{stampinclude}{Include files based on time stamps}%
[\entrysep]
\entry{tabularht}{Tabular with height specified}%
[\entrysep]
\entry{tabularkv}{Tabular with key value interface}%
[\entrysep]
\entry{telprint}{Format German phone numbers}%
[\entrysep]
\entry{thepdfnumber}{Print PDF numbers with minimal digits}%
[\entrysep]
\entry{twoopt}{Definitions with two optional arguments}%
\end{overview}

\section{Packages}
\hypersetup{bookmarksnumbered=false}

\subsection{\pkgsectformat{aliascnt}}
\label{aliascnt}
\begin{abstract}
Package \xpackage{aliascnt} introduces \emph{alias counters} that
share the same counter register and clear list.
\end{abstract}
\tocinclude{aliascnt}

\newpage
\subsection{\pkgsectformat{bmpsize}}
\label{bmpsize}
\begin{abstract}
Package \xpackage{bmpsize} analyzes bitmap images to extract
size and resolution data. It adds this feature to the graphics package
that now do not need separate bounding box files for bitmap images.
Additionally the implementation for the inclusion of bitmap images
in some drivers of package \xpackage{graphicx} are rewritten to support
options \xoption{viewport}, \xoption{trim} and \xoption{clip}.
\end{abstract}
\tocinclude{bmpsize}

\newpage
\subsection{\pkgsectformat{centernot}}
\label{centernot}
\begin{abstract}
This package provides \cs{centernot} that prints the symbol
\cs{not} on the following argument. Unlike \cs{not} the symbol
is horizontally centered.
\end{abstract}
\tocinclude{centernot}

\newpage
\subsection{\pkgsectformat{chemarr}}
\label{chemarr}
\begin{abstract}
Very often chemists need a longer version
of reaction arrows (\cs{rightleftharpoons}) with
the possibility to put text above and below.
Analogous to \xpackage{amsmath}'s \cs{xrightarrow} and
\cs{xleftarrow} this package provides the macro
\cs{xrightleftharpoons}.
\end{abstract}
\tocinclude{chemarr}

\newpage
\subsection{\pkgsectformat{classlist}}
\label{classlist}
\begin{abstract}
This package records the loaded classes and stores
them in a list.
\end{abstract}
\tocinclude{classlist}

\newpage
\subsection{\pkgsectformat{colonequals}}
\label{colonequals}
\begin{abstract}
Package \xpackage{colonequals} defines poor man's symbols
for math relation symbols such as ``colon equals''.
The colon is centered around the horizontal math axis.
\end{abstract}
\tocinclude{colonequals}

\newpage
\subsection{\pkgsectformat{dvipscol}}
\label{dvipscol}
\begin{abstract}
Color support for dvips in \xfile{dvips.def} involves the
color stack of dvips. The package tries to remove unnecessary
uses of the stack to avoid the error ``out of coor stack space''.
\end{abstract}
\tocinclude{dvipscol}


\newpage
\subsection{\pkgsectformat{engord}}
\label{engord}
\begin{abstract}
The package generates the suffix of English ordinal numbers.
It can be used with plain and \LaTeX\ formats.
\end{abstract}
\tocinclude{engord}

\newpage
\subsection{\pkgsectformat{enparen}}
\label{enparen}
\begin{abstract}
The package defines macros to set parentheses that automatically
change the symbols from inner to outer fences.
\end{abstract}
\tocinclude{enparen}

\newpage
\subsection{\pkgsectformat{eolgrab}}
\label{eolgrab}
\begin{abstract}
This package implements a generic argument grabber
to catch an argument that is delimited by the line end.
\end{abstract}
\tocinclude{eolgrab}

\newpage
\subsection{\pkgsectformat{fibnum}}
\label{fibnum}
\begin{abstract}
The package \xpackage{fibnum} provides expandable fibonacci
numbers for both \hologo{LaTeX} and \hologo{plainTeX}.
\end{abstract}
\tocinclude{fibnum}

\newpage
\subsection{\pkgsectformat{flags}}
\label{flags}
\begin{abstract}
Package \xpackage{flags} allows the setting and clearing
of flags in bit fields and converts the bit field into a
decimal number. Currently the bit field is limited to 31 bits.
\end{abstract}
\tocinclude{flags}

\newpage
\subsection{\pkgsectformat{holtxdoc}}
\label{holtxdoc}
\begin{abstract}
The package is used for the documentation of my packages in
DTX format. It contains some private macros and setup for
my needs. Thus do not use it. I have separated the part
that may be useful for others in package \xpackage{hypdoc}.
\end{abstract}
\tocinclude{holtxdoc}

\newpage
\subsection{\pkgsectformat{hypbmsec}}
\label{hypbmsec}
\begin{abstract}
This package expands the syntax of the sectioning commands. If the
argument of the sectioning commands isn't usable as outline entry,
a replacement for the bookmarks can be given.
\end{abstract}
\tocinclude{hypbmsec}

\newpage
\subsection{\pkgsectformat{hypcap}}
\label{hypcap}
\begin{abstract}
This package tries a solution of the problem with
hyperref, that links to floats points below the
caption and not at the beginning of the float.
Therefore this package divides the task into two
part, the link setting with \cs{capstart} or
automatically at the beginning of a float and
the rest in the \cs{caption} command.
\end{abstract}
\tocinclude{hypcap}

\newpage
\subsection{\pkgsectformat{hypdoc}}
\label{hypdoc}
\begin{abstract}
This package adds hyper features to the package
\xpackage{doc} that is used in the documentation
system of \LaTeXe. Bookmarks are added and references
are linked as far as possible.
\end{abstract}
\tocinclude{hypdoc}

\newpage
\subsection{\pkgsectformat{hypgotoe}}
\label{hypgotoe}
\begin{abstract}
Experimental package for links to embedded files.
\end{abstract}
\tocinclude{hypgotoe}

\newpage
\subsection{\pkgsectformat{hyphsubst}}
\label{hyphsubst}
\begin{abstract}
A \TeX\ format file may include alternative hyphenation patterns
for a language with a different name. If the naming convention
follows \xpackage{babel's} rules, then the hyphenation patterns
for a language can be replaced by the alternative hyphenation patterns,
provided in the format file.
\end{abstract}
\tocinclude{hyphsubst}

\newpage
\subsection{\pkgsectformat{ifdraft}}
\label{ifdraft}
\begin{abstract}
The package provides an interface for selecting code depending
on the options \xoption{draft} and \xoption{final}.
\end{abstract}
\tocinclude{ifdraft}

\newpage
\subsection{\pkgsectformat{iflang}}
\label{iflang}
\begin{abstract}
This package provides expandible checks for the current language
based on macro \cs{languagename} or hyphenation patterns.
\end{abstract}
\tocinclude{iflang}

\newpage
\subsection{\pkgsectformat{pagegrid}}
\label{pagegrid}
\begin{abstract}
The \LaTeX\ package prints a page grid in the background.
\end{abstract}
\tocinclude{pagegrid}

\newpage
\subsection{\pkgsectformat{pdfcol}}
\label{pdfcol}
\begin{abstract}
Since version 1.40 \pdfTeX\ supports color stacks.
The driver file \xfile{pdftex.def} for package \xpackage{color}
defines and uses a main color stack since version v0.04b.
Package \xpackage{pdfcol} is intended for package writers.
It defines macros for setting and maintaining new color stacks.
\end{abstract}
\tocinclude{pdfcol}

\newpage
\subsection{\pkgsectformat{pdfcolfoot}}
\label{pdfcolfoot}
\begin{abstract}
Since version 1.40 \pdfTeX\ supports several color stacks. This
package uses a separate color stack for footnotes that can break
across pages.
\end{abstract}
\tocinclude{pdfcolfoot}

\newpage
\subsection{\pkgsectformat{pdfcolparallel}}
\label{pdfcolparallel}
\begin{abstract}
This packages fixes bugs in \xpackage{parallel} and
improves color support by using several color stacks
that are provided by \pdfTeX\ since version 1.40.
\end{abstract}
\tocinclude{pdfcolparallel}

\newpage
\subsection{\pkgsectformat{pdfcolparcolumns}}
\label{pdfcolparcolumns}
\begin{abstract}
Since version 1.40 \pdfTeX\ supports several color stacks.
This package uses them to fix color problems in
package \xpackage{parcolumns}.
\end{abstract}
\tocinclude{pdfcolparcolumns}

\newpage
\subsection{\pkgsectformat{pdfcrypt}}
\label{pdfcrypt}
\begin{abstract}
This package supports the setting of pdf encryption options
for \VTeX\ and some older versions of \pdfTeX.
\end{abstract}
\tocinclude{pdfcrypt}

\newpage
\subsection{\pkgsectformat{pdfrender}}
\label{pdfrender}
\begin{abstract}
The PDF format has some graphics parameter like
line width or text rendering mode. This package
provides an interface for setting these parameters.
\end{abstract}
\tocinclude{pdfrender}


\newpage
\subsection{\pkgsectformat{protecteddef}}
\label{protecteddef}
\begin{abstract}
This packages provides \cs{ProtectedDef} for defining
robust macros for both \hologo{plainTeX} and \hologo{LaTeX}.
First \hologo{eTeX}'s \cs{protected} is tried, then
\hologo{LaTeX}'s \cs{DeclareRobustCommand} is used.
Otherwise the macro is not made robust.
\end{abstract}
\tocinclude{protecteddef}

\newpage
\subsection{\pkgsectformat{resizegather}}
\label{resizegather}
\begin{abstract}
Equations that are too large are resized to fit the available
space. The environment \textsf{gather} of package \xpackage{amsmath}
is supported. Also the environments \textsf{equation} and
\textsf{displaymath} are redefined using \textsf{gather}
and its starred version.
\end{abstract}
\tocinclude{resizegather}

\newpage
\subsection{\pkgsectformat{rotchiffre}}
\label{rotchiffre}
\begin{abstract}
This package implements chiffres ROT13 with its variants
ROT5, ROT18, and ROT47.
\end{abstract}
\tocinclude{rotchiffre}

\newpage
\subsection{\pkgsectformat{scrindex}}
\label{scrindex}
\begin{abstract}
This package redefines environment `theindex' of package \xpackage{index},
if a class from KOMA-Script is loaded. Also option \xoption{idxtotoc}
is supported. Index preambles can be given either by means of package
\xpackage{index} or via the interface provided by KOMA-Script.
\end{abstract}
\tocinclude{scrindex}

\newpage
\subsection{\pkgsectformat{setouterhbox}}
\label{setouterhbox}
\begin{abstract}
If math stuff is set in an \cs{hbox}, then TeX
performs some optimization and omits the implicite
penalties \cs{binoppenalty} and \cs{relpenalty}.
This packages tries to put stuff into an \cs{hbox}
without getting lost of those penalties.
\end{abstract}
\tocinclude{setouterhbox}

\newpage
\subsection{\pkgsectformat{settobox}}
\label{settobox}
\begin{abstract}
Commands are defined for getting box sizes similar
to \LaTeX's \cs{settowidth} commands.
\end{abstract}
\tocinclude{settobox}

\newpage
\subsection{\pkgsectformat{stackrel}}
\label{stackrel}
\begin{abstract}
This package adds an optional argument to \cs{stackrel} for
putting something below the relational symbol and defines
\cs{stackbin} for binary symbols.
\end{abstract}
\tocinclude{stackrel}

\newpage
\subsection{\pkgsectformat{stampinclude}}
\label{stampinclude}
\begin{abstract}
The package replaces \cs{includeonly} and selects the files for
\cs{include} by inspecting the time stamp of the \xext{aux} file.
The file is selected for inclusion if the \xext{aux} file does
not yet exist or is older than the corresponding \xext{tex} file.
\end{abstract}
\tocinclude{stampinclude}

\newpage
\subsection{\pkgsectformat{tabularht}}
\label{tabularht}
\begin{abstract}
This package defines some environments that adds
a height specification to tabular and array.
\end{abstract}
\tocinclude{tabularht}

\newpage
\subsection{\pkgsectformat{tabularkv}}
\label{tabularkv}
\begin{abstract}
This package adds a key value interface for tabular
by the new environment \texttt{tabularkv}. Thus the
\TeX\ source code looks better by named parameters,
especially if package \xpackage{tabularht} is used.
\end{abstract}
\tocinclude{tabularkv}

\newpage
\subsection{\pkgsectformat{telprint}}
\label{telprint}
\begin{abstract}
Package \xpackage{telprint} provides \cs{telprint} for formatting
German phone numbers.
\end{abstract}
\tocinclude{telprint}

\newpage
\subsection{\pkgsectformat{thepdfnumber}}
\label{thepdfnumber}
\begin{abstract}
The package converts real numbers to a minimal representation
that is stripped from leading or trailing zeros,
plus signs and decimal point if not necessary.
\end{abstract}
\tocinclude{thepdfnumber}


\newpage
\subsection{\pkgsectformat{twoopt}}
\label{twoopt}
\begin{abstract}
This package provides commands to define macros with two
optional arguments.
\end{abstract}
\tocinclude{twoopt}


\end{document}