In order to use LaTeX in Windows, vous will need two programs:
You can find the software and all the installation instructions at : http://pages.uoregon.edu/koch/texshop/obtaining.html.
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:
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 :
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.
mkdir -p texmf/bibtex/bib
mkdir -p texmf/bibtex/bst
You can put
bibtex files in
bibtex/bib and if you have
(biography style files) in