AppleDocumentationStyleLate.../README.md

1.1 KiB

Apple Documentation Style - LaTeX Template

To enable syntax highlighting you need to install Pygments and use xelatex for compilation:

  1. sudo easy_install Pygments
  2. xelatex -file-line-error -synctex=1 -shell-escape -interaction=nonstopmode "File.tex"

To integrate the template with TeXShop:

  1. navigate to ~/Library/TeXShop/Engines
  2. open XeLaTeX.engine file
  3. add two additional parameters -shell-escape -interaction=nonstopmode

Table Of Contents

Table Of Contents

Sections, subcection, and subsubsections style

Sections, subsections

Code listing

Code listing

  • Title page
  • Table of contents
  • Section, subcectio, and subsubsection style
  • Code listing
  • Syntax highlighting