I have an interest in making my own latex packages for distribution. As I am still a novice is this, does there exist any official latex information on how to write and maintain packages?
My main focus is how to avoid package clashes, disabling certain functionalities should a user want to use a different packages from the ones defined in my style files, etc.
Information for maintainers of GNU software. Is there something equivalent for maintainers of latex packages. I did not mean to frustrate you, but to learn from other who know better. – Veak Sep 25 '22 at 11:51\renewcommand{\seriesdefault}{\bfdefault}. But suppose a person using the package does not want such a setting when using my style file. What can I do that will give him the possibility of not using the setting, but let him using the normal non-bold typeface? – Veak Sep 25 '22 at 11:58\RequirePackage[dvipsnames]{xcolor}for his document, whilst using my style file. How can one handle clashes similar to what I described herein? – Veak Sep 25 '22 at 12:02\renewcommand{\seriesdefault}{...}, if you inform them about this possibility in the package documentation. You could also provide package options for this. You can also "forward" options that are given to your package to other packages your package loads. You should probably look into how you can use options when creating your own package. Also maybe have a look at http://www.latex-project.org/guides/clsguide.pdf as well as at other threads on this topic such as https://tex.stackexchange.com/q/34175/47927 – Jasper Habicht Sep 25 '22 at 12:11