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

Support Cancellation of Terms in MathML #251

Open
NV-Codes opened this issue Feb 1, 2025 · 0 comments
Open

Support Cancellation of Terms in MathML #251

NV-Codes opened this issue Feb 1, 2025 · 0 comments

Comments

@NV-Codes
Copy link

NV-Codes commented Feb 1, 2025

Description

It would be very useful for Pandoc to be able to convert the \cancel, \bcancel, and \xcancel LaTeX commands to MathML as described below (from NSoiffer/MathCAT#341):

The way I would suggest is to use menclose . It has the attribute notation with many options. For cancellation, one or both values updiagonalstrike downdiagonalstrike would make sense.

<math>
   <menclose notation='downdiagonalstrike'>  <mfrac><mn>3</mn><mn>2</mn></mfrac> </menclose>
</math>

It currently seems that, when typing math in Pandoc's Markdown, base LaTeX and amsmath commands are able to be converted to MathML. The three commands listed above are part of the cancel package.

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

No branches or pull requests

1 participant