I would like to disable the LaTeX$$
command (since I wrote things like $equation1$$equation2$
for some reasons and I cannot merge the two equations)
Is it feasible? Is there a command to "remove" a specific command so that when latex
run , it will no more consider $$
as a command?
I get from the lateX compiler :
Display math should end with $$.
<to be read again> \endgroup
The `$' that I just saw supposedly matches a previous `$$'. So I shall assume
that you typed `$$' both times.
This is an error from the compiler . OK Latex is maybe clever enough ( apparently not ) to understand that this is a block of two equations $equation1$$equation2$ but I want to remove ALL errors and Warning before submitting my paper .
However the idea to substitute ${}$ to $$ is very simple and efficient since I never use $$ for math environement in my latex source .
Nervertheless the questions remains to know if some lateX commands or primitives could be disabled ?
\(equation\)
instead of$equation$
. texblog.net/latex-archive/maths/inline-math-mode$$
is essentially a tex primitive. disabling it is not a good idea.$
only when entering math mode and when closing display math mode. So the error is surely related to a dangling$
before the "double formula". On the other hand, writing${eq1}{eq2}$
is equivalent to$eq1$$eq2$
, under normal conditions (no\everymath
).