, , , ,

Latex

From Camilo's web
Revision as of 20:09, 2 October 2017 by Camilo (talk | contribs)
Jump to: navigation, search
Mountain View
  1. This is a template for an abstract

Installing packages

To make the packages available throughout the entire system (so that you can access it from any directory), you have to put the folder in the global directory:

/opt/local/share/texmf-texlive/tex/latex/

Afterwards, you need to let the system know that you have made some changes on the files. This can be done with the texhash command:

sudo texhash

If everything went right, you will see in the terminal the list with the updated files. If, however, the terminal doesn't know how to handle the command, you can try to find the file (in my case, it was in /opt/local/bin/), and make the path to the file accessible

export PATH=$PATH:/opt/local/bin

and then use the texhash command.