lecture-python-advanced.myst icon indicating copy to clipboard operation
lecture-python-advanced.myst copied to clipboard

[lecture_comparison][rob_markov_perf] Long Equation Collides with Equation Numbering

Open sayaikegawa opened this issue 3 years ago • 4 comments

In the case that equation in lecture is so long, equation reference in MyST does not show well like below. Equation reference covers equation.

Here is MyST. Screen Shot 2021-01-22 at 1 02 23 pm

comparing to RST Screen Shot 2021-01-22 at 1 02 35 pm

This happens in this lecture

cc: @mmcky

sayaikegawa avatar Jan 22 '21 02:01 sayaikegawa

@DrDrij it looks like we need floating equation numbers for quantecon-book-theme to support wide equations?

mmcky avatar Apr 15 '21 03:04 mmcky

@DrDrij any ideas on this one? Let me know when you might have some time to look at this. Thanks.

mmcky avatar Apr 20 '21 02:04 mmcky

@DrDrij I think I will break these equations across two lines.

mmcky avatar Jun 26 '21 05:06 mmcky

@mmcky Agreed. It appears most solutions suggest reducing the length of the equation.

Had a fiddle to see what I could do with the HTML that MathJax writes out, but the equation number moves with the equation :/

https://user-images.githubusercontent.com/5886045/123503207-dc08cc00-d694-11eb-8837-26bcb27c7ec7.mov

DrDrij avatar Jun 26 '21 05:06 DrDrij