I'm trying to improve the answers to my other question to create my personal package which provides some commands, like
\alert to write in red color, or some options like
lineno to turn on line numbering.
But what should I do when I send the
tex file to someone who don't have the my personal style package?
Looking for a solution I tried to check before the document class if my package file exists. If yes, great, load it.
But the problem is in negative case. I should to redefine all personal commands or clean all of them to avoid errors.
What is the better way to do this?