LaTeX Command

Explanation

LINK: Fancy Scripts

Fancy script implementations (Eucal, RSFS, Zapf Chanc)

LINK: LaTeX Commands Online

Complete Commands

LINK: LaTeX

Online resource

LINK: TOC Fix

Changing the dotted line format of the TOC

LINK: LaTeX Symbols

LaTeX Math Related Symbols (PS)

LINK: More LaTeX Symbols (including Smiley)
[Use wasysym package and \smiley]

More symbols ... including Smiley

LINK: Portland

Mixing Portrait and Landscape Modes (save file as .tex)

Mixing JPG and PS images in one file

First, convert all PS files into PDF via the Adobe Distiller. Then, import images as PDF along with JPG files. PDFLaTeX will easily combine all.

LaTeX Editors

www.toolscenter.org -- TeXnic Center

crimsoneditor.com -- Crimson Editor

dvips -O 0.xin,0.yin file.dvi

above, that's a -Capital"Oh" after dvips

Converts dvi to ps, adjusting original 0.x inches in the horizontal direction, 0.y inches in the vertical direction.

dvips -Ppdf filename

Converts dvi to ps with special fonts used when the PS file is converted to PDF. Without this step, the file can look rather ugly when directly converted via 'distill'.

STUFF \vspace*{\fill} \c BLAH... \vspace*{\fill} \newpage

From STUFF to the end of the page, BLAH... will appear horizontally and vertically centered.

add goodies, ps2pdf file.ps

Convert ps to pdf (need GOODIES first)

add acrobat, distill <file.ps> file.pdf

Better way to convert ps to pdf. Avoids funny printout.

Bad PS/PDF file (uncentered)

Fix by viewing PDF in Acrobat (PC), crop excess white space from all pages, then PRINT with Fit To Page UNCHECKED ==> This will autocenter the document.

ispell filename.tex

Spell checks LaTeX files.

slides and seminar.sty

Use Tex2.09 method (see slides.tex in 810a subdirectory), call Xterm, type 'latex file' WITHOUT add tetex.

slides and seminar.cls

Used LaTex2e method (see three_lies.tex in st311/ch0), add tetex, copied seminar.cls in ch0, compiled just fine (also compiled slides in temporary subdirectory inside ch0 with seminar.cls on the outside (ch0).

slides and seminar.sty

YOU'VE GOT TO DO 'ADD STATCLS'.

FILE: Seminar/Thesis Locker

Sample files for THESIS/UCTHESIS.

\renewcommand{\labelenumi}{\roman{enumi}}

Changes the first level of ENUMERATE to lower cap roman numerals, (i, ii, iii, iv).

\pagestyle{empty}

Suppresses page numbering (global)

\thispagestyle{empty}

Suppresses page numbering (local)

Type 'e' at LaTeX error prompt

This will automatically launch the default editing program and shoot directly to the source of the problem.

lscape.sty --> \begin{landscape} STUFF \end{landscape}

To mix portrait/landscape pages in the same document, add 'statstyle' to gain access to lscape.sty. This file will also need use of rotate.sty, also found in the locker. THIS DOESN'T SEEM TO WORK ANYMORE -- SEE LINK AT THE TOP FOR PORTLAND

\includegraphics*[10mm,15mm][30mm,25mm]{file.eps}

First [] is the lower left corner, second [] is the upper right corner of the rectangle where the image is to be cropped. Use the GRAPHICS package.

\definecolor{light}{gray}{.75} \colorbox{light}{STUFF}

STUFF has light gray box as background -- acts has gray highlighting

\begin{list}\end{list}

Creates indented lists. Customization required.

\newenvironment{ident}{\begin{list}{}{} \item[]}{\end{list}}

Creates indented text. Customization provided -- use \begin{ident}, \end{ident}. Better than the quote environment since that does blockquoting (tapering from both sides). ident is just one indent over.

FILE: Useful Info

Some Useful Macros: Bolding Math, Lettered Equations, Turning Footnotes into Endnotes

 
    \begin{figure}
\begin{minipage}[b]{0.5\linewidth}
   \centering \includegraphics[width=1in]{jmu_logo.ps}
   \caption{Small Box} \label{fig:side:a}
\end{minipage}%
\begin{minipage}[b]{0.5\linewidth}
   \centering \includegraphics[width=1.5in]{jmu_logo.ps}
   \caption{Big Box} \label{fig:side:b}
\end{minipage}
\end{figure}

Side by side figures with captions and separate figure numbers ... also see "Using EPS Graphics in LaTeX2e Documents". Note the use of 0.50*\linewidth ... similar to frames in HTML. Also, the use of "%" in \end{minipage}% has meaning ... it makes LaTeX think there's no line break. Without it, it can make LaTeX think a space can be added, thus making the total "space" on the line beyond 100% (using 0.5\linewidth twice).

   \begin{figure}
   \includegraphics[width=1in]{jmu_logo.ps}
   \caption{Small Box} \label{fig:side:a}
   \end{figure}

For proper figure referencing, the label MUST be right after the caption statement. Anywhere else and there's no guarantee it will work (e.g. it may give the SECTION number instead of the figure number)

\begin{tabular}{lp{.6\textwidth}}
\textbf{Clients:} & 
Lorem ipsum dolor sit amet, consectetur 
adipisicing elit, sed do eiusmod tempor 
incididunt ut labore et dolore magna aliqua. 
\\
\end{tabular}

p{.6\textwidth} for TABULAR will let that column wrap text according to the specified width