summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pdfannotations/pdfannotations.tex
blob: f33a5ed963a8586cfb80b868f28cfa3eebd5cc92 (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
% LaTeX3, pdfLaTeX
% Version: 3.1
% Date: 2023-11-22

% Start of User configuration section
% -----------------------------------

% Document metadata
\newcommand{\MyTitle}{Your Title Here}
\newcommand{\MyAuthor}{Your Name Here}
\newcommand{\MyDate}{Document Date Here}
\newcommand{\FirstSectionName}{First Section Title Here}

% PDF Max Width settings
\newcommand{\PDFMaxWidth}{0.80\textwidth} % Sets max width for included PDFs

% Maximum number of interludes in the document
\newcommand{\MaxInterludes}{20}

% List of PDFs to be included in the document
\newcommand{\PDFList}{"document1.pdf","document2.pdf"}

% User configuration documentation
% ...

% End of User configuration section
% ----------------------------------

% Using the custom pdfannotations document class
\documentclass[10pt,letterpaper]{pdfannotations}

\begin{document}

% Setting up the title, author, and date
\title{\MyTitle}
\author{\MyAuthor}
\date{\MyDate}

% Generating the title
\maketitle

% Customizing list labels
\renewcommand{\labelitemii}{$\square$}
\renewcommand{\labelitemiii}{$\ast$}

% Setting page style
\pagestyle{empty}

% Generating the table of contents
\setcounter{secnumdepth}{0}
\tableofcontents
\newpage

% Listing the included PDFs
\section{List of PDFs}
\listpdfs

\newpage

% Starting the main content section
\section{\FirstSectionName}
% Your main content goes here
\annotatepdf{1}
\annotatepdf{2}

% Concluding section
\section{Conclusion or Final Remarks}

% End of the document
\end{document}