Tag: xelatex

如何从子目录加载乳胶.sty文件?

我使用了一些.sty文件,这些文件不是texlive的一部分,并且希望将它们放在我的main.tex文件夹的子目录中。 我用下面一行来加载包: \usepackage{sty/prettythesis} 这工作,但用xelatex和使用橡胶编译main.tex给我一个警告: sty/prettythesis.sty: You have requested package `sty/prettythesis', but the package provides `prettythesis'. (page 1) 有没有办法来防止这个警告或处理这种情况,而不必在所有.sty-files'\ ProvidePackage命令中包含“sty \”或设置TEXINPUTS环境variables(这似乎是不可能从main.tex本身) ?