markup icon indicating copy to clipboard operation
markup copied to clipboard

Maths mode preceded or followed by punctuation not treated as an atomic unit

Open tom-new opened this issue 1 year ago • 0 comments

A simple inline maths mode statement preceded or followed by punctuation such as $m$. or ($v_P$) is not treated as an atomic unit, both in repo readmes and issues. Therefore, the punctuation may be wrapped to the next line leaving the maths mode content on the previous line or vice versa. Lorem ipsem text block with some maths mode included below for reproducibility.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ($some\ maths\ mode$) ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

tom-new avatar Oct 23 '24 08:10 tom-new