Tagged Questions
24
votes
1answer
178 views
Why is there no \provideenvironment?
LaTeX2e provides a \providecommand but there is no \provideenvironment which defines an environment only if it (or a macro with the same name) was not defined before. Is there a specific reason why it ...
5
votes
3answers
458 views
How to extract parts of (La)TeX document?
I want to run queries against LaTeX documents like these:
get list of all equations, even if one declares \def\be{\begin{equation}} and uses it;
get list of all arguments of some command (e. g. ...
15
votes
1answer
393 views
What exactly does \@doendpe do?
Quoting from the LaTeX2e sources:
[\@endparenv, \@doendpe]
To suppress the paragraph indentation in text immediately following a
paragraph-making environment, \everypar is changed to remove ...
5
votes
2answers
718 views
Equation environment definition
Where is the full definition of the equation environment? I cannot find it in the .cls files. Is this in latex.ltx? Or something?