I'm new to this forum and a recent LaTeX user. I state that, before posting here, I searched all the web through, but I was not succeeded to solve a doubt.
I'm writing my own class (myclass.cls
), part of which implements a small list parser. Since I need to keep the code organized, I want to put the relative portion of code in a separate file and then include it in myclass.cls
.
The code provides a set of newcommands
for processing a list, it does not have anything to do with document style.
My doubt is just about the extension of that file: .sty
, .def
or any other? Besides, is there a rule of thumb for choosing the more appropriate extension (between .sty
and .def
I mean)?