Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to parse \vrule height 2pt depth -1.6pt width 23pt #82

Open
nschloe opened this issue Feb 17, 2022 · 1 comment
Open

how to parse \vrule height 2pt depth -1.6pt width 23pt #82

nschloe opened this issue Feb 17, 2022 · 1 comment

Comments

@nschloe
Copy link

nschloe commented Feb 17, 2022

The syntax of vrule is

\vrule height 2pt depth -1.6pt width 23pt

Yikes! Is it possible to parse this with std_macro at all, or does that only allow for [] and {} arguments?

@phfaist
Copy link
Owner

phfaist commented Sep 17, 2022

You'll need to write your own macro argument parser for that. (Note that I'll be reworking how argument parsing works in in pylatexenc 3, so it might be easier to write a parser for \vrule in the new API.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants