l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 15: Scratch: programming for children and other not-yet-programmers
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2002 Nov 29 11:22

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] beginning latex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] beginning latex



Just type, in a file called "myreport.tex":

   \documentclass{report}     % you can also use "article" or "book"
   \usepackage{doublespace}   % for ENL courses, you'll want this
   \begin{document}

      \title{My Title}        % set document title
      \author{Gabriel Rosa}   % set your name
%      \date{\today}           % this is default so you don't need it
      \maketitle              % make the first page title


      Blah blah \emph{really} blah,
      then blah blah \strong{really really} blahed.

   \end{document}

Then, from the command line, type:

   latex myreport.tex   # first to generate cross references
   latex myreport.tex   # second to apply cross references
   latex myreport.tex   # and third for a safe measure
   dvips -f myreport.dvi -o myreport.ps   # generate PS from DVI
   lpr myreport.ps      # and print!

If you want previews:

   xdvi myreport.dvi

or use gv with "consistently check file for changes" (or whatever it's
called) option so you don't have to rerun gv everytime you want to view
your changes.  I prefer gv over xdvi because PS files are stand-alone
whereas DVI requires external resources (ie, if you include pictures, DVI
requires you keep the picture around so it can grab the file when it
displays the document) and it's more of an exact replica of what you'll
see when it's printed.  Using a makefile so you don't have to type all
these commands all the time is a good idea.

Everything else, you can learn one at a time... TOC, indexing,
cross-referencing, figures, tables, chapters, sections, subsections,
drawings, graphics, etc., etc., etc.  And oh yeah -- `xfig` is your
friend.

-Mark


On Wed, 27 Nov 2002, Gabriel Rosa wrote:

>
> hey all,
>
> can anyone recommend a good latex tutorial or book? I've never really done
> any work with it, but I'll be writing a paper in the next couple of weeks
> that needs to be formated for print.
>
> thanks,
> -Gabe
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

-- 
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!