0
votes
0answers
53 views

You have requested package `include/foo' but the package provides `foo'

I have the following files: my_folder/ include/ mypackage.sty main.tex The package's name is 'mypackage'. Now, in main.tex I do \usepackage{include/mypackage} using the file path ...
8
votes
1answer
125 views

How to warn if a package hasn't been loaded

Is it possible to emit a warning if a package hasn't been loaded? If possible, I would prefer that the solution not require \usepackage{ifthen} as it couldn't emit the warning that it was missing the ...
3
votes
1answer
1k views

Warning when loading a LaTeX package

I'm new to LaTeX, and I can't work out why I'm getting a warning when adding a package I downloaded (from the MATLAB website called mcode.sty). Here is my code, \usepackage{myFolder/mcode}. I put ...
15
votes
1answer
5k views

Why does amsmath print a warning about a foreign command?

I was wondering what was the cause of the following warning message with the specific \usepackage used below: Using the following: Preamble \documentclass[amssymb,twocolumn,aps]{revtex4} ...
73
votes
4answers
2k views

Techniques and packages to keep up with good practices

Question What techniques and packages are there to keep up with good practices? What I already know I already know of the following packages for this kind of purpose: ...