Friday, May 6, 2016

Latex: How to start

1. Install ghostscript. (http://www.ghostscript.com/download/gsdnld.html)
2. Install miketex. (http://miktex.org/download). Miktex includes Texworks editor.
3. Now open Texworks and paste the follwing code:

 \documentclass{article}
\begin{document}
My first \TeX~document.
\end{document}

Save the file as test.tex and press CTRL+T. If output pdf shows "My first TEX document.". Everything is OK.

How to install packages in Miketex-
1. Go to Miktex Update(Admin) exe file and run this file as administrator. Update the connection settings if any.

 

 2. Go to Miktex Package Manager(Admin) exe file and run this file as administrator. Right click on the package name and select install.




Enjoy!

Some tricks-
1. Math symbols should be written between dollar signs. Example. $<$, $\circ$. (http://tex.stackexchange.com/questions/101918/how-to-use-maths-symbols-in-text-mode)
2.Packages often required in writing thesis
(1) classicthesis
(2)

No comments:

Post a Comment