Debian Codegraph @

texmf-dist/doc/latex/pdfannotations/pdfannotations.tex

raw
1 % LaTeX3, pdfLaTeX
2 % Version: 3.1
3 % Date: 2023-11-22
4
5 % Start of User configuration section
6 % -----------------------------------
7
8 % Document metadata
9 \newcommand{\MyTitle}{Your Title Here}
10 \newcommand{\MyAuthor}{Your Name Here}
11 \newcommand{\MyDate}{Document Date Here}
12 \newcommand{\FirstSectionName}{First Section Title Here}
13
14 % PDF Max Width settings
15 \newcommand{\PDFMaxWidth}{0.80\textwidth} % Sets max width for included PDFs
16
17 % Maximum number of interludes in the document
18 \newcommand{\MaxInterludes}{20}
19
20 % List of PDFs to be included in the document
21 \newcommand{\PDFList}{"document1.pdf","document2.pdf"}
22
23 % User configuration documentation
24 % ...
25
26 % End of User configuration section
27 % ----------------------------------
28
29 % Using the custom pdfannotations document class
30 \documentclass[10pt,letterpaper]{pdfannotations}
31
32 \begin{document}
33
34 % Setting up the title, author, and date
35 \title{\MyTitle}
36 \author{\MyAuthor}
37 \date{\MyDate}
38
39 % Generating the title
40 \maketitle
41
42 % Customizing list labels
43 \renewcommand{\labelitemii}{$\square$}
44 \renewcommand{\labelitemiii}{$\ast$}
45
46 % Setting page style
47 \pagestyle{empty}
48
49 % Generating the table of contents
50 \setcounter{secnumdepth}{0}
51 \tableofcontents
52 \newpage
53
54 % Listing the included PDFs
55 \section{List of PDFs}
56 \listpdfs
57
58 \newpage
59
60 % Starting the main content section
61 \section{\FirstSectionName}
62 % Your main content goes here
63 \annotatepdf{1}
64 \annotatepdf{2}
65
66 % Concluding section
67 \section{Conclusion or Final Remarks}
68
69 % End of the document
70 \end{document}