# TeX

We currently use texlive as our base TeX install.   (teTeX was our previous base TeX install).

The current TeXLive distribution is 2007.  To utilize TeXLive 2013, visit this link

Our local TeXmf tree is located at /usr/ias/localtexmf

The IAS letterhead is available as the latex class iasletter.  The School of Mathematic letterhead is available as a the latex class somletter.

This is an extension to letter, you may use iasletter or somletter as you would use letter.

A letterhead template is also located at /usr/ias/localtexmf/tex/latex/ias/LaTexLetter.tex

## Installing

The class files are installed on all Springdale Linux workstations in the department.  To install the class on your own machine, please download either the tar or the zip file of the class files and fonts.

For MacOSX running texlive untar the files into Library/texmf (e.g. /Users/someone/Library/texmf)

For Windows running texlive unzip the files into texmf in your home directory (e.g. C:\Users\someone\texmf)
Run texhash after unzipping.

For Linux running texlive untar the files into ~/texmf (e.g. /home/someone/texmf)

$mkdir ~/texmf$ tar xjf ias.tar.bz2
\$ texhash

It is recommended that you use pdflatex to compile any letters made with this class.

somletter - for School of Mathematics letters
iasletter - for Institute Letters.


These classes define two new variables to the letter class

\email - your email address
\jobtitle - your job title (Member or Faculty or Visitor)


The normal variables are also available

\name - your full name
\telephone - your telephone number (will default to school number if left blank)
\fax - your fax number (will default to school number if left blank)


## Example using new  letterhead class:

Sample attached iasletter.pdf, built from this file:
---
\documentclass{iasletter}
\name{Thomas Uphill}
\jobtitle{Computer Manager}
\telephone{734-8331}
\fax{683-4152}
\email{uphill@ias.edu}

\begin{document}
\begin{letter}{Member\\Fuld-555\\School of Mathematics.}
\opening{Dear Member,}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
\closing{Sincerely,}
\end{letter}
\end{document}

Samples attached somletter.pdf, built from this file:
---
\documentclass{somletter}
\name{Thomas Uphill}
\jobtitle{Computer Manager}
\telephone{734-8331}
\fax{683-4152}
\email{uphill@ias.edu}

\begin{document}
\begin{letter}{Member\\Fuld-555\\School of Mathematics.}
\opening{Dear Member,}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
\closing{Sincerely,}
\end{letter}
\end{document}

If you prefer the look of the old letterhead, the class is iasletter-old.

## Example using old  letterhead class:

help@london[1] cat test.tex
\documentclass{iasletter-old}
\begin{document}
\begin{letter}{Someone}
\opening{Dear, Someone}

This is to inform you that I am using the iasletter class.
\closing{Sincerely, Nobody}
\end{letter}
\end{document}


And after compiling

help@london[2]: latex test.tex
This is TeX, Version 3.14159 (Web2C 7.3.1)
(test.tex
LaTeX2e <1999/12/01> patch level 1
Babel  and hyphenation patterns for american, french, german, ngerman, n
(/usr/ias/localtexmf/tex/latex/ias/iasletter.cls
Document Class: iasletter
(/usr/ias/teTeX/share/texmf/tex/latex/base/letter.cls
Document Class: letter 1999/04/29 v1.2z Standard LaTeX document class
(/usr/ias/teTeX/share/texmf/tex/latex/base/size10.clo))) (test.aux) [1]
(test.aux) )
Output written on test.dvi (1 page, 960 bytes).
Transcript written on test.log.
help@london[3]: dvips test -o
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
' TeX output 2002.10.25:1115' -> test.ps
.
[1]

Sample attached iasletter-old.pdf



## Example using letterhead template:

Samples attached letterheadTeX.pdf

AttachmentSize
49.43 KB
50.43 KB
35.57 KB
26.29 KB