formal-grammar – Typeset formal grammars
This package provides a new environment and associated commands to typeset BNF grammars. It allows to easily write formal grammars. Its original motivation was to typeset grammars for beamer presentations, therefore, there are macros to emphasize or downplay some parts of the grammar (which is the main novelty compared to other BNF packages).
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2021–2022 Martin Vassor|
|Contained in||TeX Live as formal-grammar|
MiKTeX as formal-grammar
Download the contents of this package in one zip archive (235.5k).
Maybe you are interested in the following packages as well.
- objectz: Macros for typesetting Object Z
- simplebnf: A simple package to format Backus-Naur form (BNF)
- bnf-plain: Plain TeX macros for BNF grammars
- latex-bnf: LaTeX macros for typing BNF specifications