Penguin

Differences between version 2 and previous revision of LatexExample.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Saturday, May 7, 2005 8:49:43 am by AristotlePagaltzis Revert
Older page: version 1 Last edited on Thursday, December 16, 2004 12:26:00 pm by DanielLawson Revert
@@ -1,54 +1,54 @@
-This is a short worked example on how to write and build a Latex document. Note, this is not a primer on the language! You should get hold of the [Not so short Introduction to Latex|http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf] for a decent introduction to the language
+This is a short worked example on how to write and build a [LaTeX] document. '' Note that this is not a primer on the language!'' You should get hold of the [Not so short Introduction to Latex|http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf] for a more complete introduction. 
  
-!! Writing your .tex file 
+!! Writing your <tt> .tex</tt> file 
  
-Because this is just a trivial example on how to use Latex , not on how to actually write Latex documents, my example .tex file won't contain a lot. There's plenty more you can do with Latex than I'm demonstrating below - make sure you read the better references mentioned above. 
+Because this is just a trivial example on how to use [LaTeX] , not on how to actually write [LaTeX] documents, my example <tt> .tex</tt> file won't contain a lot. [LaTeX] can do plenty more than I'm demonstrating below - - make sure you read the better references mentioned above. 
  
-Edit a file called example.tex, and put the following text in it: 
+Edit a file called <tt> example.tex</tt> , and put the following text in it: 
  
-<verbatim>  
-\documentclass[12pt,a4paper]{report}  
-\pagenumbering{roman} 
+ <verbatim>  
+ \documentclass[12pt,a4paper]{report}  
+ \pagenumbering{roman} 
  
  
-\title{Latex Example}  
-\author{Daniel Lawson}  
-\date{\today} 
+ \title{Latex Example}  
+ \author{Daniel Lawson}  
+ \date{\today} 
  
-\begin{document} 
+ \begin{document} 
  
  
-\maketitle 
+ \maketitle 
  
-\begin{abstract} 
+ \begin{abstract} 
  
-\end{abstract} 
+ \end{abstract} 
  
-\tableofcontents 
+ \tableofcontents 
  
-\newpage 
+ \newpage 
  
-\section{Introduction} 
+ \section{Introduction} 
  
-This is a quick introduction to using Latex. 
+ This is a quick introduction to using Latex. 
  
-\subsection{Example} 
+ \subsection{Example} 
  
-Here is a subsection. 
+ Here is a subsection. 
  
-\section{Conclusion} 
+ \section{Conclusion} 
  
-In conclusion, this example doesn't show a lot. Go read the Not So Short Introduction to Latex for more information. 
+ In conclusion, this example doesn't show a lot. Go read the Not So Short Introduction to \LaTeX for more information. 
  
-\end{document}  
-</verbatim> 
+ \end{document}  
+ </verbatim> 
  
 !! Building it 
  
-Seeing as we're not doing anything complicated with latex , we only need to parse the file once. If you were doing more complicated things, such as including a bibliography, you'd need to run a few more programs. See LatexMakefiles on more tips for that. 
+Seeing as we're not doing anything complicated with [LaTeX] , we only need to parse the file once. If you were doing more complicated things, such as including a bibliography, you'd need to run a few more programs. See LatexMakefiles on more tips for that. 
  
-Run " latex example.tex" in the directory you saved your example.tex in earlier. 
+Run <tt> latex example.tex</tt> in the directory you saved your <tt> example.tex</tt> in earlier. 
  
 <verbatim> 
 $ latex example.tex 
 This is TeX, Version 3.14159 (Web2C 7.3.7) 
@@ -66,9 +66,9 @@
 Output written on example.dvi (4 pages, 1180 bytes). 
 Transcript written on example.log. 
 </verbatim> 
  
-This completed successfully, outputting some extra files created by latex on the way - the .aux and .toc files are used for internal references. The dvi file is the first output file,  
+This completed successfully, outputting some extra files created by [LaTeX] on the way - - the <tt> .aux</tt> and <tt> .toc</tt> files are used for internal references. The <tt>. dvi</tt> file is the first output file.  
  
 You can view this with a program called xdvi: 
  
 <verbatim> 
@@ -76,9 +76,9 @@
 </verbatim> 
  
 !! Making it useful 
  
-DVI is a DeVice Independent format, which in theory makes it really useful. However, it tends to be harder to view in Certain Operating Systems . Instead, you should convert your .dvi to a postscript (.ps) or PDF file: 
+DVI is a __D__e__v__ice __I__ndependent format, which in theory makes it really useful. However, it tends to be harder to view in Certain OperatingSystem~s . Instead, you should convert your <tt> .dvi</tt> to a PostScript or [ PDF] file: 
  
 <verbatim> 
 $ dvips example.dvi -o example.ps 
 This is dvips(k) 5.86e Copyright 2001 Radical Eye Software (www.radicaleye.com) 
@@ -86,8 +86,7 @@
 $ dvipdf example.dvi example.pdf 
 $ ls *ps *pdf 
 example.pdf example.ps 
 <texc.pro>. [1] [1] [1] [2] 
+</verbatim>  
  
-You can now view these with a postscript or pdf viewer, such as gv or acrobat reader .  
-  
-</verbatim>  
+You can now view these with a PostScript or [PDF] viewer, such as GhostView or AcrobatReader