CTAN Comprehensive TeX Archive Network

cssyntax – Readable, self-documenting command names for package authors

cssyntax is a 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 primitives, plus a lightweight toolkit for dynamic definitions, environment declarations, and boolean handling. Domain-agnostic and standalone, it can be used by any 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
Version0.1.0
LicensesThe Project Public License 1.3c
MaintainerJosué Kouamé Akpoué
TopicsPackage development
Defining Macro

Download the contents of this package in one zip archive (352.5k).

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author