blob: 3af4940b3d8579604a08a318c90cc9d4febf55fe (
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
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
|
\documentclass[a4paper]{article}
% generated by Docutils <http://docutils.sourceforge.net/>
\usepackage{fixltx2e} % LaTeX patches, \textsubscript
\usepackage{cmap} % fix search and cut-and-paste in Acrobat
\usepackage{ifthen}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\setcounter{secnumdepth}{0}
%%% Custom LaTeX preamble
% PDF Standard Fonts
\usepackage{mathptmx} % Times
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
%%% User specified packages and stylesheets
%%% Fallback definitions for Docutils-specific commands
% hyperlinks:
\ifthenelse{\isundefined{\hypersetup}}{
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}
\urlstyle{same} % normal text font (alternatives: tt, rm, sf)
}{}
\hypersetup{
pdftitle={table of contents},
}
%%% Title Data
\title{\phantomsection%
table of contents%
\label{table-of-contents}}
\author{}
\date{}
%%% Body
\begin{document}
\maketitle
%
\phantomsection\label{contents}
\pdfbookmark[1]{Contents}{contents}
\tableofcontents
\section{Quick-Start%
\label{quick-start}%
}
Test latex table of contents usage.
\subsection{Sub section%
\label{sub-section}%
}
Needs some content
\section{A section%
\label{a-section}%
}
\subsection{Subsection again%
\label{subsection-again}%
}
This should do it.
\end{document}
|