![通常的方法不允许我将附录表格编号为 A1、A2 等](https://linux22.com/image/451865/%E9%80%9A%E5%B8%B8%E7%9A%84%E6%96%B9%E6%B3%95%E4%B8%8D%E5%85%81%E8%AE%B8%E6%88%91%E5%B0%86%E9%99%84%E5%BD%95%E8%A1%A8%E6%A0%BC%E7%BC%96%E5%8F%B7%E4%B8%BA%20A1%E3%80%81A2%20%E7%AD%89.png)
我想将附录表格编号为 A1、A2 等。为此,我使用了以下答案这个问题并尝试写作
\setcounter{table}{0}
\renewcommand{\thetable}{A\arabic{table}}
在我写之前\begin{appendices}
。然而,这似乎被完全忽略了,并且没有改变编号。
下面是我的 Latex 代码的缩短版(由于我不确定是什么导致了这个问题,所以我在包含方面犯了错误):
\documentclass[12pt]{article}
\usepackage{amssymb, hyperref, amsmath,amsfonts, bm, eurosym,geometry,ulem,graphicx,caption,mathtools,natbib, xcolor,setspace,comment,footmisc,caption,pdflscape,subfigure,array, parskip, bbm, csquotes, multirow, booktabs,caption}
\urlstyle{same}
\makeatletter
\renewcommand\hyper@natlinkbreak[2]{#1}
\makeatother
\usepackage[flushleft]{threeparttable}
\usepackage[capposition=top]{floatrow}
\usepackage[capposition=top]{floatrow}
\usepackage[toc,page]{appendix}
\graphicspath{ {./images/} }
\normalem
\onehalfspacing
\interfootnotelinepenalty=10000
\newcommand{\red}[1]{{\color{red} #1}}
\newcommand{\blue}[1]{{\color{blue} #1}}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\arraybackslash\hspace{0pt}}m{#1}}
\geometry{left=1.0in,right=1.0in,top=1.0in,bottom=1.0in}
\newenvironment{myquote}%
{\list{}{\leftmargin=0.3in\rightmargin=0in}\item[]}%
{\endlist}
\begin{document}
Here is some random text.
Here is a figure.
\begin{figure}[h]
\centering
\includegraphics[scale=0.5]{graph_a}
\caption{An example graph}
\label{fig:x cubed graph}
\end{figure}
\clearpage
\setlength{\bibhang}{0pt}
\bibliographystyle{apalike}
\bibliography{bibliography.bib}
\newpage
\setcounter{table}{0}
\renewcommand{\thetable}{A\arabic{table}}
\begin{appendices}
\section{Another figure...}
\begin{figure}[h]
\centering
\includegraphics[scale=0.5]{graph_a}
\caption{An example graph}
\label{fig:x cubed graph}
\end{figure}
\end{appendices}
\end{document}