Tags

LaTeX

In general, TeX Live should be used wherever possible, as recommended by APS and the TeX Users Group. For a graphical front-end to TeX, TeXworks is provided by TeX Live on Windows and Mac OS X. Finally, Texmaker can also be used as a more advanced graphical TeX editor.

Getting Started

Linux

SL6 & SL7

The default TeX compilers provided:
  • SL6 (and RHEL6) is based on TeX Live 2007.
  • SL7 (and RHEL7) is based on TeX Live 2012.

The recommended TeX compiler is TeX Live 2022 (installed 07-Jul-2022), to enable the TeX Live 2022 environment, please type:

source /nfs/opt/texlive/2022/bin/texlivevars.sh

The TeX Live 2020 (installed 10-Jun-2020), to enable the TeX Live 2020 environment, please type:

source /nfs/opt/texlive/2020/bin/texlivevars.sh

The TeX Live 2019 (installed 20-May-2019, updated 15-Oct-2019), to enable the TeX Live 2019 environment, please type:

source /nfs/opt/texlive/2019/bin/texlivevars.sh

The TeX Live 2017 (installed 10-Jul-2017, updated 28-Mar-2018) is still available, to enable the TeX Live 2017 environment, please type:

source /nfs/opt/texlive/2017/bin/texlivevars.sh

The TeX Live 2016 (installed 16-Jun-2016, updated 10-Jul-2017) is still available, to enable the TeX Live 2016 environment, please type:

source /nfs/opt/texlive/2016/bin/texlivevars.sh

The TeX Live 2015 (installed 16-Jun-2015, updated 25-Apr-2016) is still available, to enable the TeX Live 2015 environment, please type:

source /nfs/opt/texlive/2015/bin/texlivevars.sh

The TeX Live 2014 (installed 17-Jun-2014, updated 13-May-2015) is still available, to enable the TeX Live 2014 environment, please type:

source /nfs/opt/texlive/2014/bin/texlivevars.sh

Linux Texmaker - The TeX graphical front-end

The recommended graphical front-end to TeX is Texmaker (UPDATED v5.0.3 15-Oct-2019), to use Texmaker, please type:

/nfs/opt/texmaker/bin/texmaker

The TeX Live 2022 environment is sourced, when Texmaker command is run.

Texmaker is also available remotely from the CLASSE GRID script, via X2Go.

SL5 & SL4

SL5

The default TeX compiler provided by Scientific Linux 5 (and RHEL5) is based on teTeX, not TeX Live. SL5 users can also access TeX Live in /nfs/opt/texlive/. To make sure you are using TeX Live, be sure to source the texlivevars script:
  • bash: source /nfs/opt/texlive/2010/bin/texlivevars.sh
  • tcsh: source /nfs/opt/texlive/2010/bin/texlivevars.csh

Users of Scientific Linux 5 (SL5) can run TeXworks using /nfs/opt/texworks/sl5/x86_64/texworks.sh or /nfs/opt/texworks/sl5/i386/texworks.sh. In addition, SL5 users can run the latest Texmaker from /nfs/opt/texmaker-2.1/sl5/x86_64/texmaker.sh or /nfs/opt/texmaker-2.1/sl5/i386/texmaker.sh.

SL4

The default TeX compiler provided by Scientific Linux 4 (and RHEL4) is based on teTeX, not TeX Live. SL4 users can also access TeX Live in /nfs/opt/texlive/. To make sure you are using TeX Live, be sure to source the texlivevars script:
  • bash: source /nfs/opt/texlive/2010/bin/texlivevars.sh
  • tcsh: source /nfs/opt/texlive/2010/bin/texlivevars.csh

In addition to the numerous editors provided by the distribution, users of Scientific Linux 4 (SL4) can run Texmaker 1.99 from /nfs/opt/texmaker/. Please note that SL4 does not provide REVTeX 4.1, as required by APS. SL4 users can use TeX Live (which provides REVTeX 4.1) from /nfs/opt/texlive, or with a little extra setup can use REVTeX 4.1 from SL4.

Windows

Users on Windows can access Linux servers to run most Linux software, using the display on their desktop. Instructions are here.

In general files saved from Linux default to the users Home directory, though they can select other directories if appropriate. You can access your linux home directory from Windows PCs as shown here.

Finally, Windows users can download and unpack TeX Live and Texmaker themselves as needed.

Installing TeX Live

  1. Download http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
  2. Extract the zip file to C:\TEMP.
  3. Go into the directory created and find install-tl.bat. Double Click on it and wait for the GUI to start.
  4. Click Next.
  5. Click on Change next to the destination folder, type in the path to a place you have write access.
    • C:\TEMP\texlive\year is a good default location. Replace year with the suggested year by the installer.
  6. Click Next.
  7. Change default paper size to Letter.
  8. Click Next.
  9. Click Install.
  10. Wait for the install to complete.

Multi User Computers

  • See if TeX Live has already been installed in C:\TEMP\texlive. If so, you can run the appropriate editor. See Texmaker below, or if you like TeXworks can be found at C:\TEMP\texlive\2020\bin\win32\texworks.exe

Updating TeX Live

  • You should be able to follow the instructions on their webpage here: http://www.tug.org/texlive/doc/tlmgr.html
  • Alternatively, you could go to the Start menu: Start, Programs, TeX Live 2020, TeX Live Manager.

Texmaker

  1. Download the current "USB stick" version from http://www.xm1math.net/texmaker/download.html
  2. Extract the zip file to somewhere you have write privileges.
    • C:\TEMP\Texmaker is a good default location.
  3. Run the program texmaker.exe in that directory. You can rightclick, hold and drag the program to your desktop and select create shortcut if you like.

Mac OS X

As with Windows, Mac OS X users can remotely access Linux servers to run software provided by Linux.

In addition, MacTeX can be used to install TeX Live and TeXworks locally on Mac OS X. Please submit a ServiceRequest if you would like MacTeX installed on your OS X system.

Finally, any Mac user can download and run Texmaker themselves from http://www.xm1math.net/texmaker/download.html. Note, installing MacTeX is required for full functionality.

LaTeX Templates from the Joint Accelerator Conferences Website (JACoW)

For LaTeX template samples from the Joint Accelerator Conferences Website (JACoW), please see: http://jacow.elettra.eu/index.php?n=Authors.LaTeX
Topic revision: r45 - 07 Jul 2022, AttilioDeFalco
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CLASSE Wiki? Send feedback