3

I am getting this error which points to the input line where \maketitle is. The error goes away once I remove my \title{}. The code is down below:

Note: I am using overleaf.

\documentclass[a4paper,fleqn]{cas-dc}
\usepackage[numbers]{natbib}


\begin{document}

\title{title}                      
\tnotemark[1,2]

\begin{abstract}
abstract
\end{abstract}


\begin{keywords}
keyword
\end{keywords}


\maketitle

\end{document}

The errors are:

Package xcolor Error: Undefined color `'.

See the xcolor package documentation for explanation. Type H for immediate help. ...

l.31 \maketitle

Try typing to proceed. If that doesn't work, type X to quit.

main.tex, line 31 Package hyperref Warning: Ignoring empty anchor on input line 31.

main.tex, line 31 Overfull \hbox (123.62721pt too wide) detected at line 31

3
  • @Robo0110 Please provide a Minimal Working Example `` MWE` that starts with \documentclass and ends with \ `\end{document}, that compiles and shows the problem.
    – Denis
    Aug 23, 2020 at 4:17
  • @Denis just did.
    – Robot0110
    Aug 23, 2020 at 4:28
  • Using recent MikTeX installation on my PC I can't reproduce your problem. You should contact Overleaf support.
    – Zarko
    Aug 23, 2020 at 6:53

1 Answer 1

1

I solved it by using \title{mode=alt} instead of just \title

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .