summaryrefslogtreecommitdiff
path: root/usergrps/uktug/baskervi/6_4/sample-texbook.tex
blob: 96360f98116ac008f85a6ddd3ee1359ab8d66187 (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
%% LaTeX2e file `t.tex'
%%
\hsize 3in
\baselineskip 13pt
\pdfoutput=1              % we will produce PDF instead of DVI
\pdfannottext
    open                  % optional specification if the text annotation is implicitly opened
    {The text annotation} % the text itself
\def\BL{\pdfannotlink
    depth 3pt height 8pt  % optional specification for link size
    1                     % key of destination
    border 0 0 1          % optional specification for link border
}
\def\EL{\pdfendlink}
\pdfoutline
    1                     % key of destination
    0                     % number of sub-entries of this item
    {The outline entry}   % Text of this item
\pdfdestxyz
    1                     % key of this destination
    zoom 2                % optional zoom factor
%\pdfdestfit  1 or %\pdfdestfith 1 or %\pdfdestfitv 1
%\pdfdestfitr 1 ... \pdfendfitr

This is \TeX, a document compiler intended to produce typesetting of
high quality.  The PASCAL program that follows is the definition of
\TeX82, a standard version of \TeX\ that is designed to be highly
portable so that identical output will be obtainable on a great
variety of computers.

The main purpose of the following program is to explain the algorithms
of \TeX\ as clearly as possible. \BL As a result, the program will not
necessarily be very efficient when a particular PASCAL compiler has
translated it into a particular machine language.\EL\ However, the
program has been written so that ...
\bye