I've been using the els-cas-templates LaTeX package by Elsevier. I will be submitting to an Elsevier journal, which allows this official package for submission. I have not touched any of the template files, nor do I want to. I am editing/building on Overleaf. I am using the cas-dc (double column) format, because it most resembles the journal I am submitting to.
I have looked at the documentation, and I can't figure out how to turn off highlighting of author names. Is it possible? The journal I am submitting to (Solar Energy) DOES NOT have highlighted author names.
Although I don't think providing the following example file code is actually useful (as the CTAN template clearly has a file that does this), I am providing this code as example of a "stripped down" main tex
file that includes their cas-dc.cls
file because it was requested in the comments:
\documentclass[a4paper,fleqn]{cas-dc}
\usepackage[authoryear]{natbib}
\usepackage{gensymb}
\usepackage{lipsum}
\bibliographystyle{cas-model2-names}
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
\shorttitle{Short title}
\shortauthors{J. Smith et~al.}
\title [mode = title]{Here is a title}
\author[1]{John Smith}
\cormark[1]
\ead{some@email.com}
\author[2]{John Doe}
\address[1]{School A}
\address[2]{School B}
\cortext[cor1]{Corresponding author.}
\begin{abstract}
\lipsum[1]
\end{abstract}
\begin{keywords}
some \sep keywords \sep here
\end{keywords}
\maketitle
\lipsum[1-10]
\bibliography{refs}
\end{document}
I also have another question about this template (ORCIDs), that I'd like to fix without touching the template code, if possible. I am not getting any official support from the package authors, having emailed them. I would rather not change their template for submission.
Best Answer
An easy solution is to explicitly set the author names in black.
MWE:
Result:
A more involved solution (but conceptually maybe better) is to redefine the
\author
macro from within the main document. Unfortunately the macro is rather long, so this takes space in the document (I tried anxpatch
solution but I could not make that work). The author first names are printed with color\l_stm_augroup_color_tl !50
, so 50% of the default black (rendering as gray). Changing this to just\l_stm_augroup_color_tl
renders the first names as black.Code: