I think that what I would like to do is a class file, however beamer is a latex class, so I'll try the long description:
I have written quite a few commands to make a beamer document look the way I like. I have to actually write some more and add conditionals so that it can look in one of the two ways I like, and allow to configure it, and configure the colors (theme?). I would like to put all those commands in a single file so that it is easy to reuse (by me and possibly other people, if they are fear no errors or bugs).
AFAIK, a document has only one class, therefore I should do something different.
I think it may be possible to define a .sty file and use it with \usepackage, this would allow to use options to configure the behaviour of the poorly written and insanely overcomplicated file. I may be wrong, though.
The question is twofold: What should I do and how can I do that?
For the first, I guess it's a .sty but I may be completely wrong, for the second, the url of a tutorial or example would probably be the best option.
Thank you.
beamercolortheme<Name>.sty), for the colors I was using the packagexcolorbut I found no\usepackagecommands in the themes so far. Is\usepackageok in this context? – Trylks Oct 04 '13 at 14:12\usepackagethere, you can do the same as in the document preamble. However, AFAIKxcoloris loaded by default inbeamer. – yo' Oct 04 '13 at 15:07