Support equation numbering #6
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: suzanne.soy/scribble-math#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).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.
FWIW according to https://katex.org/docs/supported.html there is support for tags in the form of
\tag
:\tag{hi} x+y^{2x}
@jsmaniac In case you haven't checked Slack recently, check the channel #scribble-math in the Racket slack.
@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}}