Debian Codegraph @

texmf-dist/doc/latex/ucph-revy/Thumbindex.tex

raw
1 %%
2 %% This is file `Thumbindex.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ucph-revy.dtx (with options: `registerindex')
8 %%
9 %% Copyright (C) 2023 Kristoffer Levin Hansen
10 %%
11 %% This file may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either
13 %% version 1.3 of this license or (at your option) any later
14 %% version. The latest version of this license is in:
15 %%
16 %% http://www.latex-project.org/lppl.txt
17 %%
18 %% and version 1.3 or later is part of all distributions of
19 %% LaTeX version 2005/12/01 or later.
20 %%
21
22 \documentclass[a4paper,11pt,thumbindex]{article}
23
24 \usepackage[utf8]{inputenc}
25 \usepackage[T1]{fontenc}
26 \usepackage[danish]{babel}
27 \usepackage{calc}
28 \usepackage{tikz}
29
30 \version{1.0}
31 \title{Registerindeks}
32
33 \begin{document}
34 \thispagestyle{empty}
35 \newlength{\torightside}
36 \setlength{\torightside}{ \paperwidth - 1in - \hoffset %
37 - \oddsidemargin + .6cm}
38 \newlength{\totop}
39 \setlength{\totop}{ -\headsep - \headheight - \topmargin %
40 - \voffset - 1in - .5cm}
41
42 \vbox to 0pt{\vskip \totop \hbox to \torightside{\hss%
43 \rectothumbindexwithtitles%
44 }}
45 \vbox to 0pt{\tikz \path (0,0) -- (0, -.5\textheight)
46 node[rotate=90]{\parbox{\textheight}{\maketitle}}; }
47 \end{document}
48 \endinput
49 %%
50 %% End of file `Thumbindex.tex'.