I am making my own document class called MyClass in overleaf. I would like to move the cls file into its own folder called Style. How do I change the command \documentclass[Path=./Style/]{MyClass} so that it knows where the document class lives?
Asked
Active
Viewed 633 times
1
curry
- 283
1 Answers
1
You can add a file latexmkrc containing the line
ensure_path('TEXINPUTS', './/:');
so all folders are searched
see
David Carlisle
- 757,742
\documentclass{./Style/MyClass}would work but is not good practice) – David Carlisle Dec 15 '22 at 15:50\documentclass{./path/MyClass}– GowriSaro Dec 15 '22 at 15:50