I downloaded a new package (quiver) for making commutative diagrams on latex from this link. I use LaTeX on VS Code (Visual Studio Code).
To prevent from having to copy and paste my packages every time, I made a folder with all my tex resources and made a file with all my packages and commands. Whenever I make a new file, I just write
\input{C:/Users/[myname]/Documents/LaTeX-Resources/LaTeX-Template.tex}
In this template, I added
\usepackage{quiver}
However, even though I put the quiver.sty folder in the LaTeX-Resources folder (where the template is in), any new document I make won't compile unless the quiver.sty file is also in that folder.
For example, if I have a file HW1.tex in a Math 112 folder, it won't compile without the quiver.sty file also being in the folder. I don't know why this issue comes up, because \usepackage{quiver} is only in my template, which is in the same folder as the quiver.sty file.
How can I avoid having to copy the quiver.sty file into every folder where I have TeX documents?
quiver.styfile. Similar to your\inputpath but to somewhere where the package location never changes. From this answer by Werner, you should not include the.styat the end ofquiver(although you haven't in this example but may when specifying the absolute path). Try that and let us know how it goes, someone might have a better solution.texmf-home(to find the folder, typekpsewhich -var-value TEXMFHOMEinto the cmd, therein create a folderquiverand put thequiver.styand all other files the package may need into that folder). Once you've done that you can use\usepackage{quiver}anywhere on your local user.