User Tools

Site Tools


resources:latex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:latex [2012/09/16 02:06] jonathanresources:latex [2012/09/23 19:09] (current) jonathan
Line 1: Line 1:
 ====== Latex ====== ====== Latex ======
  
-===== Tutorials =====+===== LaTex Tutorials =====
  
-You can google for Latex tutorials (there are many). There is a quick and simple introduction [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]]+You can google for Latex tutorials (there are many).  
 +  *There is a quick and simple introduction [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]] 
 +  *For mathematics we use the B-style (for some of the symbols) and the AMS package [[ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf|AMS]].
  
-I use [[http://miktex.org|MikTex]] on windows and [[http://www.tug.org/texlive/|Texlive]] on my mac (the MacTex distribution). Both distributions come with a free from-end GUI called TexWorks.+I use [[http://miktex.org|MikTex]] on windows and [[http://www.tug.org/texlive/|Texlive]] on my mac (the MacTex distribution). Both distributions come with a free front-end GUI called TexWorks. 
 + 
 +''Birthday-Book.zip'' (in the ''Misc'' folder in the SVN) is the template for doing requirements documents. The main tex file ''birthday-book.tex''. This file in turn uses ''defns.tex'' (which in turn uses a number of styles in the folder ''sty''). See below for how to compile these files into PDF. 
 + 
 +===== Prism/Command line =====
  
 Texlive is installed on the Prism/Linux machines and Miktex on the Prism/Windows machines. Texlive is installed on the Prism/Linux machines and Miktex on the Prism/Windows machines.
Line 39: Line 45:
 </code> </code>
  
-On Prism you can invoke: ''pdflatex input.tex''+On Prism you can invoke
  
-This produces an input.pdf file that should display as can be seen at+<code> 
 +pdflatex input.tex 
 +</code> 
 + 
 +This produces an input.pdf file that should display as can be seen
 [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]]. [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]].
  
-Note: Invoke +**Note**: Invoke 
  
 <code> <code>
Line 52: Line 62:
 before you run pdflatex. Even better, put the above line at the end of your ''.cshrc'' file. before you run pdflatex. Even better, put the above line at the end of your ''.cshrc'' file.
  
-===== Running Latex in Prism =====+===== Prism/TexWorks ===== 
 +  
 +  * At the Prism command line run ''texworks'' (If the workstation is in Windows mode, there should be a shortcut for TexWorks on the desktop). 
 +  * ''File->select-from-template->Latex->article'' and save the file .  
 +  * Press the green run button. You should see the pdf displayed. 
 +  * Read the manual that comes with the Help menu. 
 +   
  
 +===== Other resources =====
  
- 
-Latex introduction [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]]. Obtain a small sample latex file [[http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/TypicalInput.html|here]]. 
-    * To run the file on Prism from the command line. 
-    * To get started on Prism/Linux:  
-      * At the command line run ''texworks''. From File->select-from-template->Latex->article save and select a start file.  
-      * Press the green run button.  
-      * Select a file from template 
     *[[http://truben.no/latex/table/|generate latex tables web]]     *[[http://truben.no/latex/table/|generate latex tables web]]
     * [[http://www.ctan.org/pkg/latable|windows app for latex table]]     * [[http://www.ctan.org/pkg/latable|windows app for latex table]]
-  *UML  
-     *Visio 2010 is a good tool for doing UML diagrams. You can do your drawing, save as a pdf, and then include the pdf in your Latex document. 
-        *[[http://www.cse.yorku.ca/tdb/_doc.php/userg/a_dept/dreamspark.html|Download Visio]] 
-        *[[http://softwarestencils.com/uml/index.html|Visio 2010 UML stencil]] 
     * The TikZ-UML Latex package can also be used within LaTeX itself to do UML drawings (uses cases, class diagrams, statecharts and sequence diagrams).     * The TikZ-UML Latex package can also be used within LaTeX itself to do UML drawings (uses cases, class diagrams, statecharts and sequence diagrams).
 +
 +     
resources/latex.1347761201.txt.gz · Last modified: 2012/09/16 02:06 by jonathan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki