From charlesreid1

No edit summary
Line 2: Line 2:


LaTeX is a document typesetting system used primarily for scientific and mathematical documents.  If you have no idea what I mean, go here: [http://en.wikipedia.org/wiki/LaTeX LaTeX (Wikipedia)].
LaTeX is a document typesetting system used primarily for scientific and mathematical documents.  If you have no idea what I mean, go here: [http://en.wikipedia.org/wiki/LaTeX LaTeX (Wikipedia)].
http://www.texample.net/tikz/examples/rooty-helix/
http://www.texample.net/
<syntaxhighlight lang="latex">
\documentclass[english]{article}
\begin{document}
This is a basic latex document.
\end{document}
</syntaxhighlight>
<syntaxhighlight lang="latex">
\documentclass[english]{article}
\begin{document}
You can use this to write a document.
You can also use this to explain stuff.
Maybe I want to include a formula: $ax^2 + bx + c = 0$
A more complicated formula: $\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta$
Less squished: $\displaystyle{ \frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta }$
Integral: $\int{x^2 dx}$
Derivative: $\frac{dx}{dt} = 0$
\end{document}
</syntaxhighlight>
<syntaxhighlight lang="latex">
\documentclass[english]{article}
\usepackage{amsmath}
\begin{document}
\title{This is where my title would go}
\author{Jiyoung Ahn, Charles Reid}
\maketitle
\section{Section Name}
You can use this to write a document.
You can also use this to explain stuff.
LaTeX is usually pronounced in English (that is, not with the /ks/ pronunciation English speakers normally associate with X, but with a /k/). The characters T, E, X in the name come from capital Greek letters tau, epsilon, and chi, as the name of TeX derives from the Greek (skill, art, technique); for this reason, TeX's creator Donald Knuth promotes a pronunciation of (tekh) (that is, with a voiceless velar fricative as in Modern Greek, similar to the last sound of the German word "Bach", the Spanish "j" sound, or as ch in loch). Lamport, on the other hand, has said he does not favor or discourage any pronunciation for LaTeX.
The name is traditionally printed with the special typographical logo shown at the top of this page. In media where the logo cannot be precisely reproduced in running text, the word is typically given the unique capitalization LaTeX. The TeX, LaTeX  and XeTeX logos can be rendered via pure CSS and XHTML for use in graphical web browsers following the specifications of the internal \LaTeX macro.
\subsection{Subsection Name}
Maybe I want to include a formula: $ax^2 + bx + c = 0$
A more complicated formula: $\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta$
\subsubsection{Subsubsection Name}
Less squished: $\displaystyle{ \frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta }$
Integral: $\int{x^2 dx}$
Derivative: $\frac{dx}{dt} = 0$
\section{Equations}
\subsection{Inline Equations}
An inline equation looks like: $\int{x^2 dx}$
Display equations, numbered equations:
\begin{equation}
\label{area formula}
\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta
\end{equation}
\section*{Unnumbered section}
This section won't have a number
\section{New one}
asdofiuaopifuapoeiruewo;irueqwo;riuqpweoiruqw
\section{Numbered section}\label{numbered section}
This section WILL have a number.  I will now refer to equation \eqref{area formula} in section \ref{numbered section}.
\end{document}
</syntaxhighlight>
{|border="0" cellpadding="0" cellspacing="1em"
|<syntaxhighlight lang="latex">
\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; it is not shown in the final output.
  % The following shows a little of the typesetting power of LaTeX:
  \begin{align}
    E &= mc^2                              \\
    m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
  \end{align}
\end{document}
</syntaxhighlight>
|[[Image:Stub.gif|100px|LaTeX output]]
|}





Revision as of 03:18, 24 November 2010

LaTeX Overview

LaTeX is a document typesetting system used primarily for scientific and mathematical documents. If you have no idea what I mean, go here: LaTeX (Wikipedia).

http://www.texample.net/tikz/examples/rooty-helix/

http://www.texample.net/


\documentclass[english]{article}
\begin{document}
This is a basic latex document.
\end{document}


\documentclass[english]{article}
\begin{document}
You can use this to write a document.

You can also use this to explain stuff.

Maybe I want to include a formula: $ax^2 + bx + c = 0$

A more complicated formula: $\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta$

Less squished: $\displaystyle{ \frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta }$

Integral: $\int{x^2 dx}$

Derivative: $\frac{dx}{dt} = 0$



\end{document}




\documentclass[english]{article}

\usepackage{amsmath}

\begin{document}

\title{This is where my title would go}
\author{Jiyoung Ahn, Charles Reid}

\maketitle

\section{Section Name}

You can use this to write a document.

You can also use this to explain stuff.

LaTeX is usually pronounced in English (that is, not with the /ks/ pronunciation English speakers normally associate with X, but with a /k/). The characters T, E, X in the name come from capital Greek letters tau, epsilon, and chi, as the name of TeX derives from the Greek (skill, art, technique); for this reason, TeX's creator Donald Knuth promotes a pronunciation of (tekh) (that is, with a voiceless velar fricative as in Modern Greek, similar to the last sound of the German word "Bach", the Spanish "j" sound, or as ch in loch). Lamport, on the other hand, has said he does not favor or discourage any pronunciation for LaTeX.

The name is traditionally printed with the special typographical logo shown at the top of this page. In media where the logo cannot be precisely reproduced in running text, the word is typically given the unique capitalization LaTeX. The TeX, LaTeX  and XeTeX logos can be rendered via pure CSS and XHTML for use in graphical web browsers following the specifications of the internal \LaTeX macro.

\subsection{Subsection Name}

Maybe I want to include a formula: $ax^2 + bx + c = 0$

A more complicated formula: $\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta$

\subsubsection{Subsubsection Name}

Less squished: $\displaystyle{ \frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta }$

Integral: $\int{x^2 dx}$

Derivative: $\frac{dx}{dt} = 0$

\section{Equations}

\subsection{Inline Equations}

An inline equation looks like: $\int{x^2 dx}$

Display equations, numbered equations:

\begin{equation}
\label{area formula}
\frac{1}{2} bh = \int_{-\infty}^{\infty} \sin (\theta x + z^2) d\theta
\end{equation}

\section*{Unnumbered section}

This section won't have a number

\section{New one}

asdofiuaopifuapoeiruewo;irueqwo;riuqpweoiruqw

\section{Numbered section}\label{numbered section}

This section WILL have a number.  I will now refer to equation \eqref{area formula} in section \ref{numbered section}.

\end{document}




\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; it is not shown in the final output.
  % The following shows a little of the typesetting power of LaTeX:
  \begin{align}
    E &= mc^2                              \\
    m &= \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
  \end{align}
\end{document}
LaTeX output




Examples

I have several examples of (simple) LaTeX documents and reports at the documents page.


Software

There are a large number of programs and pieces of software for interfacing with LaTeX. The simplest is to use LaTeX through a text editor, such as Vim or Emacs, or a LaTeX text editor such as TexMaker or TexShop. Alternatively, one may use a full WYSIWYM (What You See Is What You Mean) editor like LyX.

Personally, I recommend TexMaker for creating LaTeX documents by hand, and LyX for putting together LaTeX documents with lots of equations, or in a short time.


Tricks and Tips

Stump.gif This article is a stub.

A team of expertly-trained librarian ninjas has been dispatched to research this topic, finish this article, and assassinate all eyewitnesses who contradict their account.

They should be done pretty soon.

Template:Stub

Category:Stubs