I disagree with most people's opinion here that a latex newbie need to start with a template. If you actually want to learn to use it yourself, templates doesn't help that much (esp. large templates). Yet, it may be a good idea to take a look at small sample files (containing only simple latex code).
In my opinion, the best way to transition from word processors to latex is to take it slow! Seriously, learn latex slowly. First, some old habits have to go as pointed out by Quadrescence in his answer. In latex, formatting is separated from content as much as possible, and latex provides a cleaner interface to ensure that the user can focus more on the content.
Start creating documents with very simple ones. Something like this first,
\documentclass{article}
\begin{document}
Type your content here. Lorem ipsum ........
\end{document}
You can type something like this in a text editor such as notepad or gedit, and save it with extension .tex
(eg: myfile.tex). At least in the beginning, it is easier to use an application such as texstudio or texworks (the latter is by default installed with MikTex). You can compile this script by pressing the compile button (or compile and make button) [usually it is a green 'play' symbol]. If you are in linux fan like me, and prefer commands, you can use the command pdflatex <filename>
instead. Compiling your document results in producing a pdf file in the same folder the script is in (or it may report that the script has errors, or give some warinings).
Once you are familiar with this basic syntax, you are ready to try more. So, one of the basic things you need is a title and different sections. Well, title for your document has to wait. But, there is a way for adding sections. Don't think about bold, center alignment or underline. Ask yourself "What do I need here?". Well, what you need is a section. In latex, it is done by the command \section
. This is the typical way latex works. I refrain from talking about advantages of separating content from formatting here. Adding a subsection is also similar.
Once you are familiar with this, you are ready for adding titles. This one may seem a bit tricky. In latex, you can prepare documents of different types such as book, article, report, etc. (this is what you mention in the command \documentclass{}
). In a typical article, the title goes with a number of other things such as author name and date. So, in latex, these are typically thought of like a unit. Here is how you give these.
\documentclass{article}
\title{Title of document goes here}
\author{authorname goes here}
\date{date goes here}
\begin{document}
\maketitle
The rest of your document goes here (with sections and subsections).
\end{document}
You can always leave out the author command; To leave out date, you need to keep the entry in \date
command empty (i.e., \date{}
).
The next thing to learn is typical components of latex code. You have environments which follow the structure:
\begin{<name of environment>}
'content' of environment goes here
\end{<name of environment>}
A simple example is document
. Other examples are itemize
and enumerate
. This is the basic way to add lists (this includes bullets are numbering).
Once you are comfortable enough with latex, read some good book or other reliable resource (otherwise, you may end up learning the wrong ways). You can always choose shorter reads such as these 1, 2 (at least at this stage). (Note: overall, the wikibook looks nice).
Like this, take your time to learn new things in latex. You could keep using latex for creating simple documents for your purposes. And learning new things, one at a time slowly as a need arises. This approach works well for learning almost anything with a steep learning curve. I use latex in vim. Though, I am not a power user in either, i am able to fullfill my needs (including making presentations with 'animations'). This was my strategy all the time. And if you need one or two extra things as an emergency, but don't have time to learn them properly yet, you can use this for tables and this for mathematical equations. But, then later take time to learn them, slowly of course :-)
Cheers