Showing posts with label LaTex. Show all posts
Showing posts with label LaTex. Show all posts

Thursday, December 29, 2011

Burning LaTeX

    Most of the people who write scientific notes, have trended to use LaTeX editors. You may think why don't they use MS Word or any other WYSIWYG editors. Well, LaTeX is much complex and platform independent, therefore users might have some benefits rather than using MS Word. Learning LaTeX is not much difficult, but finding a proper tutorial can be difficult. So I decided to give a little help for people who haven't experienced with LaTeX documenting.

In this example I'll use "TexLive" package.

1. Installing "TexLive" is not different from others. (in Debian/Ubuntu)

# apt-get install texlive

Well, this may take a long time, which depends on your internet connection. It will install all the packages which is related to "LaTeX" and some other tools as well. If you have the distribution CD (full), you'd better check that out for this package.

2. Once you installed, you can start creating LaTeX files. These files can be edited by using any text editor and save it with ".tex" extinction.

3. This is just a small example, if you need further documentation syntax, you need to check LaTeX wiki.



4. To view the document you need to generate a pdf file. Only a single command required.

# pdflatex sample.tex

5. Use any pdf viewer to open the "sample.pdf" file.