You might find different outcomes of toc depending on your documentclass. Heres a setup i use usepackage hyperref hypersetup pdftex,colorlinkstrue,allcolorsblue usepackage hypcap i added the last one as an extra since links should always anchor at the image not the caption. Sections, subsections and chapters are included in the table of contents. To manually add entries, for example when you want an unnumbered section, use the command addcontentsline as shown in the example. , left expr right left expr right leftvert expr right. Tex is where you de ne the content of your title page it includes declarations of the title, author, and date you should replace the title and author as needed, but leave the date alone ntitleflength-enhanced superlative verbiageg nauthorfjoe everystudent nvspacef0. You can croptrim a pdf when including it using the trimleft botm right top. Full example beginfigurehtbp centering includegraphicsclip, trim0. Pdf captiontitle labelfigsomthing endfigure note figuring out how far to trim can take time. It allows for different headers for left and right pages, 1. For good readability on a4 and letter paper it is advisable to use a base font size of 11 pt. for example, for the pdf version paul grahams on lisp, available for download on his website but comes without a table of contents. You could use the pdfxmeta tool to build a recipe file heading level 1 font.