LaTeX: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
==LaTeX on Linux/UNIX== | ==LaTeX on Linux/UNIX== | ||
As with Windows, there are full-featured suites available to compile and convert filetypes. On our supported RHEL5 and RHEL6 systems, Kile is pre-installed and located at <tt>/usr/local/bin/kile</tt>. [https://www.tug.org/texlive/ TeX Live] is also available for Linux, with OSX support made available | As with Windows, there are full-featured suites available to compile and convert filetypes. On our supported RHEL5 and RHEL6 systems, Kile is pre-installed and located at <tt>/usr/local/bin/kile</tt>. [https://www.tug.org/texlive/ TeX Live] is also available for Linux, with OSX support made available in [https://www.tug.org/mactex/ MacTeX] | ||
That being said, most of our supported Linux systems should already have the LaTeX command-line utilities installed. Here is a example of using these to receive output as a PDF: | |||
* Create a working directory. Traverse into it, and create a file <tt>example.tex</tt> with the following contents: | |||
<pre> | |||
\documentclass[12pt]{article} | |||
\usepackage{amsmath} | |||
\title{\LaTeX} | |||
\date{} | |||
\begin{document} | |||
\maketitle | |||
\LaTeX{} is a document preparation system for the \TeX{} | |||
typesetting program. It offers programmable desktop | |||
publishing features and extensive facilities for | |||
automating most aspects of typesetting and desktop | |||
publishing, including numbering and cross-referencing, | |||
tables and figures, page layout, bibliographies, and | |||
much more. \LaTeX{} was originally written in 1984 by | |||
Leslie Lamport and has become the dominant method for | |||
using \TeX; few people write in plain \TeX{} anymore. | |||
The current version is \LaTeXe. | |||
% This is a comment, not shown in final output. | |||
% The following shows typesetting power of LaTeX: | |||
\begin{align} | |||
E_0 &= mc^2 \\ | |||
E &= \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}} | |||
\end{align} | |||
\end{document} | |||
</pre> | |||
==Further Reading== | ==Further Reading== | ||
* [http://latex-project.org/guides LaTeX project documentation page] | * [http://latex-project.org/guides LaTeX project documentation page] |
Revision as of 14:12, 24 July 2014
Background
From the main Project Page:
LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents.
LaTeX on Windows
In Windows, it is highly recommended to use a full-featured suite such as TeX Live or MiKTeX. Both of these suites include everything required for end-to-end LaTeX compilation and filetype conversation. Please contact the HelpDesk for assistance with installing or using these on a UMIACS-supported Windows machine.
LaTeX on Linux/UNIX
As with Windows, there are full-featured suites available to compile and convert filetypes. On our supported RHEL5 and RHEL6 systems, Kile is pre-installed and located at /usr/local/bin/kile. TeX Live is also available for Linux, with OSX support made available in MacTeX
That being said, most of our supported Linux systems should already have the LaTeX command-line utilities installed. Here is a example of using these to receive output as a PDF:
- Create a working directory. Traverse into it, and create a file example.tex with the following contents:
\documentclass[12pt]{article} \usepackage{amsmath} \title{\LaTeX} \date{} \begin{document} \maketitle \LaTeX{} is a document preparation system for the \TeX{} typesetting program. It offers programmable desktop publishing features and extensive facilities for automating most aspects of typesetting and desktop publishing, including numbering and cross-referencing, tables and figures, page layout, bibliographies, and much more. \LaTeX{} was originally written in 1984 by Leslie Lamport and has become the dominant method for using \TeX; few people write in plain \TeX{} anymore. The current version is \LaTeXe. % This is a comment, not shown in final output. % The following shows typesetting power of LaTeX: \begin{align} E_0 &= mc^2 \\ E &= \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}} \end{align} \end{document}