AnswerBun.com

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:
enter image description here
Thanks in advance for your help.

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}

Add your own answers!

Related Questions

3 Figures in a column in LaTeX document

1  Asked on September 25, 2021

 

How to add frame title into toc in beamer?

1  Asked on September 25, 2021 by muhammad-ibrar-hussain

 

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

   

Lining up the boxes with negative entries in a Young tableau

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

 

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

 

How to type the symbol of vargha and delaney a effect size?

1  Asked on September 6, 2021 by adam-amin

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir