This question led to a new package:
Is there a place where I can find a reference of LaTeX internal commands? For example, just a few months ago I saw an answer using
\@for and today I found about
\@star@or@long. Is there a place where these are documented? How did people using these commands learn about them?