% vi hello.tex
You may save it as any name as you like, let’s say hello.tex
And then open a command terminal and locates to this file, type the command.
# pdflatex hello.tex
A PDF file with the same name will then be generated also. You can locate to this file type the following command to view it
# evince hello.pdf
You should be able to view the PDF file with the word hello world. In case you have to make a more complicated Latex document, you may visit the following useful HowTos.
- Latex by Example: Including how to make, title page, sections, smart quotes, footnotes, math, marco, lists, tables, cross reference, converting Excel table to Latex table, OpenOffice table to Latex table, figures and hyper-reference;
- PDF Latex by Example: More advanced topics like: how to write an article, a book, converting to powerpoint, etc