File: dosepsbin.ltx

package info (click to toggle)
texlive-extra 2022.20230122-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,466,588 kB
  • sloc: perl: 398,710; xml: 35,871; python: 29,125; cs: 25,850; sh: 17,610; makefile: 17,304; ansic: 15,490; java: 12,811; javascript: 9,898; lisp: 1,755; csh: 1,129; ruby: 1,072; awk: 151; tcl: 142; pascal: 138; cpp: 41; sed: 36; haskell: 5
file content (100 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download | duplicates (9)
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
% dosepsbin.ltx
%
% Copyright 2011-2012 by Heiko Oberdiek.
%
% The file is part of project dosepsbin.
% It's free software; you may redistribute it and/or
% modify it under the same terms as Perl itself
% (Perl Artistic License/GNU General Public License, version 2).

\documentclass[a4paper,12pt]{article}

\providecommand*{\DATE}{2012/03/22}
\providecommand*{\VERSION}{1.2}

\usepackage[
  hmargin=1in,
  top=.75in,
  bottom=.5in,
  includefoot,
  headheight=14.5pt,
  footskip=40pt,
]{geometry}

\usepackage{fancyhdr}
\renewcommand*{\headrulewidth}{0pt}
\renewcommand*{\footrulewidth}{0.4pt}
\fancyhead{}
\fancyfoot[L]{\textsf{dosepsbin}}
\fancyfoot[C]{\DATE\ v\VERSION}
\fancyfoot[R]{\thepage}
\pagestyle{fancy}
\makeatletter
\let\ps@plain\ps@fancy
\makeatother

\makeatletter
\renewenvironment*{theindex}{%
  \section*{\indexname}%
  \setlength{\parindent}{0pt}%
  \setlength{\parskip}{0pt plus .3pt}%
  \let\item\@idxitem
}{%
  \clearpage
}
\makeatother

\usepackage{ifluatex}
\ifluatex
  \usepackage{fontspec}
\else
  \usepackage[T1]{fontenc}%
  \usepackage{lmodern}%
  \usepackage[utf8]{inputenc}%
\fi

\usepackage{makeidx}

\usepackage{hyperref}
\hypersetup{
  colorlinks,
  pdfauthor={Heiko Oberdiek},
  pdftitle={dosepsbin},
}
\definecolor{linkcolor}{rgb}{0,0,.8}
\hypersetup{
  linkcolor=linkcolor,
}

\usepackage{bookmark}
\bookmarksetup{
  open,
  numbered,
}

\makeindex

\author{Heiko Oberdiek}
\title{Program \textsf{dosepsbin}}
\date{\DATE\space v\VERSION}

% ignore minor overfull \hbox warnings
\setlength{\hfuzz}{1.5pt}

\begin{document}

\maketitle

\pdfbookmark[1]{\contentsname}{toc}
\tableofcontents

\makeatletter
\let\org@section\section
\def\section{\@ifstar\org@section\org@section}
\makeatother

\input{dosepsbin.tex}

\printindex

\end{document}