# subsection and subsubsection aren't working in elsevier template

I am working on Elsevier template with a single column format, I am facing an issue with subsections and subsubsections as they are displayed like a normal section with wrong numbering, for example

\documentclass[a4paper,fleqn]{cas-sc}
\usepackage{float}
\usepackage{graphicx}
\begin{document}
\section{A}
dmddd
\subsection{AA}
\subsubsection{BB}
\end{document}


It displays the following

1. A
2. AA
3. BB

===============================

Moreover, the figure's Specifier for positioning permission like H or h makes an error while compiling the document, for instance

\documentclass[a4paper,fleqn]{cas-sc}
\usepackage{float}
\usepackage{graphicx}
\begin{document}

\begin{figure}[H]
\centering
\includegraphics[height=60mm,width=140mm]{c}
\caption{ccc}
\label{fig:3}
\end{figure}

\end{document}


It displays this error:! LaTeX3 Error: The key 'cas/fig/H' is unknown and is being ignored.

Any help?

• Can you supply us a minimal example that replicates this problematic behaviour? It'll give us some insight into how you're using the template and provide an opportunity to suggest alternatives/solutions. – Werner Feb 9 at 21:08
• Please provide a MWE that shows the problem. BTW using the [H] parameter for floats is not a good idea (see [Heineous]<tex.stackexchange.com/questions/469880> – Peter Wilson Feb 9 at 21:12
• \documentclass[a4paper,fleqn]{cas-sc} \usepackage{float} \usepackage{graphicx} \begin{document} \begin{figure}[H] \centering \includegraphics[height=60mm,width=140mm]{c} \caption{ccc} \label{fig:3} \end{figure} \end{document} It displays this error : ! LaTeX3 Error: The key 'cas/fig/H' is unknown and is being ignored. – Ghadeer Mobasher Feb 9 at 21:18
• @Werner : \documentclass[a4paper,fleqn]{cas-sc} \usepackage{float} \usepackage{graphicx} \begin{document} \section{A} dmddd \subsection{AA} \subsubsection{BB} \end{document} It displays the following 1. A 2. AA 3. BB – Ghadeer Mobasher Feb 9 at 21:19
• @GhadeerMobasher: Can you edit your question and add the content to your original post rather than in the comments? It allows for more characters and formatting... – Werner Feb 9 at 21:21