I'm using Elsevier's CAS Latex Double-Column Template LaTeX package. (https://ko.overleaf.com/latex/templates/elseviers-cas-latex-double-column-template/hhzpymgjmxfk)
There was a problem that I couldn't solve while writing the paper, so I posted this to ask experts for help.
(1) the title is marked with a hyphen.
However,(2) the hyphen is not recognized in the author name next to the responding author email located at the bottom left of the first page, and (3) the hyphen is not applied to the reference.
Example)
(1) Gil-Dong Hong
(2) G. Hong (not recognized)
(3) Hong, G.D. (not recognized)
Is there a solution?
\documentclass[a4paper,fleqn]{cas-dc}
\usepackage[authoryear,longnamesfirst]{natbib}
%% removal ORCID
\renewcommand{\printorcid}{}
\begin{document}
\let\WriteBookmarks\relax
\def\floatpagepagefraction{1}
\def\textpagefraction{.001}
% Short title
\shorttitle{}
% Short author
\shortauthors{G.-D. Hong et~al.}
% Main title of the paper
\title [mode = title]{This is title}
\author[1]{Gil-Dong Hong}
\cormark[1]
% Email id of the first author
\ead{[email protected]}
% Corresponding author text
\cortext[cor1]{Corresponding author}
% Here goes the abstract
\begin{abstract}
This template
\end{abstract}
% Keywords
% Each keyword is seperated by \sep
\begin{keywords}
\end{keywords}
\maketitle
\section{Introduction}
\cite{example}
%% Loading bibliography style file
%\bibliographystyle{model1-num-names}
\bibliographystyle{cas-model2-names}
% Loading bibliography database
\bibliography{cas-refs}
\end{document}
[Add cas-refs.bib]
@ARTICLE{example,
author = {G.-D. Hong},
title = {This is title},
journal = {Journal},
volume = {1},
year = {2022},
pages = {1-10}
}
Best Answer
From what I can tell, their document class and stylesheet are not set up well to handle a name like that. The "correct" way to handle this is probably to take it up with the journal, but if you just need quick and dirty fixes, the following seems to help:
For (2), redefine the command
\eadauthor
which is usually derived from the\author
command, i.e.,And for (3), put this awkward monstrosity in the
.bib
file:It wouldn't surprise me if there are more elegant solutions, however.