I was considering writing my own classes and thought copying and pasting the original class (report) would be a good starting point.
I assumed that if I:
- copied report.cls to myreport.cls in my project directory
- changed the documentclass in the latex file to myreport
- Changed the \ProvidesClass line in the class file to myreport
that the output should be identical to the original version. It compiles, but the format is markedly different.
It looks like several packages including fancyhdr are not working at all.
Is there something else needed - other files or code to get back to exactly where I started?
I am using tinytex installed in R through Jetbrains Intellij under Windows 10, which I presume is not relevant, except that the report.cls file I took was in [user directory]\AppData\Roaming\TinyTeX\texmf-dist\tex\latex\base just in case that is the wrong class file.