Permalink
Browse files

Updated Latex presentation with better examples

  • Loading branch information...
1 parent 2d7ae59 commit a0a1f2d7775e9ae71d109e29aa00fc5ffeb4cc5f @whiteinge committed Feb 21, 2011
Showing with 36 additions and 3 deletions.
  1. +36 −3 oalug_2009-10-27_latex/presentation.txt
@@ -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
===============
@@ -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.