cssyntax__source
Readable, self-documenting command names for LaTeX package authors
- Version:
- 0.1.0
- Copyright:
- License:
- lppl1.3c
- Packaged on:
- 07/26/2026 14:40:45
- Number of files:
- 2
- Size on disk:
- 17.05 kB
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.