Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space before exponent subscript, superscript: Got group of unknown type: 'internal' #3878

Open
nschloe opened this issue Oct 18, 2023 · 1 comment

Comments

@nschloe
Copy link
Contributor

nschloe commented Oct 18, 2023

Putting an explicit horizontal space right before exponentiation ^ is valid in LaTeX

\[
a^t
a\,^t
a\:^t
a\>^t
a\;^t
a\quad^t
a\qquad^t
\]

screenshot_2023-10-18-145326

but doesn't work in KaTeX:

KaTeX parse error: Got group of unknown type: 'internal'

Same with _.

Edit: The same error message occurs with

.\!''
@nschloe nschloe changed the title Space before exponent ^: Got group of unknown type: 'internal' Space before exponent subscript, superscript: Got group of unknown type: 'internal' Oct 18, 2023
@edemaine edemaine added the bug label Oct 18, 2023
@JacobBeaudry
Copy link

N.B. in the meantime, one work-around is to create an explicit group; e.g., a{\,}^t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants