File: ex5.tex

package info (click to toggle)
latex-mk 2.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,988 kB
  • ctags: 243
  • sloc: sh: 4,252; makefile: 165
file content (35 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (4)
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
% $Id: ex5.tex,v 1.2 2006/06/09 18:08:38 dan Exp $
%

\documentclass[11pt]{article}

\usepackage{makeidx}

\title{Example Document Number 5}
\author{Someone}
\date{\today}

\usepackage{fancyhdr}
\pagestyle{fancy}
\rhead{Indexed Doc}
\usepackage{hyperref}

\makeindex
\makeglossary

\begin{document}
\maketitle
\section{Introduction}
This document\glossary{a document} includes\index{documents, with index} an index.

\section{Section 2}
We index words\index{words, indexed} from this section too.

\section{Index}
\printindex

\section{Glossary}
%\printglossary

\end{document}