82 words
1 minute
Using biblatex with Elsevier’s cas-dc and cas-sc classes
2020-10-29

In els-cas-templates v2.1, the documentation says that biblatex plus biber is recommended. However, if we actually try to use biblatex, the compilation fails.

This is because cas-sc and cas-dc use a length variable that is defined neither in biblatex nor in cas-sc/cas-dc. That length variable is bibsep. It is defined by natbib, which is incompatible with biblatex.

The solution is simple: just define bibsep in the document preamble:

\makeatletter
\newlength{\bibsep}{\@listi \global\bibsep\itemsep \global\advance\bibsep by\parsep}
\makeatother

Then we should be able to discard natbib and use biblatex.

Written content, images, and videos in this post are licensed under CC BY-NC-SA 4.0 . Code snippets are licensed separately under BSD 3-Clause .