繁体   English   中英

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

[英]How to remove automatic numbering of figure in 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”。

先感谢您!

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

\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}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM