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

Clearspeak Recurring Decimal (\dot) #683

Open
adamc-texthelp opened this issue Oct 4, 2022 · 1 comment
Open

Clearspeak Recurring Decimal (\dot) #683

adamc-texthelp opened this issue Oct 4, 2022 · 1 comment

Comments

@adamc-texthelp
Copy link

There seems to only be a rule for using \overline{} when displaying recurring/repeating decimals. If you use the \dot{} representation the generated text is very literal in comparison.

I suppose this is more of a feature request. Is there any chance of getting the same result for \dot{} as we do for \overline{} or is there a different latex command recommended for the dot notation?

Examples:

image
LaTeX: 2.\overline{34}
Spoken text: the repeating decimal 2 point followed by repeating digits 3 4
MathML:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mn>2.</mn>
  <mover>
    <mn>34</mn>
    <mo accent="true">&#x2015;</mo>
  </mover>
</math>

image
LaTeX: 2.\dot{3}\dot{4}
Spoken text: 2 period 3 dot above 4 dot above
MathML:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mn>2.</mn>
  <mrow data-mjx-texclass="ORD">
    <mover>
      <mn>3</mn>
      <mo>&#x2D9;</mo>
    </mover>
  </mrow>
  <mrow data-mjx-texclass="ORD">
    <mover>
      <mn>4</mn>
      <mo>&#x2D9;</mo>
    </mover>
  </mrow>
</math>
@zorkow
Copy link
Member

zorkow commented Nov 9, 2022

Thanks for the request.
I had a more elaborate heuristic for interpretation for multiple overaccents, ellipses etc. But at the time it broke too many things so I did not continue that line of work. I might be worth revisiting.

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