微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何删除 LaTex 中图形的自动编号?

如何解决如何删除 LaTex 中图形的自动编号?

我希望我的图的标题是“图 A”。有没有办法去除数字的自动编号?

\documentclass[jou]{apa7}
\usepackage{graphicx}
\begin{document}

\begin{figure}
\renewcommand{\figurename}{figure A}
\centering
 \caption{Title}
\includegraphics[width=0.5\textwidth]{test.png}
\end{figure}

\end{document}

对于上面的代码标题是“图 A 1”。

先谢谢你!

解决方法

两个快速技巧,您可以暂时删除数字,或者您可以使用乳胶进行大写字母编号:

\documentclass[jou]{apa7}
\usepackage{graphicx}

\begin{document}

\begin{figure}
\renewcommand{\figurename}{Figure A}
\renewcommand{\thefigure}{}
\centering
\caption{Title}
\includegraphics[width=0.5\textwidth]{example-image-duck}
\end{figure}

\begin{figure}
\renewcommand{\thefigure}{\Alph{figure}}
\centering
\caption{Title}
\includegraphics[width=0.5\textwidth]{example-image-duck}
\end{figure}

\end{document}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。