Skip to content


In order to use LaTeX in Windows, vous will need two programs:

  • Latex distibution for Windows, for example TeX Live.
  • a text editor such as TeXStudio that can edit and compile Latex document with texlive.

You can find the software and all the installation instructions at :

NB: You need to download both TexLive et TeXShop.

To install LaTeX on your personnal computer, you can use TeXLive.

To access LaTeX on the Linux computers of CIRRELT/GERAD, you'll have to load the texlive module. module load texlive

You can use any text editor to write your documents. TexStudio might be available on some machines but generally it won't. If you absolutelly need it, you can install it in your account with flatpak.

Adding modules with tlmgr

With texlive, there's a tool called tlmgr that allows you to search install and remove additionnal packages.

The first step is to initialize your personal directory with this command:

tlmgr init-usertree

After that, you can search packages:

tlmgr search --global algorithm

To install a module:

tlmgr --usermode install algorithmicx

To remove a module:

tlmgr --usermode remove algorithmicx

Add additional modules manually

If a module isn't available with tlmgr, you can add it in the same directory when you will edit your latex document. Or you can use tlmgr directory structure to add the module, this way you can use that module in multiple documents.

  • Create the structured directory in your home directory :
cd ~
mkdir -p texmf/tex/latex

    * Place the module in a new subdirectory, for example algo :

mkdir texmf/tex/latex/algo
mv algo.cls texmf/tex/latex/algo

You can use this organisation for your biography files too.

As we've seen for the module you create the same directory structure with bibtex as a subdirectory for biography files.

cd ~
mkdir -p texmf/bibtex/bib
mkdir -p texmf/bibtex/bst

You can put bibtex files in bibtex/bib and if you have bst (biography style files) in bibtex/bst.