Support equation numbering #6

Open
opened 2017-07-07 16:13:16 +01:00 by SuzanneSoy · 4 comments
SuzanneSoy commented 2017-07-07 16:13:16 +01:00 (Migrated from github.com)

Ideas: use scribble numberers (http://docs.racket-lang.org/scribble/core.html#%28tech._numberer%29) or MathJax's automatic equation numbering http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering .

Using scribble, the numbers would form a single sequence across multiple HTML files when a document is rendered as separate files (and references should be easy enough to implement). With MathJax's solution, we would get an output closer to LaTeX's in HTML mode, but references across separate HTML files will likely not work properly (even if all files come from the same .scrbl file).

Ideas: use scribble numberers (http://docs.racket-lang.org/scribble/core.html#%28tech._numberer%29) or MathJax's automatic equation numbering http://docs.mathjax.org/en/latest/tex.html#automatic-equation-numbering . Using scribble, the numbers would form a single sequence across multiple HTML files when a document is rendered as separate files (and references should be easy enough to implement). With MathJax's solution, we would get an output closer to LaTeX's in HTML mode, but references across separate HTML files will likely not work properly (even if all files come from the same `.scrbl` file).
encomer commented 2021-03-15 23:35:41 +00:00 (Migrated from github.com)

Thank you @jsmaniac for planning to enhance scribble-math with this capability.

Suggestion: Could we start supporting numbering equations in a non-automatic way (i.e. manually as a tag)?.

Justification: In many mathematical notes (even in technical papers), we don't use a huge quantity of numbered equations, only the ones that need to be referred later.

The important thing concerning this proposal, is to be able to right justify (or left justify) properly the number or tag assigned to the equation (and, if possible, to refer to it, as we do in sections, subsections or footnotes). BTW, this capability of "right justify" also would be great to add, for example, the end-of-proof halmos sign, to a paragraph.

Thank you very much in advance to consider this possibility, and also for any pointer on how to implement this functionality.

Thank you @jsmaniac for planning to enhance scribble-math with this capability. **Suggestion:** Could we start supporting numbering equations in a non-automatic way (i.e. manually as a tag)?. **Justification**: In many mathematical notes (even in technical papers), we don't use a huge quantity of numbered equations, only the ones that need to be referred later. The important thing concerning this proposal, is to be able to right justify (or left justify) properly the number or tag assigned to the equation (and, if possible, to refer to it, as we do in sections, subsections or footnotes). BTW, this capability of "right justify" also would be great to add, for example, the end-of-proof halmos sign, to a paragraph. _Thank you very much_ in advance to consider this possibility, and also for any pointer on how to implement this functionality.
soegaard commented 2021-03-16 14:25:32 +00:00 (Migrated from github.com)

FWIW according to https://katex.org/docs/supported.html there is support for tags in the form of \tag:
\tag{hi} x+y^{2x}

FWIW according to https://katex.org/docs/supported.html there is support for tags in the form of `\tag`: ` \tag{hi} x+y^{2x}`
soegaard commented 2021-03-16 14:35:11 +00:00 (Migrated from github.com)

@jsmaniac In case you haven't checked Slack recently, check the channel #scribble-math in the Racket slack.

@jsmaniac In case you haven't checked Slack recently, check the channel #scribble-math in the Racket slack.
brittAnderson commented 2022-07-15 21:59:21 +01:00 (Migrated from github.com)

@encomer wrote: > Suggestion: Could we start supporting numbering equations in a non-automatic way (i.e. manually as a tag)?.
This manual approach is possible with the following style and mathjax:
@$$["\\tau \\frac{dV(t)}{dt} = -V(t) + R~I(t)"]{\tag{1}}

@encomer wrote: > **Suggestion:** Could we start supporting numbering equations in a non-automatic way (i.e. manually as a tag)?. This manual approach is possible with the following style and mathjax: `@$$["\\tau \\frac{dV(t)}{dt} = -V(t) + R~I(t)"]{\tag{1}}`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: suzanne.soy/scribble-math#6
No description provided.