- Downloaded the physics.sty files from the CTAN repo
- As super user, create a directory in your $\LaTeX$ installation, mine is /usr/share/texmf-texlive/tex/latex
- sudo mkdir /usr/share/texmf-texlive/tex/latex/physics
- Move the downloaded file to the new location
- sudo mv physics.sty /usr/share/texmf-texlive/tex/latex/physics
- Run mktexlsr for changes to take effect
- sudo mktexlsr
- Now start using it by adding the following to your $\LaTeX$ file
- \usepackage{physics}
- See the documentation on the package's web site for macro definitions
- Happy $\LaTeX$-ing
Diligently, among other things, exorcising bad science from modern cosmology
Sunday, November 18, 2012
Install Latex .sty and .cls files
Here is how to install a $\LaTeX$ physics.sty in Texlive under Ubuntu. You can do this to any other .sty package you like.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment