Charles Troupin edited this page Jun 27, 2017 · 2 revisions

LaTeX is a system for producing high-quality documents (reports, posters, presentations), used especially by the scientific community. LaTeX is a document markup language.


LaTeX project site:



The .tex files can be prepared with any editor and then compiled in command line. However, specific editors offer the shortcuts for the text processing and for the compilation of the code.

References and bibliography

  • BibTeX: a file format to process lists of references.
  • natbib: a package to produce author-year style citations. Also check the reference sheet.

Management of the BibTex files

  • JabRef (recommended): a graphical interface for managing BibTeX and other bibliographies. To create a reference, you simply select its type (article, book, thesis, etc) and then you fill the mandatory fields (author, title, etc) and the optional fields.
  • BibTool: never tried it, but if you did, please comment!

Create your own bibliography style

Lots of .bst files are available and they are often provided by the different journals. If you want to generate your own .bst file, open a shell and type:

latex makebst

and go through the process. Check the doc here:

If the command is not found, download it (package manager if linux).

Changing fonts

Using latex packages


On my machine, the fonts are installed here:


Using xelatex

XeTex is a TeX typesetting engine using Unicode and supporting modern font technologies.

  • Install xetex:
sudo apt-get install texlive-xetex
  • Install latex package "fontspec" if necessary.
  • Get the font files (.otf or .ttf extension) on your machine.
  • Adapt the line following example
\setmainfont[Path = /home/ctroupin/.fonts/]{Cube-Regular2}

in the following MWE example:

\setmainfont[Path = /home/ctroupin/.fonts/]{Cube-Regular2}
Test  (1) (2) 
  • Run xelatex, either by command line
xelatex example.tex

or using Texmaker directly (recent version include xelatex support).


Presentations with LaTeX are not so frequent, but if you already have an article typed in LaTeX, then it is easy to create a presentation.


Beamer is a LaTeX class for generating presentations.

The complete documentation is available at

and the wikibook at:


To change the colors:



Prosper also aims to create presentations. The documentation is available at

Animations in a presentation

Here is an example of a small pdf with an animation. You should replace the name of the animation (AnimSmallBase.mp4) by a file that you have on your machine.

\frametitle{Numerical model results}


An alternative to power-point for the creation of poster is LaTeX. As with the presentation, if you already have your text typed in LaTeX, then it is easy to convert it into a poster. Note that the final page setting might be tedious.


A0 poster

A0poster is a class designed for the posters. You can find more details here. Note that the packages multicol, pstricks and pst-grad have to be installed. For the generation of the pdf:

latex poster.tex
bibtex poster
latex poster.tex
latex poster.tex
dvips -Ppdf poster.dvi -o
ps2pdf poster.pdf

Note that if you want to print it on the SEGI printers, you need to use the postscript file.


The package basposter is an easy-to-use alternative to AO.


Add a QR-code

A QR-code (Quick-response code) is similar to a barcode, but in two dimensions. It can store addresses or url's.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.