LaTeX
Setup and Tutorial
First, you use a text editor (we'll be using the freeware Texmaker) to create a LaTeX document.
You will do everything from the program Texmaker, which will utilize MiKTeX and Yap. This document will take you through the steps of downloading, installing, configuring, and working with MiKTeX and Texmaker. Be sure to follow ALL of the directions below, IN ORDER.
Now you are ready to download the text editor, Texmaker for Windows.
\documentclass{article}
\begin{document}
Hello universe!
\end{document}
3. Save: Save this file as "universe.tex" to whatever directory you choose. Be sure the extension is "tex" and NOT "txt". Also be sure to select "All Files" under the "Save as Type" menu before you save.
4. Compile: Now click on the little "PDFLAT" icon on the toolbar. You should get a message below the window which reads "Process Started" "Process exited normally".
5. View:
Now click the PDF icon on the tool bar to view the PDF file.
If the PDF file does not open, check in the directory with the
.tex file to see if there is a .pdf file with the same name.
If so, you can click on it from the directory. If not, then
your file did not compile correctly.
Texmaker has a special command called "Quick Build". If you click on the "Q" button to the left of the "Latex" button, Texmaker will show you the log file in the lower window with any errors highlighted in red. First you need to configure Quick Build. On the menu bar at the top of the screen, click on "Options", then "Configure Texmaker". Now click the button to the left calls "Quick Build". Click the button that says "PDF LaTeX + View PDF". Then "ok".
\documentclass{article}
\begin{document}
Hello universe!
\end{document}
4. Compile: Now click on the "typeset" icon on the upper left. You will be prompted to save the file. Be sure to save it with a .tex (not .txt) extention.
5. View: A PDF file will automatically
pop up with the finished product. If it doesn't, you can
look in the directory with the file and see if a PDF is available,
then click on it. If not, then your file did not compile
correctly.
\documentclass{article} |
\begin{document} |
Howdy universe! |
The & is a special character. |
\end{document} |
4. To fix the problem, you could "comment out" the entire line by placing a % at the beginning of the line. Try this and click typeset again.
5. Or you can do as LaTeX suggests, and put a "\" in front of the &. Remove the % and try this.