\subfloat
我有以下用于创建子图的LaTex 代码:
\usepackage[caption=false]{subfig}
\usepackage{graphicx}
\begin{figure}[H]
\centering
\subfloat[]{\includegraphics[width=0.5\textwidth]{Sub-Figure-1.png}\label{Sub-Figure-1}} \quad
\subfloat[]{\includegraphics[width=0.3\textwidth]{Sub-Figure-2.png}\label{Sub-Figure-2}}
\caption{\textbf{Figure Title}}
\label{Scheme}
\end{figure}
如何删除圆括号?也就是说,我只想要a
and ,b
而不是(a)
and (b)
。
提前谢谢了。
答案1
\documentclass{article}
\usepackage[caption=false]{subfig}
\usepackage{graphicx,float}
\captionsetup[subfloat]{labelformat=simple}
\begin{document}
\begin{figure}[H]
\centering
\subfloat[]{\includegraphics[width=0.5\textwidth]{example-image-duck}\label{Sub-Figure-1}} \quad
\subfloat[]{\includegraphics[width=0.3\textwidth]{example-image-duck}\label{Sub-Figure-2}}
\caption{\textbf{Figure Title}}
\label{Scheme}
\end{figure}
\end{document}