From charlesreid1

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.

The name is traditionally printed with a special typographical logo.

\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