2

When I use \usepackage{<package_name>}, what directories does LaTeX check for the .sty file for <package_name>? I'm asking this because I have a set of "configurations" that I always place in the preamble of my files and it would just be a lot easier to load all of that from a .sty file.

In my experience, it checks the directory of the .tex file and the regular install directory (in my case ~/.local/texlive/2020/texmf-dist/tex/latex), but I was wondering if there are any other options.

Not sure if it matters but I'm using Ubuntu 18.04 with a user (rather than root) install of TeXLive.

1 Answers1

0

You can write the relative path for the package.

\usepackage{Folder/Bruh.sty}
Someone
  • 539