## Linux and UNIX Man Pages

Test Your Knowledge in Computers #834
Difficulty: Medium
True or False?

# latex(1) [redhat man page]

LATEX(1)						      General Commands Manual							  LATEX(1)

NAME
latex, elatex, lambda, pdflatex - structured text formatting and typesetting

SYNOPSIS
latex [ first line ]

DESCRIPTION
This manual page is not meant to be exhaustive.	The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.

The LaTeX language is described in the book LaTeX - A Document Preparation System.  LaTeX is a TeX macro package, not a modification to the
TeX source program, so all the capabilities described in tex(1) are present.

The LaTeX macros encourage writers to think about the content of their documents, rather than the form.	The ideal, very difficult to real-
ize, is to have no formatting commands (like switch to italic'' or skip 2 picas'') in the document at all; instead, everything is  done
by specific markup instructions: emphasize'', start a section''.

The  primary  source  of  documentation	for LaTeX is the LaTeX manual referenced below, and the local guide in the file local-guide.tex or
local.tex or some such.

elatex is the e-TX extended mode version of LaTeX format.

lambda is the Omega version of the LaTeX format.

pdflatex is the pdfTeX version of the LaTeX format.

On some systems latex209 and slitex are available for compatibility with older versions of LaTeX.  These should not be used for new texts.

amslatex(1), amstex(1), tex(1),
Leslie Lamport, LaTeX - A Document Preparation System, Addison-Wesley, 1985, ISBN 0-201-15790-X.

Web2C 7.3.1							   29 March 1999							  LATEX(1)

## Check Out this Related Man Page

AMSTEX(1)						      General Commands Manual							 AMSTEX(1)

NAME
amstex - structured text formatting and typesetting

SYNOPSIS
amstex [ first line ]

DESCRIPTION
This manual page is not meant to be exhaustive.	The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.

The AmSTeX language is described in the book The Joy of TeX.  AmSTeX is a TeX macro package, not a modification to the TeX source  program,
so all the capabilities described in tex(1) are present.

The  AmSTeX  macros encourage writers to think about the content of their documents, rather than the form.  The ideal, not always realized,
is to have no formatting commands (like switch to italic'' or skip 2 picas'') in the document at all; instead, everything  is  done	by
specific markup instructions: emphasize'', start a section''.

AmSTeX  is  the official typesetting system of the American Mathematical Society, and nearly all of its publications are typeset using AmS-
TeX.  The online version of AMS Math Reviews uses AmSTeX input syntax for display of mathematical material.  AMS authors can  provide  edi-

For authors more familiar with LaTeX, an AMS-supported package called amsmath.sty is is available.

FILES
amsguide.tex"
Documentation for AmSTeX, typesettable by TeX.

amfndoc.tex"
Documentation for AMS fonts, typesettable by TeX.

latex(1), tex(1), slitex(1).
Michael Spivak, The Joy of TeX, 2nd edition, Addison-Wesley, 1990, ISBN 0-8218-2997-1.

Web2C 7.3.1							 27 December 1992							 AMSTEX(1)

## Printing documents using LaTeX

Hi I want to know how to give a file for printing using Latex formatting also where can I get the latex s/w . Thanks in advance

## Preparing LaTeX files using Sed/AWK for processing with latex2html

As the title states, my issue involves preparing LaTeX documents for processing with latex2html. Within my LaTeX docs I have used a package which allows me to cleanly display source code listings. However the package is not supported by latex2html which, when processed, does not display the...

## latex-ucs

Hi! I am using Slackware 12.1 and I have a question regarding LaTeX. I am trying to use the package ucs, so that I can write in greek, but with no success. In Debian there is a package latex-ucs.deb that does the trick. Is there something similar in Slackware? Thanks in advance

## perl string matching problem (two backslash)

I have a few .tex files generated with html2latex. They have some extra \\ that generate error with pdflatex, so I would like to get rid of them. This perl -p -i -e s/\\\\//g myfile.tex with or without simple or double quote remove all of the backslashes, also the single ones needed by tex. How...

## Substitue 'Special Characters' in VI

Hi All, I am using LATEX and need to delete all the lines in a file matching: \begin{work} I know there are several ways to do this, but I am trying to do it with the substitute command in VI. The problem is I can't get substitute to recognize the character '\'! How do I do it? ...

## Replacing all occurences depending on parity

I want to replace all occurences of '$' in a LaTeX source code in the following way: The dollars on odd position in the file must be changed in '$latex ' and the other dollars can remain the same. I was thinking to make a script which replaces all odd occurences of a given character with a...

## Multiline parenthesis matching, with e.g. SED script, in LaTeX doc

In a LaTeX manuscript, I need to replace many occurrences of \emph{some string} with some string, i.e. whatever string is inside. The string inside often may extend over several lines, and there may be other occurences of curly brackets inside it. So for example \emph{this \it{is} a...

## Place 'find' results within TeX command

Hi, In an effort to collect all my .java-files and place them in a LaTeXfile (using the listings environment of latex), i tried to use ex. So what i have now is: find . -name "*\.java" > latex ex latex <<HERE %s/$$.*$$/\\lstinputlisting{\1} wq HERE So i try to escape the '\' with...

## trouble with shell_exec()

If you aren't familiar with LaTeX, don't stress.. it's just a document markup language that I use for creating Math documents. Anyway, if I execute "latex /home/destructo/Desktop/example.tex" inside my command prompt (ubuntu), it will create the desired document... I decided to try to create a...

## Simple Makefile for LaTeX

I create figures using Gnuplot, but I use terminal epslatex, which produces a .tex file as output. I then latex this .tex file which creates are .dvi file, which I then convert to .ps and finally to an .eps file. Anyway here's what I'm doing in steps gnuplot plot.gplt (this writes out...

## Script to add backslashes to end of certain lines of text

I'd like to write up notes in a relatively readable format and then use a shell script to add LaTeX formatting. Specifically, I'm trying to figure out how to add the LaTeX newline character (\\) to the end of lines without \begin{} or \end{} statements example notes file: \begin{enumerate} --...