Difference between revisions of "LaTeX Install"
(→Installing GhostView) |
(added installing extra packages) |
||
Line 27: | Line 27: | ||
For text editors without LaTeX in mind, you will have to create your LaTeX files in them (making sure to give them a .tex filename extension). Then, bring the file to the same folder that latex.exe is in (usually <tt>C:\texmf\miktex\bin</tt> ). Open the command prompt, navigate to the folder latex.exe is in and type <code>latex <filename></code> to compile the file. This produces several files, including a <code>.dvi</code> file. The DVI file can easily be converted to PS or PDF formats. | For text editors without LaTeX in mind, you will have to create your LaTeX files in them (making sure to give them a .tex filename extension). Then, bring the file to the same folder that latex.exe is in (usually <tt>C:\texmf\miktex\bin</tt> ). Open the command prompt, navigate to the folder latex.exe is in and type <code>latex <filename></code> to compile the file. This produces several files, including a <code>.dvi</code> file. The DVI file can easily be converted to PS or PDF formats. | ||
+ | |||
+ | ===Installing Extra Packages=== | ||
+ | |||
+ | Once you've been using LaTeX for a while, you may find that you need to install new/additional LaTeX packages. MikTeX makes this process very simple. Find MikTeX in your Start Menu and select <tt>MikTex Options</tt>. This is the file <tt>mo.exe</tt> in the same directory where you find <tt>latex.exe</tt> (usually this is <tt>C:\texmf\miktex\bin</tt> ). | ||
+ | |||
+ | Click on the <tt>Packages</tt> tab, then right-click the root of the directory tree (usually called 'MikTeX Packages'). The option 'Find Package' appears, so click it. Then type the name of the package you seek into the appropriate field and click 'Find Now'. Select the search result you want and click 'Goto'. Install if necessary. | ||
==Installation for Mac== | ==Installation for Mac== | ||
Line 35: | Line 41: | ||
A list of text editors can be found [[Text_Editor | here]]. | A list of text editors can be found [[Text_Editor | here]]. | ||
+ | |||
+ | ===Installing Extra Packages=== | ||
+ | |||
+ | Once you've been using LaTeX for a while, you may find that you need to install new/additional LaTeX packages. | ||
==Installation for Linux== | ==Installation for Linux== |
Revision as of 00:34, 3 October 2007
Contents
Installation for Windows
There are three easy steps for installing LaTeX on Windows:
- Install GhostView - for creating and viewing postscript (.ps) files
- Install MikTex - this is the standard LaTeX package for Windows
- Install a Text Editor - to type up your own LaTeX files or edit other people's files
All these components will take up approximately 400 MB on your computer, but have at least 600 MB free before installation to keep your computer running smoothly.
Installing GhostView
This step is so that you can create and view postscript (.ps) files.
You need to download GhostView, which consists of two parts, GSView and Ghostscript. Download the most current versions of both and install them following the instructions in the self-extracting installation packages. Users of personal computers should install the Win32 versions of these packages.
Installing MikTeX
This is the crucial component of the installation and also the biggest on disk, more than 300 MB.
Installing a Text Editor
Any text editor is sufficient to type up LaTeX documents, however some are specially designed with LaTeX in mind. These usually have buttons for common tasks and text highlighting/coloration for LaTeX environments like Math Mode.
Warning: do not type up LaTeX documents in word processing programs, such as MS Word. These programs "mark up" the text, meaning they have program-specific coding hidden in the file. The text you see on screen is much less than the actual text inside the file. The LaTeX compiler will encounter this extra coding and produce strange results.
It's recommended to use a text editor with LaTeX-specific features. Such a list can be found here.
For text editors without LaTeX in mind, you will have to create your LaTeX files in them (making sure to give them a .tex filename extension). Then, bring the file to the same folder that latex.exe is in (usually C:\texmf\miktex\bin ). Open the command prompt, navigate to the folder latex.exe is in and type latex <filename>
to compile the file. This produces several files, including a .dvi
file. The DVI file can easily be converted to PS or PDF formats.
Installing Extra Packages
Once you've been using LaTeX for a while, you may find that you need to install new/additional LaTeX packages. MikTeX makes this process very simple. Find MikTeX in your Start Menu and select MikTex Options. This is the file mo.exe in the same directory where you find latex.exe (usually this is C:\texmf\miktex\bin ).
Click on the Packages tab, then right-click the root of the directory tree (usually called 'MikTeX Packages'). The option 'Find Package' appears, so click it. Then type the name of the package you seek into the appropriate field and click 'Find Now'. Select the search result you want and click 'Goto'. Install if necessary.
Installation for Mac
Installing LaTeX
Installing a Text Editor
A list of text editors can be found here.
Installing Extra Packages
Once you've been using LaTeX for a while, you may find that you need to install new/additional LaTeX packages.