cssyntax – Readable, self-documenting command names for LaTeX package authors
cssyntax is a LaTeX package that helps package authors write maintainable, self-documenting code. It temporarily activates the characters _, : and / as letters, allowing you to replace cryptic, flat command names like \@firstoftwo or \g@addto@macro with hierarchical, readable names such as \_fun_pick/first or \_fun_enter/group. The resulting code clearly expresses its intent, making it easy to understand and modify even years later. cssyntax also provides a full set of human-friendly aliases for common TeX primitives, plus a lightweight toolkit for dynamic definitions, environment declarations, and boolean handling. Domain-agnostic and standalone, it can be used by any LaTeX package or class author who wants to bring clarity and long-term maintainability to their internal API.
| Sources | /macros/latex/contrib/cssyntax |
| Documentation | |
| Home page | |
| Support | |
| Bug tracker | |
| Repository | |
| Version | 0.1.0 |
| Licenses | The LaTeX Project Public License 1.3c |
| Maintainer | Josué Kouamé Akpoué |
| Topics | Defining Macro Package development |
Download the contents of this package in one zip archive (352.5k).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments