TEX for Bard Students

 

 

Introduction

TeX is the state-of-the-art typesetting program used by many mathematicians and computer scientists, some scientists and social scientists, and most publishers of mathematics books and journals. TeX was originally developed by the well known computer scientist Donald Knuth. There are a variety of implementations of TeX available; at Bard we use TeXShop for Macs, PCTeX for PC's, and the standard implementation of TeX that is part of Linux. For further information about TeX, please contact any of the faculty members in mathematics or computer science.

LaTeX is the most widely used variety of TeX, and we recommend its use. Some introductory manuals for LaTeX, as well as style files for Bard senior projects and for homework, are available below.

For more about LaTeX, there is a lot of material available on the web (though a bit of care is needed, because some of it is out of date); a good place to start searching is the TeX site of the American Mathematical Society.

back to top

 

 

Free LATEX Implementations

There are a number of free implementations of LaTeX that can be downloaded from the web. We list one for Windows and one for Macs. For both of these implementations, be sure to follows the downloading and installation instructions carefully, because each implementation consists of a number of components that need to be installed.

  • For Macs: TeXShop. This is the implementation we use at Bard. It is simple and user-friendly, and it has the advantage of using PDF files instead of DVI files (and also instead of EPS files for figure).
  • For Windows: proTeXt. There is a choice of which editor to use, and TeXnicCenter is free, whereas WinEdit is not free after a trial period.

back to top

 

 

A Brief Introduction to LATEX for Bard Students

For a basic introduction to LaTeX, especially for Bard senior projects, we have available a manual entitled "A Brief Introduction to LaTeX for Bard Students." (This manual is based on the out-of-date but widely available "An introduction to TeX and friends" by Gavin Maltby, but has been updated and revised, and includes some useful mathematical commands from AmSLaTeX.) The manual is available in both LaTeX and PDF formats. Click below to download these files.

back to top

 

 

Additional LATEX Manuals

There are many available manuals for LaTeX that can be found on the web. Three particularly useful manuals are available below.

  • "The Not So Short Introduction to LaTeX2e", a detailed introduction to LaTeX by Tobias Oetiker, Hubert Partl, Irene Hyna and Elisabeth Schlegl, which is up-to-date with regards to LaTeX, though it does not discuss the mathematical commands of AmSLaTeX.

back to top

 

 

Graphics in LATEX

The standard way to insert graphics into LaTeX documents is to use either the graphics.sty or the graphicx.sty package. The two packages are essentially the same, but use slightly different formats for a few commands; use whichever you prefer. These packages are often bundled with LaTeX implementations. The manual for these two packages is:

For most LaTeX implementations, graphics should be in EPS (encapsulated postscript) format. For TeXShop, and presumably any other implementation that uses PDF files instead of DVI files, the correct format for graphics is PDF, which is very convenient, given that PDF files are widely used.

There are two common ways to create mathematical graphics: via mathematical software such as Mathematica, or vector drawing programs such as Adobe Illustrator. Both these programs store graphics in their own proprietary formats, but when you are done making the graphics, they can be exported to EPS or PDF formats. Do not use bitmap graphics programs such as Adobe Photoshop; vector graphics programs are much better suited to mathematical drawing (and indeed are based upon mathematical ideas such as splines). Adobe Illustrator is the professional standard vector graphics program. It is fairly expensive, though it can be found at reduced prices at the various educational discount software sites found on the web. A free alternative to Illustrator is the open source program

This program has implementations for Mac, Windows and Linux. Inkspace is not as good as Illustrator, but is quite satisfactory for many types of illustrations.

One tricky matter when creating graphics is to have the right amount of white space surrounding the graphic, which means a little bit of white space, but not too much. EPS files have a "bounding box" that determines how much white space is inserted; the bounding box is usually created automatically with as little white space as possible, though that can be modified in vector graphics programs by inserting an invisible rectangle of the right size around the graphic. For PDF files, which are often created with the graphic on an entire blank page, the white space can be cropped using an appropriate program (such as Preview on the Mac).

back to top

 

 

Bard Project Style

This style file, called bardproj.sty, is designed for both Bard senior projects and Bard M.A.T. mathematics research projects. This style file takes care of a number of formatting issues for such projects, such as the title page, dedication, acknowledgements and correct margins; it also includes formatting for theorems, definitions and the like, as well as a few miscellaneous items. There is a template and a brief manual (available in both LaTeX and PDF formats) for this style file. Click below to download these files.

back to top

 

 

Bard Poster Style

This style file, called bardposter.sty, is designed for posters to be used at events such as the Bard Senior Projects Poster Session. There is a template, a brief manual (available in both LaTeX and PDF formats), and a sample poster (available in both LaTeX and PDF formats) for this style file. Click below to download these files.

back to top

 

 

Bard Presentation Style

This style file, called bardpresentation.sty, is designed for public presentations to be given with a projector hooked up to a computer. This style file is an add-on to the seminar.sty presentation style, and it enables the user to make simple PDF presentations that can be displayed using Adobe Acrobat Reader, without need for Microsoft Powerpoint. (Making presentations in LaTeX is better suited for mathematical symbols than Powerpoint, and it allows text to be cut-and-pasted from other LaTeX documents, though the fancy formatting of Powerpoint is not available.). Click below to download these files.

back to top

 

 

Bard Homework Style

This style file, called bardhw.sty, is designed for homework assignments. There is a template and a brief manual (available in both LaTeX and PDF formats) for this style file. Click below to download these files.

back to top

 

 

Various Useful LATEX Packages

There exist a large number of LaTeX packages for various purposes that can be downloaded. Available below are a few of the packages that I have found particularly useful. A good place to look for more packages is at the TeX site of the American Mathematical Society listed above.

  • amsrefs.sty, an excellent package for making bibliographies in LaTeX.
  • color.sty, a package that allows for the use of colored text and background.
  • fancybox.sty, a package that makes exactly what its title says.
  • moreverb.sty, a package that has a number of different environments for verbatim text, esepcially useful for simulating computer code.
  • shadow.sty, a package that makes shadows for boxes.
  • seminar.cls, a package formats slides for presentations; for even easier formatting, use this package in conjunction with the Bard Presentation Style, found above.
  • type1cm.sty, a package that allows fonts to be scaled to arbitrary sizes.
  • verbatim.sty, a very useful package, which allows for lengthy verbatim text, and for commenting out large sections of text.
  • vmargin.sty, a package that allows for better control of page size and margins.

back to top

 

 

Spell Checking LATEX Documents

Using a regular spell checker for LaTeX documents is very frustrating, because a regular spell checker will identify as a spelling error most LaTeX commands, and also many collections of symbols inside mathematical formulae. To avoid this problem, a LaTeX-aware spell checker must be used. There are a number of free LaTeX-aware spell checkers that can be downloaded from the web. We list one for Windows and one for Macs. Both spell checkers can be set to ignore all LaTeX commands, and everything inside environments such as $ ... $, and $$ ... $$, and \begin{align} ... \end{align}.

back to top