Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[12pt]{book}
- % --- Variable Assignments ---
- \newcommand{\AuthorName}{Author}
- \newcommand{\BookTitle}{Title}
- \newcommand{\PublishYear}{year}
- % --- Packages ---
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
- \usepackage{lmodern}
- \usepackage{geometry}
- \usepackage{setspace}
- \usepackage{graphicx}
- \usepackage{hyperref}
- % --- Page Setup ---
- \geometry{margin=1in}
- \setstretch{1.25}
- \hypersetup{
- colorlinks=true,
- linkcolor=blue,
- urlcolor=blue,
- pdftitle={\BookTitle},
- pdfauthor={\AuthorName}
- }
- % --- Title Info ---
- \title{\BookTitle}
- \author{\AuthorName}
- \date{\PublishYear}
- \begin{document}
- % --- Title Page ---
- \maketitle
- \frontmatter
- % --- Preface / Acknowledgements ---
- \chapter*{Preface}
- This book, *\BookTitle*, was written by \AuthorName{} in \PublishYear.
- You can include your acknowledgements here.
- % --- Table of Contents ---
- \tableofcontents
- \mainmatter
- % --- Chapters ---
- \chapter{Introduction}
- Welcome to *\BookTitle*. This chapter introduces the core ideas of the book.
- \chapter{Secure Protocols}
- In this chapter, \AuthorName{} explores secure communications in networks.
- \chapter{Conclusion}
- Final remarks and forward-looking statements by \AuthorName.
- % --- Backmatter ---
- \backmatter
- \chapter*{Appendix}
- Additional details and supplementary data.
- % --- Bibliography ---
- \chapter*{Bibliography}
- \begin{thebibliography}{9}
- \bibitem{example}
- Author Name,
- \textit{Book Title},
- Publisher, Year.
- \end{thebibliography}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement