diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-25 03:03:12 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-25 03:03:12 +0000 |
commit | ad976e54f48605a66054bc56e945dabc425c956a (patch) | |
tree | f3905ec1ab486d1cf12b064887e311f2ea10bebf /macros/latex/contrib/pdfannotations/pdfannotations.tex | |
parent | ac5a5e57a4c9b3c436c3bac327fe885acea28ba4 (diff) |
CTAN sync 202311250303
Diffstat (limited to 'macros/latex/contrib/pdfannotations/pdfannotations.tex')
-rw-r--r-- | macros/latex/contrib/pdfannotations/pdfannotations.tex | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/macros/latex/contrib/pdfannotations/pdfannotations.tex b/macros/latex/contrib/pdfannotations/pdfannotations.tex new file mode 100644 index 0000000000..f33a5ed963 --- /dev/null +++ b/macros/latex/contrib/pdfannotations/pdfannotations.tex @@ -0,0 +1,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} |