Halo 我想用以下代码插入一个带有标题的图形:
\documentclass[12pt,A4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{bbm}
\usepackage{algorithm}
\usepackage{pseudocode}
\usepackage{babel,blindtext}
\usepackage{subfig,graphicx}
\usepackage{natbib}
\usepackage[british]{babel}
\usepackage{hyphenat}
\DeclareMathOperator*{\argmax}{arg\,max}
\def\pustaka#1{\emph{(\citeauthor{#1},~~\!\citeyear{#1})}}
\def\tpustaka#1{\citeauthor{#1} (\citeyear{#1})}
%-------------------------------------------------------------
\title{Test}
\author{name}
\begin{document}
\maketitle
\noindent
\selectlanguage{british}
\allowhyphens
\begin{figure}[hbt]
\centering
\includegraphics[width=7cm]{bagan SEIRD.jpg}
\caption{Transfer diagram of the spread of Covid-19 and its parameters}\label{seird}
\end{figure}
\end{document}