Miktex For Mac
Miktex Download For Mac
I want to install TexMaker 4.5 on Mac OS X 10.9.5. On the official page, I clicked on Texmaker 4.5 for MacosxLion (64 bits) and opened the folder that is downloaded. It contains the application texmaker. I double-clicked it and made a small MWE. If I want to compile it, it says. MiKTeX (pronounced mick-tech) is an up-to-date implementation of TeX/LaTeX and related programs. TeX is a typesetting system written by Donald Ervin Knuth who says that it is intended for the creation of beautiful books - and especially for books that contain a lot of mathematics.
Introduction
LaTeX is a markup language, which means it finds little snippets of code in a plain text document and uses that to typeset the text. If you're familiar with HTML, this is exactly what LaTeX is like. If that analogy makes you more confused, perhaps think about it like this: imagine the bits of code in your document are like a book editor's red pen marks, indicating to the publisher how to print the text. When you run LaTeX on your document, it is like sending your manuscript to the printer, with instructions for how to print. They send it back to you as a pdf.
So, great. What do we need? First we need a way to make the manuscript (in the jargon: a tex file (sound like 'tech')). Second we need the typesetter/printer to send the manuscript to (in the jargon: a LaTeX compiler). How you accomplish both of these steps depends on your operating system. The instructions below will guide you through the installation of both the compiler and the editor for both Windows and Macs.
Gif keyboard for mac. To sum up:
- The editor helps you write your .tex file with LaTeX code.
- The compiler reads your .tex file and makes a pretty document.
Windows
the compiler - MiKTeX
The Windows LaTeX compiler is called MiKTeX and it will give your computer the power to compile .tex files. It also manages LaTeX packages, which work very similarly to R packages. MiKTeX is a little scary, but hopefully once you install it, you won't have to deal with it a whole lot. Think of it as setting up a really fast typesetter in your computer.
- Go to www.miktex.org/2.7/Setup.aspx.
- Download the 'Basic MiKTeX 2.7' Installer
- Open up the installer and use all the default settings
the (free) editor - Texmaker
The dual-edged sword aspect of LaTeX is that the .tex files are actually just plain text. So, you could just use Notepad or Wordpad or Word or some other program. These are fine, but there are other programs that will greatly expand your productivity in LaTeX. For Windows, we are going to recommend the free editor Texmaker. It has fun stuff like syntax highlighting and buttons on the side with all of the math symbols, so you don't have to look them up every time you write up a problem set. In addition, there are menu buttons and keyboard shortcuts that allow you to compile the .tex file. So, to install:
- Go to http://www.xm1math.net/texmaker/download.html
- Click on Executable file for win32 systems :texmakerwin32_install.exe.
- Run the installer and use all of the default settings.
- Save the file in a convenient place as 'helloworld.tex'
- Click on the button labeled 'PDFLAT' to run pdflatex
- Click on the 'View PDF' button to open Acrobat to view the resulting PDF
Mac OS X
the compiler - MacTeX
MacTeX is the basic Mac distribution of the LaTeX compiler. A bit of a warning: the download for this is over 1GB, so it might take a bit. In addition, you have drive space limitations, you may want to consider one of the stripped down versions of MacTeX. Wonderfully, MacTeX installs a very slick editor called TeXShop. To obtain this compiler:
- Go to http://tug.org/mactex/
- Click and download: MacTeX.mpkg.zip
- Unzip and run the MacTeX.mpkg file, keeping all the defaults.
the (free) editor - TeXShop
The dual-edged sword aspect of LaTeX is that the .tex files are actually just plain text. So, you could just use any old text editor. These are fine, but there are other programs that will greatly expand your productivity in LaTeX. For Macs, we are going to recommend the editor that comes with MacTex, called TeXShop. It will ease the LaTeX editing and compiling process.
Miktex Alternative For Mac
Now that we have an editor, we can fire up some LaTeX and get to your classic hello world program. Start by opening TexShop and copying into it the following text:
Miktex Mac Path Issue
Now:- Save the file in a convenient place as 'helloworld.tex'
- Click on the button labeled 'Typeset' to run the compiler
the (free) editor (ii) - Texmaker
You may find TeXShop a bit intimidating. It doesn't have the helpful buttons for bold, italics, math symbols, etc. If you want these features, you can always download Texmaker for Macs and use that. To obtain it:- Go to http://www.xm1math.net/texmaker/download.html
- Download the zip file for Mac OS X.
- Open the zip file and place the Texmaker application somewhere that suits you.
Further Reading
There are a number of resources for LaTeX online. By a number, I mean a very high number. Walking yourself through an online tutorial is a good way to get familiar, but you'll probably learn LaTeX as you trying to type up your problem sets. This can be a frustrating experience, but I think it's worth it in the long run. Even if you don't use any math, your paper will have a professional shine that makes some impact on the reader.
If you do get stuck, try to find the answer on your own first. Google is your friend here. When I get stuck on tables (which is often), I google: 'latex tables.' I've found that googling 'latex+myproblem' is a good way to answer almost any question.
Some other pages that are often used are the following:
- The Not So Short Introduction to LaTeX2e, by Tobias Oetiker. Comprehensive, will answer almost any question you have.
- LaTeX Tutorials, from Andy Roberts. You don't need to worry about his section on 'setting up LaTeX' but the rest is good, especially for beginners.