Chapter 12 :- Publishing documents using LaTeX

LaTeX documents are typically created usingany plaintext editor (like gedit or SciTE).The different parts ofthe text are markedusingLaTeXcommands that associate a meaningto them.

LaTeX comes with built-inways to format these document elements inapleasant-lookingprofessional style.

PDF files are very popular for sharing printable documents on the Web. PDF documents can be viewed inUbuntu’s default document viewer.
We may also use the SciTEeditor for editing LaTeX files. While bothgedit and SciTEhave syntax highlighting (displaying different language elements indifferent colors for easy identification and readability).

The LaTeX Language :- LaTeX is essentially a markup language. The LaTeX source consists ofplaintext, with some parts
of the text marked up using markers known as commands.LaTeX commands start with a \ (backslash) character followedby the commandname.The command name may be a string of alphabetic letters only, or may be a single non-letter. LaTeX commands
are case-sensitive (capital and small letters are treated as being different).

There are two types of arguments. Optional arguments, as the name suggests, are not mandatory. We may or may not provide them.

LaTeX treats all whitespace characters (the space, tab and newline characters) as the same. It converts all occurrences of multiple consecutive whitespace into a single space character.

LaTeX uses groups to mark portions of text. A group is enclosed between curly braces { and }.

Typesetting Mathematical Content in LaTeX

Ability of automatically layingout complex mathematical content is a major strength of LaTeX.The most common way of laying out mathematical content inLaTeX is using the packages amsmath, amssymb and amsfonts created by the American Mathematical Society.