! Undefined control sequence. \affiliation not defined

! Undefined control sequence. \affiliation not defined

The error message commonly seen as:

! Undefined control sequence. l.129 \affiliation

is caused by a mismatch between the versions of Elsevier’s cas-dc.cls, cas-sc.cls and the file cas-common.sty in arXiv, which are all a part of the “Elsevier CAS Templates” bundle.

It seems that Elsevier moved the \affiliation command from within the class file into the supporting file sometime between TeXLive 2020 (which arXiv uses) and TeXLive 2022 (current at the time of this writing). As such, when making use of mixed version files odd errors will crop up.

To fix this issue, you can include your local copy of the cas-common.sty or download this version and include it with your source package.

 

Looking for labels? They can now be found in the details panel on the floating action bar.

Not finding what you need?

If you do not see an answer to your questions please fill out a help request ticket and we will be glad to help.