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

Clarify how to mark up binomials #25

Open
samimaattaCelia opened this issue Jun 3, 2024 · 2 comments
Open

Clarify how to mark up binomials #25

samimaattaCelia opened this issue Jun 3, 2024 · 2 comments

Comments

@samimaattaCelia
Copy link
Collaborator

samimaattaCelia commented Jun 3, 2024

Binomials are marked up using <mfrac> and with the attribute linethickness='0'. Example:

<math>
  <mrow>
    <mo>(</mo>
    <mfrac linethickness="0">
      <mi>n</mi>
      <mi>k</mi>
    </mfrac>
    <mo>)</mo>
  </mrow>
</math>

Results in $\binom{n}{k}$.

Edit: typo in mark up.

@Lisahartun
Copy link

Isn't this clarified?
I'm looking at: https://w3c.github.io/mathml-core/docs/explainer.html
Where it states:
Layout/Relationship elements mrow(for grouping sub-expressions), mfrac (for fractions and fraction-like objects such as binomial coefficients and Legendre symbols), msqrt and mroot for radicals

@samimaattaCelia
Copy link
Collaborator Author

True. Do you think it could be a challenge for the suppliers to get it right? This is the main reason I thought that this could be included in the guidelines.

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

2 participants