Switching of Ajax worked.
Just pointing this for other readers – Under WATU settings, go to “ajax in Quiz” and then check mark the quizzes in “The selected quizzes will NOT use Ajax when users submit them.” Thank you!
I got this from Katex support and it worked for Q1. I still need help on Q2.
It’s a CSS problem. One of the CSS files is ‘https://numericalmethods.autarkaw.com/wp-content/plugins/watu/style.css?ver=2.3.1’ and it contains the following rule:
.answer span {
padding-right:20px;
}
That rule selects every span that is a descendant of class answer and applies 20px of right padding to each individual span. Instead of a .answer span selector, it should use a .answer>span selector. Then only the direct descendant would get that 20px padding and the more deeply nested KaTeX descendant spans would all be rendered properly.