I know how to use \renewenvironment to redefine an environment, but instead of changing formatting, I'd like to have any use of the environment generate an error (log and abort). Is there a way to do this?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
|||
|
|||
|
|
|
This is as simple as possible:
|
|||||||
|
\renewenvironment{tabular}{\ABORT}{}, assuming of course that the environment `` is already defined (hence therenew, otherwise usenew), and the macro\ABORTdoes not exit or aborts as you desire. – Peter Grill Mar 16 '12 at 22:12