Skip to main content

All Questions

Tagged with
2 votes
1 answer
64 views

Why does loading `newenviron` cause compilation to fail?

To avoid unnecessary effort, please note that I'm asking specifically about the error's cause, as opposed to how to avoid it. Furthermore, I'm aware that \NewDocumentEnvironment now offers the b ...
cfr's user avatar
  • 208k
0 votes
0 answers
106 views

Error: Missing \endgroup inserted (dmath)

I have the problem with the error shown in the following screenshot. I cannot figure out what the problem is as this identical syntax has worked in other files... Thanks in advance for your help!
Christopher J McCoy's user avatar
3 votes
2 answers
1k views

Diagnosing "\end inside a group" in a multi-file document

I am getting the following message in the log file of a very long document (>700-page book) with many \included files: (\end occurred inside a group at level 2) ### simple group (level 2) entered at ...
LarrySnyder610's user avatar
1 vote
1 answer
63 views

Questions about TEX when I try to Constuct a tablet

Excuse ME, when I try to construct a tablet in LaTeX, I got the following error message: !Missing \endgroup inserted. <inserted text> \endgroup 1.141 &...
Fei Cao's user avatar
  • 11
1 vote
0 answers
28 views

Why do I get an "extra }" error when using a default argument in a theorem name? [duplicate]

Consider the following latex code: \documentclass{article} \usepackage{amssymb} \usepackage{amsthm} \newtheorem{thm}{Theorem} \newcommand{\Zn}[1][n]{\mathbb{Z}_{#1}} \begin{document} $\Zn[p]$ \...
Bakuriu's user avatar
  • 2,218
9 votes
2 answers
194 views

Error when using defs inside a macro to write a row in a table

For the following MWE \documentclass{article} \newcommand{\cmd}[5]{% \def\tA{#1}% \def\tB{#2}% \def\tC{#3}% \def\tD{#4}% \def\tE{#5}% \tA & \tB & \tC & \tD & \tE \\ } \...
gablin's user avatar
  • 17.1k