summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texmath.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/luametatex/source/tex/texmath.c')
-rw-r--r--source/luametatex/source/tex/texmath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/luametatex/source/tex/texmath.c b/source/luametatex/source/tex/texmath.c
index e2b4f9c39..923ffa56e 100644
--- a/source/luametatex/source/tex/texmath.c
+++ b/source/luametatex/source/tex/texmath.c
@@ -5010,6 +5010,8 @@ void tex_run_math_shift(void)
if (post_short_inline_penalty_par != max_integer) {
math_penalty(endmath) = post_short_inline_penalty_par;
}
+ tex_add_math_option(beginmath, glue_option_short_math);
+ tex_add_math_option(endmath, glue_option_short_math);
}
cur_list.space_factor = default_space_factor;
mathleft = cur_list.math_begin;