[Tex/LaTex] Some packages not recognised by TexStudio

installingmiktexpackagestexstudio

Some of my packages are not recognised by TexStudio (examples: pdfpages, mathtools, ramsstyle and so on), but most of the packages I use are recognised.

I have installed all of these packages with MikTex 2.9 (even tried to reinstall them), but still TexStudio won't recognise them. This is getting tiresome since I really need to use pdfpages to include a PDF to my document.

Is there any way for me to check if the packages are installed, and if TexStudio is actually connected to MikTex? I also tried to install some new, random packages with MikTex but they were not recognised either.

I don't know if I checked the "Install on the fly" option when I installed MikTex (was and still are fresh in the Latex game).

Any help is much appriciated!

Best Answer

TeXstudio checks which packages are installed on startup. When you \usepackage one it didn't find, this is marked as "not found" (being underlined in green).

When you install a package after starting TeXstudio, either using MiKTeX's install-on-the-fly feature or manually through the package manager, TeXstudio does not know about this. It will still mark the now installed package as "not found".

However, you don't really have to care about this. MiKTeX does the actual compiling and knows which packages are installed. As long as your document compiles fine, it is inconsequential if TeXstudio knows about all the packages you use therein.

If it bothers you, just restart TeXstudio. It will redo the check and find the new package.