MikTex 2.8 for beginners

  • Thread starter Matty R
  • Start date
  • #1
Matty R
83
0
Hello :smile:

I've been using Latex more and more on these boards, and I'd like to use it for my Physics notes that I type. I've been using Microsoft Excel but it can get very messy.

I've downloaded the complete verson of MikTex 2.8 (I used the Net Installer) and I also have GhostScript 8.64 and TexNicCentre, but I've got no idea how to use them. I can't even create a simple document. I have absolutely no idea how to get started, and I can't find any guides on the very basics.

I've got a manual off the MikTex website, but I'm still completely lost.

At the moment I'm just using an online Latex Equation Editor, saving my equations as GIF images and inserting them into Excel, where they get blurred for some reason.

Does anyone know of any guides to help absolute beginners in creating "beautiful documents" in MikTex?

Thanks
 

Answers and Replies

  • #2
las3rjock
230
0
MikTeX now comes with a basic LaTeX document editor called TeXworks, which you should find under "Start Menu"->"All Programs"->"MikTeX 2.8". Run it, and enter the following document:
Code:
\documentclass{article}
\begin{document}
\title{Example Document}
\author{John Doe}
\maketitle
This is my first \LaTeX\ document.  Here is some inline math: $a^2 + b^2 + c^2$.
Here is some displayed math:
\[ \int x \, dx = \frac{1}{2} x^2 + C \]
\end{document}
Save the document somewhere (preferably in its own folder, as LaTeX generates a number of auxiliary files when compiling a document) as "example.tex". Now click on the "Typeset" menu in the TeXworks window, and select the "Typeset" menu option. (Alternatively, you can click on the green button in the toolbar that looks like a play button.) This will compile your document and display it in a new window.

That should be enough to get you started. The canonical reference for learning the syntax of LaTeX is http://www.ctan.org/tex-archive/info/lshort/english/" [Broken] is now a viable, more modern alternative. Happy TeXing!
 
Last edited by a moderator:
  • #3
Matty R
83
0
Thank you so much for the reply. That is exactly what I was after. I didn't know I had to use the "begindocument" and "enddocument" bits, so whenever I pressed the Typeset button, nothing would happen.

I've just saved a copy of that wikibook aswell, so I should be sorted now.

Again, thank you very much for your help. :smile:

Matty
 
  • #4
Chinnu
24
0
MikTeX now comes with a basic LaTeX document editor called TeXworks, which you should find under "Start Menu"->"All Programs"->"MikTeX 2.8". Run it, and enter the following document:
Code:
\documentclass{article}
\begin{document}
\title{Example Document}
\author{John Doe}
\maketitle
This is my first \LaTeX\ document.  Here is some inline math: $a^2 + b^2 + c^2$.
Here is some displayed math:
\[ \int x \, dx = \frac{1}{2} x^2 + C \]
\end{document}
Save the document somewhere (preferably in its own folder, as LaTeX generates a number of auxiliary files when compiling a document) as "example.tex". Now click on the "Typeset" menu in the TeXworks window, and select the "Typeset" menu option. (Alternatively, you can click on the green button in the toolbar that looks like a play button.) This will compile your document and display it in a new window.

That should be enough to get you started. The canonical reference for learning the syntax of LaTeX is http://www.ctan.org/tex-archive/info/lshort/english/" [Broken] is now a viable, more modern alternative. Happy TeXing!

Thank you for this, I too was having issues doing that.
 
Last edited by a moderator:
  • #5
Edgardo
705
15
Here's another excellent tutorial on LaTeX:
http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:About" [Broken]
 
Last edited by a moderator:

Suggested for: MikTex 2.8 for beginners

Replies
11
Views
3K
  • Last Post
Replies
2
Views
945
  • Last Post
Replies
4
Views
1K
Replies
2
Views
2K
  • Last Post
Replies
0
Views
380
  • Last Post
Replies
3
Views
294
Replies
1
Views
733
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
23
Views
306
Replies
8
Views
234
Top