I would like to make my version of mcexam.sty available to all my mcexam files without having to have mcexam.sty in every folder. For example, I may have an exam document in the following locations:
c:\documents\course1\exam1
c:\documents\course2\exam2
and these two exams may be synchronized with my NAS on
\\NASC12345\documents\exam1
\\NASC12345\documents\exam2
I know I could put mcexam.sty in a directory:
c:\documents\latexstyle\mcexam.sty
then use the code:
\usepackage{c:/documents/latexdstyle/mcexam}
But this solution would work only on one computer and not on synchronized devices. For example, the previous c: location may be synchronized on another device:
\\NASC12345\documents\latexstyle\mcexam.sty
But this synchronized file would not be read by the LaTeX document. Is there a way to reference the style file using a relative parent directory such as the /documents/ directory?
The style file that should be edited is located here in Windows 10:
...AppData\Roaming\MiKTeX\tex\latex\mcexam
The location of the style file will be in different locations for different O/S.