[go: nahoru, domu]

Skip to content

Commit

Permalink
Updated Latex presentation with better examples
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteinge committed Feb 21, 2011
1 parent 2d7ae59 commit a0a1f2d
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions oalug_2009-10-27_latex/presentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,41 @@ MacTeX
Basics
======

* .sty vs .cls vs .tex
* documentclass{}
* usepackage{}
* .tex
* .cls
* .sty

.cls
====

“Classes”::

\documentclass{}

* Mandatory
* One per document
* Ideally, completely define document structure

* E.g., ``article`` class defines ``\section``, ``\tableofcontents``,
``\author``, and so on.

— www.tug.org/pracjourn/2005-3/asknelly/nelly-sty-&-cls.pdf

.sty
====

“Style files” or “packages”::

\usepackage{}

* Optional
* Can appear many times
* Ideally, amendments to a .cls file or additional functionality

* E.g., ``graphicx`` provides methods to include images and apply graphic
effects to a document.

— www.tug.org/pracjourn/2005-3/asknelly/nelly-sty-&-cls.pdf

Useful Packages
===============
Expand All @@ -110,5 +141,7 @@ Helpers
* http://www.lyx.org/
* docutils

* http://docutils.sourceforge.net/docs/user/latex.html


.. vim:filetype=rst

0 comments on commit a0a1f2d

Please sign in to comment.