Particularly, the section and chapter commands are only accessible from the report and guide doc classes. $$ is TeX primitive syntax, which, as Other folks have commented is hard to redefine (in common TeX there is absolutely no command title which triggers getting into or leaving display math). This tells https://latexclothing.webnode.page