diff options
author | Karl Berry <karl@freefriends.org> | 2023-01-07 21:22:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-01-07 21:22:30 +0000 |
commit | 57c965945ac67d2a7c30e571e23323237686c6b6 (patch) | |
tree | 1c4dd9570c5b1d83ce4c78ef1998d8394d7b137a /Master/texmf-dist/tex/latex/simplebnf | |
parent | 1a9facaeddf02664ab807be31f6d7d77ad334c34 (diff) |
simplebnf (7jan23)
git-svn-id: svn://tug.org/texlive/trunk@65481 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/simplebnf')
-rw-r--r-- | Master/texmf-dist/tex/latex/simplebnf/simplebnf.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/simplebnf/simplebnf.sty b/Master/texmf-dist/tex/latex/simplebnf/simplebnf.sty index ae4482c29ba..82d39139aa8 100644 --- a/Master/texmf-dist/tex/latex/simplebnf/simplebnf.sty +++ b/Master/texmf-dist/tex/latex/simplebnf/simplebnf.sty @@ -13,8 +13,8 @@ \RequirePackage{mathtools} \ProvidesExplPackage {simplebnf} - {2022/05/08} - {0.3.1} + {2023/01/07} + {0.3.2} {A simple package to format Backus–Naur form} \cs_generate_variant:Nn \regex_split:nnNTF {nVNTF} @@ -24,6 +24,8 @@ \NewDocumentCommand\SimpleBNFDefOr{}{\ensuremath{|}} +\NewDocumentCommand\SimpleBNFStretch{}{0em} + \seq_new:N \l__input_seq \seq_new:N \l__term_seq \tl_new:N \l__term_tl @@ -143,7 +145,7 @@ \bool_set_false:N \l_tmp_first_term } { - \tl_put_right:Nn \l__table_tl { \\ } + \tl_put_right:Nn \l__table_tl { \\[\SimpleBNFStretch] } } \regex_split:nnNTF { ::= } { ##1 } \l__term_seq @@ -197,7 +199,7 @@ %% The MIT License (MIT) %% -%% Copyright © 2019-2022 Jay Lee <jaeho.lee@snu.ac.kr> +%% Copyright © 2019-2023 Jay Lee <jaeho.lee@snu.ac.kr> %% %% Permission is hereby granted, free of charge, to any person obtaining %% a copy of this software and associated documentation files (the "Software"), |