I'm trying to set the documentclass type of a certain .tex file to be a class that is in the parent folder. However, I'm not sure how to include the path to the .cls file. I can write
\documentclass[letterpaper,12pt]{../foo}
But that complains that the imported class isn't the same as the provided class (in foo.cls I have \ProvidesClass{foo}. I know that this is just a warning and I could ignore it, or I could write \ProvidesClass{../foo}, but was wondering if there was a cleaner way to do the document class declaration.
\documentclass. Instead you should change the search path so it can be found. – Peter Grill Sep 04 '11 at 03:25../fooand notfoowhen you use it as\documentclass{../foo}. Perhaps you could try changing the class name to../foobut I think that is a bad idea. – Peter Grill Sep 04 '11 at 03:39\documentclass{foo}and change the search path so that TeX can locate it. ie., Place the file in~/texmf/tex/latex/, and runtexhashto update the TeX database. I haven't tried it but it should work. – Peter Grill Sep 04 '11 at 03:59