CTAN Comprehensive TeX Archive Network

New on CTAN: cssyntax

Date: July 22, 2026 8:56:51 AM CEST
Josué Kouamé Akpoué submitted the cssyntax package. Version: 0.1.0 License: lppl1.3c Summary description: Readable, self-documenting command names for LaTeX package authors Announcement text:
cssyntax – Readable, self-documenting command names for LaTeX package authors. Write code that still makes sense years later. Tired of cryptic, unreadable internal command names like \@firstoftwo, \expandafter, or \g@addto@macro? The cssyntax package offers a clean and efficient solution for writing maintainable LaTeX packages. By temporarily turning _, : and / into letters, cssyntax lets you write structured, self-describing command names that make the intent of your code clear at a glance – even years after you wrote it. It also provides a full set of readable aliases for common TeX primitives, plus a small toolkit for dynamic definitions, low-level environment declarations, and boolean handling. cssyntax is a standalone, domain-agnostic package usable by any LaTeX package author who wants their internal API to tell a story.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/cssyntax More information is at https://ctan.org/pkg/cssyntax
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

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.

Packagecssyntax
Version0.1.0
MaintainerJosué Kouamé Akpoué

Announcements

more

Guest Book Sitemap Contact Contact Author