The purpose of this guide is to introduce students and faculty to LaTeX resources. If you are a new LaTeX user, this guide can help get you started. More comprehensive documentation is listed for advanced users.
First, you need a TeX Distribution (Required). A tex distribution is a collection of software that supports the TeX typesetting system. The TeX Distribution and engine do the typesetting work.
A TeX Distribution must always be installed first. For Windows, choose either MiKTeX or TeX Live. For Macs, choose MacTeX. For Linux, choose TeX Live.
See TeX Live
Next, you need a Front End or Editor (Recommended).
Software that provides an interface to edit a LaTeX document more easily. Features like spell check, automatic command completion, and a graphical user interface to typeset the document are included.
There are many great editors. Choose the one that suits your needs best. My favorite for Windows and Linux is TeXStudio. My favorite for Mac OS is TeXShop. Users will discuss what editors that they like best and why they like them on forums, blogs, and Wikipedia. Try a Google search on LaTeX editors.
For publisher class files, many can be found at the publisher's Web site (author guides). However, some publisher class files are kept up-to-date at the Comprehensive TeX Archive Network (CTAN). Many other packages can be found there as well.
Sometimes when using MikTeX, you can't install packages on the fly because they're not in the repository that you're using. In my case, the picins.sty package was not found, so I know that I have to install that [the package] manually.
For MikTeX, the directory is usually C:\Program Files\MikTeX. Under this directory, there are two important folders or directories. One is bibtex. If you go into that folder, there's a bst folder and that's where your BibTeX style files go if you have them. I'm going to go back to the MikTeX directory. Another important directory is tex directory. Under that directory is the latex directory and this is where all your package files go.
Now, we don't have any bibtex style files, so we are just going to copy a folder with package files in it. I've already downloaded this folder, picins. I got it from ctan.org. It was zipped, so I unzipped it and it created this folder for me. I am going to copy this folder and I'm going to put it in the tex, then latex folder.
I right click, then I select paste. My system always asks me if i want to continue because you need administrative privileges. [press button]. Now it's in my package folders . I'm going to go back to the editor, which is TeXstudio and I'm going to run it now. As you notice, I have the same error and the reason is that I have to refresh the file name database.
I'm going to start up the MikTeX console and i'm going to switch to administrator mode. To refresh the file name database, you select Tasks from the main menu, then Refresh file name database. Now that it's finished, I'm going to regenerate the file. Now, it generates without error.
Demonstrates how to install packages that don't install on the fly with MikTeX.
Note: Select 720p from settings button if possible.
Is the video not visible? Check your browser compatibility. opens new window
If your browser is compatible, try the video, Installing LaTeX Packages for MikTeX on Windows, on YouTube.
BibTeX is a macro that enables one to add references to their LaTeX document. The information about the references are stored in a .bib file.
A BibTeX style file (.bst) applies a citation style to the LaTeX document. Quite often these files are included when you install new class files. There are packages that can apply a citation style too.
BibTeX is installed with every TeX distribution.
The good
BibTeX was developed shortly after the TeX typesetting system, so it is stable.
The bad
The macro is old and hasn't been updated much.
The ugly
BibTeX doesn't use modern encoding standards, so it can have trouble with some languages.
However, biber can be used to extend language support of BibTeX. It must be used in conjunction with the biblatex package. TeX distributions include biber and bibtex.sty with them.
There are multiple LaTeX experts that you could contact. Please feel free to contact me, the Engineering Librarian, to schedule an appointment. You can email me or use the schedule appointment button on this webpage.
Ask a Librarian | Hours & Directions | Mason Libraries Home
Copyright © George Mason University