Brief Latex Tutorial

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Brief LaTeX Tutorial

For LaTeX Beginners

www.verbosus.com
Individual Software Development

Documentation

Vienna, 2012

Author:
DI (FH) Daniel Kuster, MSc
1 First level
This is the text of the first chapter. If you want to create a subchapter then
simply do \subsection{Title of first subchapter}. If you want to move on
to the next chapter then do \section{Title of second chapter}.

1.1 Second level


Here comes the text of the subsection of the first chapter. Now lets try to insert
an image (see the box below which is called Images (.jpg, .png, etc.); Currently
there exists one image with the name leaves.jpg) which will be displayed at the
current position. This can be changed by changing the [h] (stands for here,
place it at the current position if possible) to a [t] (stands for top, place it
at the beginning of a page if possible, [b] (stands for bottom, places it at
the bottom of a page if possible) or [p] (stands for float page, places it on a
separate page with other floating objects).

Figure 1: Caption of the image

The image weve just inserted can be referenced by writing \ref{leave}. As


you can see the figure 1 shows some leaves.

1
1.2 Handling other resource types
There exist other very useful elements which can be inserted such as tables,
itemized lists or desciption lists. You can try them by simply clicking on the
small buttons below Project: Template Project on the top of this page.

1.3 Handling bibliography


Finally, lets find out how a nice bibliography is created. First, check the bib-
liography styles. A bibliography style tells the document how the references
and the list of resources will look like. Currently there exists one style named
alphadin.bst (see the list below named Resources (.bst, .sty, etc.)).
In order to set the style do a \bibliographystyle{alphadin} where al-
phadin (without the ending .bst) sets the style. If you want to place the
bibliography in your text then simply do \bibliography{document}.
At the time youve created a bibliography (actually, it is created automat-
ically when you create a new project) you can edit its entries by pressing the
blue Switch to Bibliography button below. You can come back here if you
press it again. Now that youve entered all your books and articles in the bibli-
ography simply do a \cite{refname1} where refname1 specifies the resource
you want to cite.
A test: [Jam09] says that it is a good idea to use LaTeX.

References
[Jam09] James, Jack: The awakening. In: The new journal March (2009)

You might also like