| 1 |
%% |
| 2 |
%% This is file `textpos.drv', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% textpos.dtx (with options: `driver') |
| 8 |
%% Textpos: absolute positioning of text on the page |
| 9 |
%%%% File: textpos.dtx |
| 10 |
%%%% Copyright 1999-2020, Norman Gray |
| 11 |
%% |
| 12 |
%% This work may be distributed and/or modified under the |
| 13 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 14 |
%% of this license or (at your option) any later version. |
| 15 |
%% The latest version of this license is in |
| 16 |
%% https://www.latex-project.org/lppl.txt |
| 17 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 18 |
%% version 2005/12/01 or later. |
| 19 |
%% |
| 20 |
%% This work has the LPPL maintenance status `maintained'. |
| 21 |
%% |
| 22 |
%% The Current Maintainer of this work is Norman Gray <https://nxg.me.uk> |
| 23 |
%% |
| 24 |
%% This work consists of the files textpos.dtx and textpos.ins, |
| 25 |
%% and the derived file textpos.sty. |
| 26 |
%% |
| 27 |
%% Author: Norman Gray, [email protected] |
| 28 |
%% Department of Physics and Astronomy, University of Glasgow, UK |
| 29 |
%% |
| 30 |
%% See the file LICENCE for a copy of the LPPL. |
| 31 |
%% |
| 32 |
%% Mercurial ident: 1.10.1 (@VCSINFO) |
| 33 |
%% |
| 34 |
\documentclass{ltxdoc} |
| 35 |
\title{Textpos: absolute positioning of text on the page} |
| 36 |
\author{Norman Gray\\(\texttt{https://nxg.me.uk})} |
| 37 |
\date{Version 1.10.1, 2022 July 23\footnote{This software is copyright, 1999-2020 Norman Gray. |
| 38 |
It is released under the terms of the LaTeX Project Public License, |
| 39 |
either version 1.3 of this licence or (at your option) any later version. |
| 40 |
The latest version of this license is at \texttt{https://www.latex-project.org/lppl.txt}.}} |
| 41 |
\newcommand\Lopt[1]{\textsf {\small [#1]}} |
| 42 |
\newcommand\file[1]{\texttt {#1}} |
| 43 |
\newcommand\Lcount[1]{\textsl{\small#1}} |
| 44 |
\newcommand\Lenv[1]{\texttt{\{#1\}}} |
| 45 |
\newcommand\pstyle[1]{\textsf{#1}} |
| 46 |
\makeatletter % make the ttfamily font less overbearingly large |
| 47 |
\renewcommand\ttfamily{\not@math@alphabet\ttfamily\mathtt |
| 48 |
\fontfamily\ttdefault |
| 49 |
\fontsize{9}{\f@baselineskip}\selectfont} |
| 50 |
\makeatother |
| 51 |
\def\LaTeXiie{\LaTeX$2\epsilon$} |
| 52 |
\def\activemeta#1>{\meta{#1}} |
| 53 |
{\catcode`\<=\active |
| 54 |
\gdef\cmd{\begingroup |
| 55 |
\catcode`\\=12 \catcode`\{=12 \catcode`\}=12 |
| 56 |
\catcode`\<=\active \let<\activemeta |
| 57 |
\catcode`\|=12 |
| 58 |
\docmd}} |
| 59 |
\def\docmd|#1|{\texttt{#1}\endgroup} |
| 60 |
%% \url macro (url.sty does this better) |
| 61 |
\def\setpathdots{\discretionary{.}{}{.}} |
| 62 |
\def\setpathslash{\discretionary{/}{}{/}} |
| 63 |
{\catcode`\.=\active |
| 64 |
\catcode`\/=\active |
| 65 |
\gdef\pathcats{% |
| 66 |
\catcode`\%=12 \catcode`\~=12 |
| 67 |
\catcode`\.=\active \let.\setpathdots |
| 68 |
\catcode`\/=\active \let/\setpathslash |
| 69 |
\catcode`\#=12 \catcode`\_=12}% |
| 70 |
} |
| 71 |
\def\setpath#1{\ttfamily\small <\nobreak #1\nobreak>\endgroup} |
| 72 |
\def\url{\begingroup\pathcats\setpath} |
| 73 |
\begin{document} |
| 74 |
\maketitle |
| 75 |
\tableofcontents |
| 76 |
%% \bigskip |
| 77 |
%% \hrule |
| 78 |
%% \bigskip |
| 79 |
\newpage |
| 80 |
\DocInput{textpos.dtx} |
| 81 |
\end{document} |
| 82 |
|
| 83 |
\endinput |
| 84 |
%% |
| 85 |
%% End of file `textpos.drv'. |