59 lines
1.2 KiB
TeX
59 lines
1.2 KiB
TeX
\documentclass[12pt]{article}
|
|
|
|
\usepackage{comment}
|
|
|
|
\newcommand{\firstName}{FirstName}
|
|
\newcommand{\lastName}{LastName}
|
|
\newcommand{\docTitle}{My Document}
|
|
\newcommand{\email}{email@example.ca}
|
|
\newcommand{\userID}{123456789}
|
|
|
|
\newcommand{\courseNum}{COURSE 101}
|
|
\newcommand{\labName}{Lab 0}
|
|
\newcommand{\labSection}{D00}
|
|
|
|
\usepackage{pdfpages}
|
|
|
|
\usepackage[hidelinks]{hyperref}
|
|
\hypersetup{
|
|
pdftitle={\docTitle{}},
|
|
pdfauthor={\firstName{} \lastName{}},
|
|
bookmarksnumbered=true,
|
|
bookmarksopen=true,
|
|
bookmarksopenlevel=1,
|
|
colorlinks=false,
|
|
pdfstartview=Fit,
|
|
pdfpagemode=UseOutlines, % this is the option you were lookin for
|
|
pdfpagelayout=TwoPageRight
|
|
}
|
|
|
|
\title{ {\Huge \docTitle{}} \\
|
|
\courseNum{} - \labName{} - \labSection{}}
|
|
\author{
|
|
\firstName{} \lastName{}\\
|
|
\texttt{\email{}}\\
|
|
\texttt{ID: \userID{}}
|
|
}
|
|
|
|
\begin{document}
|
|
\pagenumbering{roman}
|
|
\maketitle
|
|
\newpage
|
|
\tableofcontents
|
|
\newpage
|
|
|
|
\pagenumbering{arabic}
|
|
|
|
\section{Section}
|
|
|
|
\subsection{Subsection}
|
|
|
|
\subsubsection{Subsubsection}
|
|
|
|
\begin{comment}
|
|
Use this to attach a pdf, such as a marking sheet
|
|
\includepdf[pages=-,pagecommand={}]{./YourPDFHere.pdf}
|
|
\end{comment}
|
|
|
|
\end{document}
|