Disclaimer: An identical question was asked 10 years ago with no answer. I would like to ask again in case someone, a decade later, has found a solution.
I have a folder that looks like this:
Phys1500
| chaos.sty
+---Assignment1
| 1500HW1.tex
| ...
\---Tutorials
...
In my 1500HW1 file in the Assignment1 folder, I would like to access the chaos.sty file in the parent directory. I have tried this with
\usepackage{chaos.sty}
to no effect. LaTeX can't see the chaos.sty file.
How may I access it? I don't simply want to move the style file to the directory of interest, because in the future I'll have more assignments that`ll all make use of that file.
Thanks in advance :)
\usepackage{chaos}with no.sty– David Carlisle Jan 13 '24 at 17:11<yourpath>/texmf/tex/latex/<yourpackage>and then forget about it. (WhereTEXMFHOME, (see e.g. How to make LaTeX see local texmf tree for Mac/Linux) but personally I don't think that is ever worth the effort. If you want to keep the files in a different location but still have them seen, you can simply add symbolic links to the folder in your hometexmffolder instead (again, assuming Mac/Linux). – Alan Munn Jan 13 '24 at 17:34