TeXstudio
Description
"TeXstudio is an integrated writing environment for creating LaTeX documents. Our goal is to make writing LaTeX as easy and comfortable as possible. Therefore TeXstudio has numerous features like syntax-highlighting, integrated viewer, reference checking and various assistants."
Source: TeXstudio website.
Installed Versions
To know which versions of TeXstudio are installed in the HPC cluster use
module spider texstudio
Output:
--------------------------------------------------------------------------------------------------------------
texstudio: texstudio/2.12.4
--------------------------------------------------------------------------------------------------------------
Description:
TeXstudio is an integrated writing environment for creating LaTeX documents.
You will need to load all module(s) on any one of the lines below before the "texstudio/2.12.4" module is available to load.
intel/17
Note: we only had one version when we wrote this guide. Please run the commands to discover newer versions.
Loading the Module
In this example we will load texstudio/2.12.4.
First, we need to make sure we are in the correct hierarchy. To know what modules need to be loaded in order to use TeXstudio, use
module spider texstudio
Output:
--------------------------------------------------------------------------------------------------------------
texstudio: texstudio/2.12.4
--------------------------------------------------------------------------------------------------------------
Description:
TeXstudio is an integrated writing environment for creating LaTeX documents.
You will need to load all module(s) on any one of the lines below before the "texstudio/2.12.4" module is available to load.
intel/17
This tells us that we need to be in the intel/17 hierarchy.
When we log into the cluster, we are in the intel/17 + openmpi/2.0.1 hierarchy. Since this hierarchy includes the modules from intel/17, we can directly load the module:
module load texstudio
One can also check the modules that have been loaded with
module list
Output:
Currently Loaded Modules:
1) intel/17 3) StdEnv 5) base/8.0 7) gcc/6 9) texlive/2016
2) openmpi/2.0.1 4) poppler-qt5/0.51.0 6) gstreamer/1.10.3 8) qt/5.8.0 10) texstudio/2.12.4
We can observe that the module for TeXstudio already loads the required dependencies, including texlive/2016.
Using TeXstudio
Since TeXstudio requires GUI, we recommend using one of the software in our HPC visual access (for example, X2Go) to obtain the best performance.
For all graphical access methods other than OnDemand, once you are located on the head node with GUI, then request an interactive session on a compute node:
srun --x11 --pty /bin/bash
NOTE: Writing LaTeX articles does not require many resources. One should have enough with the default setting.
Then we load the TeXstudio module
module load texstudio
And we can execute TeXstudio with the command
texstudio
You should obtain a window like the one in the picture.