szcf-weiya/zju-thesis

The problem of makeatletter and makeatother in .cls

Opened this issue · 2 comments

Hello:
I appreciate your tex files and it looks great. However, it's seems that \makeatletter and \makeatother shall not be utilized within .sty and .cls files since it may conflict with the catcode changes that occurs when packages are loaded. Would you explain your reason?
PS: I suggest you blinding your intimate information in these files.

Thanks for your kind suggestions.
Actually, I am not very familiar with the tex core macros \makeatletter and \makeatother, so I just use them like in the usual .tex document. I did find some references about the usage of these two macros in .cls file. I would try to improve it in the near future.
As for the personal information, I have remove them in the last commit.
Thank you for your attention again!

在解决问题 #5 时,曾尝试过在 .cls 文件中不使用 \makeatletter\makeatother,但会报错,加上后不会。