# els-cas-templates – Elsevier updated LATEX templates - extra comma when including images using begin{figure}[h]

TeX - LaTeX Asked on January 6, 2022

I’m using Elsevier single column using Overleaf. When I include images using the following code, I saw an extra comma added on the top of the image. My file is around 40 pages and I have many figures with this comma.
The output of the code is shown below:

documentclass[a4paper,fleqn]{cas-sc}
usepackage{cite}
usepackage{float}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{textcomp}
usepackage{xcolor}
usepackage{dsfont}
usepackage{amsmath}
usepackage{tabularx,booktabs}
usepackage{multicol}
usepackage{longtable}
usepackage[flushleft]{threeparttablex}
usepackage{supertabular}
usepackage{deluxetable}
usepackage{nicefrac}
usepackage{longtable,pdflscape,booktabs}
usepackage{array}
newcolumntype{P}[1]{>{centeringarraybackslash}p{#1}}
usepackage[justification=centering]{caption}
usepackage[center]{caption}
usepackage{amsmath}
usepackage[pdftex]{graphicx}
usepackage{bm}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage[utf8]{inputenc}
usepackage{graphicx}
usepackage{textcomp}
usepackage{xcolor}
usepackage{dsfont}
usepackage{amsmath}
usepackage{tabularx,booktabs}
usepackage{multicol}
usepackage{longtable}
usepackage[flushleft]{threeparttablex}
usepackage{supertabular}
usepackage{longtable,pdflscape,booktabs}
usepackage{array}
usepackage{xtab,afterpage}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
usepackage[authoryear,longnamesfirst]{natbib}
usepackage[justification=centering]{caption}
usepackage[center]{caption}
deftsc#1{csdef{#1}{textsc{lowercase{#1}}xspace}}
tsc{WGM}
tsc{QE}
tsc{EP}
tsc{PMS}
tsc{BEC}
tsc{DE}
makeatletter
patchcmd{@maketitle}{raggedright}{centering}{}{}
patchcmd{@maketitle}{raggedright}{centering}{}{}
makeatother
begin{document}
letWriteBookmarksrelax
deffloatpagepagefraction{1}
deftextpagefraction{.001}

section{Introduction}
Even though the vehicle is driven by a human driver, this is still a major challenge.
begin{center}
begin{figure}[h]
includegraphics[width=linewidth]{15.PNG}
caption{Summary of Levels of Driving Automation}
label{fig:SAE1}
end{figure}
end{center}

By increasing the level of automation.

end{document}


## Related Questions

### Description list items: selective misbehaviour with Ligatures=TeX, fonts, xeLaTeX, and luaLaTeX

2  Asked on September 26, 2021 by brent-longborough

### ConTeXt: SyncTeX and interactivity features (hyperlinks) not working in TeXworks pdf viewer

0  Asked on September 26, 2021

### How to make a background picture transparent?

2  Asked on September 25, 2021

### Best practice for plots (pgfplots, gnuplot, etc.)

2  Asked on September 25, 2021 by burny

### Letter formatting in Latex main and input files

1  Asked on September 25, 2021

### MiKTeX Error: Can’t install koma-script Package “Transferred a partial file”

1  Asked on September 25, 2021 by aorstab

### How can I draw this Feynman diagram?

3  Asked on September 25, 2021

### 3 Figures in a column in LaTeX document

1  Asked on September 25, 2021

### How to abbreviate author’s firstname in bibliography

5  Asked on September 25, 2021 by mcandril

### Was given .bbl file from website and need to generate pdf

2  Asked on September 25, 2021 by arun-k

### Multiple editions under one author in bibliography

1  Asked on September 25, 2021 by lata-deokar

### What Unicode characters does pdfLaTeX support with a minimal preamble?

2  Asked on September 25, 2021

### Lining up the boxes with negative entries in a Young tableau

1  Asked on September 25, 2021 by mee-seong-im

### Author names are being replaced by lines in natbib using aer style

1  Asked on September 25, 2021 by john-henry

### How to get Beamer Math to look like Article Math

3  Asked on September 25, 2021

### Answers at the end of the exam document

5  Asked on September 25, 2021

### Add href in subsection{} make the url become capital

1  Asked on September 25, 2021 by felix-ll

### Get texcount to ignore numbers

2  Asked on September 6, 2021 by nick_eu