File: codepage.drv

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 (79 lines) | stat: -rw-r--r-- 2,383 bytes parent folder | download | duplicates (13)
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
\documentclass{article}
\usepackage{doc}

%
%-------------------------------------------Macro used by the documentaion-----------------------------
%
\makeatletter
\def\CarSmaller{\ifx\@currsize\normalsize
                        \small
                   \else
                     \ifx\@currsize\small
                        \footnotesize
                     \else
                        \ifx\@currsize\footnotesize
                            \scriptsize
                        \else
                           \ifx\@currsize\scriptsize
                               \tiny % we cannot have less
                           \fi
                        \fi
                     \fi
                   \fi
                   \ifx\@currsize\large
                      \normalsize
                   \else
                    \ifx\@currsize\Large
                         \large
                      \else
                         \ifx\@currsize\LARGE
                             \Large
                         \else
                            \ifx\@currsize\huge
                               \LARGE
                            \else
                               \ifx\@currsize\Huge
                                  \huge
                               \fi
                            \fi
                         \fi
                      \fi
                   \fi
                 }% \CarSmaller
\makeatother

\let\iffrench=\iffalse
\let\ifenglish=\iftrue

\chardef\Circonflexe="5E
\chardef\TildeChar="7E
\chardef\bslash='134
\let\ft=\footnote
\def\Fich#1{{\CarSmaller\sf #1}} % write a file name
\def\Comm#1{{\CarSmaller\tt\bslash #1}}

%
%------------------------------------------Page dimensions---------------------------------------------
%
% Suppression of the standard TeX offset
\hoffset=-1in
\voffset=-1in

\setlength{\parindent}{0pt}
\setlength{\oddsidemargin}{4.5cm}
\setlength{\marginparwidth}{4cm}
\setlength{\textwidth}{15cm}
\setlength{\textheight}{24cm}
%
%----------------------------------------------Doc package parameters-----------------------------------
%
%\OnlyDescription %Only the description of package, not the implementation will be printed
\DisableCrossrefs   % no full index
\CodelineIndex     % by line number
\RecordChanges     % make change history


\begin{document}
\DocInput{codepage.dtx} \PrintIndex \PrintChanges
\end{document}