mirror of
https://github.com/wnagrodzki/AppleDocumentationStyleLatexTemplate.git
synced 2025-04-11 23:12:01 +02:00
No description
Screen Shots | ||
.gitignore | ||
Apple Documentation Template.pdf | ||
AppleDocumentationTemplate.tex | ||
README.md |
Overview
This LaTeX template will let you create beautiful PDF documents inspired by Apple documentations.
- Title page
- Table of contents
- Chapter, section, and subsection headings
- Objective-C code listing with syntax highlighting
- Swift code listing with syntax highlighting
How To Get Started
- Install MacTex
- Check if there are any updates for TeXShop and TeX Live Utility applications
- Launch TeX Live Utility and update all packages
- Install Pygments
$ easy_install --user Pygments
ln -s /Users/<user>/Library/Python/2.7/bin/pygmentize /usr/local/bin/pygmentize
- Integrate the template with TeXShop
- Navigate to ~/Library/TeXShop/Engines
- Open XeLaTeX.engine file
- Add two additional parameters
-shell-escape -interaction=nonstopmode
In case of commandline compilation, use xelatex:
xelatex -file-line-error -synctex=1 -shell-escape -interaction=nonstopmode "File.tex"