summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xbmks/examples/stand-alone.tex
blob: cb2a34fe0b628b6d9b03705b3d57ea90789ae924 (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
\documentclass[12pt]{article}
\usepackage{xcolor}
\usepackage[bookmarksopen]{hyperref}
\usepackage{xbmks}

\title{Stand alone document}
\author{D. P. Story}

\xbmksetup{%
%  docbundle={\jobname},
  colors={intdoc=red,extdoc},
  style={intbf}
}

\begin{document}

\maketitle

\section{Section One}

When the \texttt{docbundle} key is either empty or is not present, \textsf{xbmks} sets it
to \verb~\jobname~. No cross-document bookmarks are generated because there was no specification
for creating (multiple values for \texttt{docbundle}); instead, we obtain a standard document
with bookmarks, but the color and style of of the bookmarks are controlled by the \texttt{colors}
and \texttt{style} keys, as seen in the preamble.

\subsection{Section One: subSec 1}

Some content goes here.

\newpage


\section{Section Two}

Some content goes here.


\subsection{Section Two: subSec 1}

Some content goes here.

\newpage

\subsection{Section Two: subSec 2}

Some content goes here.


\end{document}