TransWikia.com

How to add new packages to TeXStudio

TeX - LaTeX Asked by yellowkanteen on January 23, 2021

I’m completely new to writing in LaTeX and am therefore starting up with a pre-made report template. However when I just try to compile the template I get the message that following file is required.

texlatexnatbibnatbib.sty 

So I’ve downloaded the natbib package but where do I save the files?
Appreciate any help and advice to get started with TeXStudio and how to add packages.

One Answer

The Editor has actually nothing to do with the LaTeX System. The packages are installed and updated typically with a package manager from the LaTeX distribution - not with the Editor.

If you are using miktex then start the "package manager" and with Tex Live "TeX Live Manager" and add the missing package(s).

If you want to avoid problems with missing packages it is a good practice to install all available packages. That way you hardly ever miss a package again.

If a package is not available in the repository you could as well copy the .sty file to the place where your .tex file is located. However this should always be the exception.

Correct answer by Matthias Pospiech on January 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP