Hyperlink underscore chopping top of equations

15 views
Skip to first unread message

Charles M

unread,
Apr 19, 2026, 7:55:45 AMApr 19
to PreTeXt support
I am new to PreTeXt.  I started using it for the first time on Monday evening, and I love the results that I'm getting.  I have now migrated completely to PreTeXt, and I use SCORM compression to post my lecture notes to Brightspace.  

I have noticed that if I use an <xref /> command followed too closely by <m></m> wrappers, the underscore from the hyperlink created by <xref /> will 'white out' the top of the equation if it appears immediately below the hyperlinked text.  I realize that it's an easy fix to change <m> to <me> in my documents, but the spacing above and below equations is automatically adjusted for ordinary line text.  Is there an easy fix to make it adjust automatically for hyperlink underscores?

David W. Farmer

unread,
Apr 19, 2026, 8:31:34 AMApr 19
to PreTeXt support

Is it easy for you give a link to an example?
> --
> You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-support/e4fdfffc-97a4-45e7-ba6d-69efe9f5f289n%40googlegroups.com.
>
>

Rob Beezer

unread,
Apr 19, 2026, 9:50:26 AMApr 19
to pretext...@googlegroups.com
Alternatively, MathJax 4 was merged in last night and will be in this morning's
nightly for the CLI.

So behavior might be different, and certainly any fix should be based on this
new version.

Rob

Charles M

unread,
Apr 26, 2026, 9:51:55 AM (13 days ago) Apr 26
to PreTeXt support
Rob's comment may be the answer.  I am unable to reproduce this.  All seems fine now.

Many thinks for your very quick responses.

Reply all
Reply to author
Forward
0 new messages