![]() ![]() In the next subsections a more detailed description of the structure and a working example, exampleclass.cls, will be presented. Almost everything a class does is defined here. The class declares and processes the options. Also, in this part of the file the commands and definitions needed by the declared options are coded. Here the external packages and classes needed are imported. The file declares itself as a class written with the L aT eX 2 ε syntax. The structure of all class files can be roughly described in the next four parts: Making the wrong choice can affect the flexibility of the final product. It's recommended to search on CTAN (Comprehensive T eX Archive Network) and see if someone already created something similar to the document class you need.Īnother important thing to have in mind is the difference between packages and classes. The color they change is the same as described above.The first thing to do before coding a new class is to determine whether you really need a new class or not. In case you set the default option colorlinks=false and stick to the framed boxes, there are also different color options that let you modify the appearance of the frame: citebordercolor, filebordercolor, linkbordercolor, menubordercolor, urlbordercolor, runbordercolor and allbordercolors. Check this detailed tutorial for illustrative examples! These options are all passed a valid color.
0 Comments
Leave a Reply. |