Latex 如何调整附录环境中的编号?

Latex 如何调整附录环境中的编号?,latex,Latex,我的Latex书中有以下结构: 1) 主文件 ... \include{chapter1} \include{chapter2} \include{chapter3} ... 2) 查普滕·特克斯 \input{file1} \input{file2} \input{file3} \begin{appendices} \input{appendix_1_chapterN} \input{appendix_2_chapterN} \end{appendices} 结果是,第一章末尾的附录(例

我的Latex书中有以下结构:

1) 主文件

...
\include{chapter1}
\include{chapter2}
\include{chapter3}
...
2) 查普滕·特克斯

\input{file1}
\input{file2}
\input{file3}

\begin{appendices}
\input{appendix_1_chapterN}
\input{appendix_2_chapterN}
\end{appendices}
结果是,第一章末尾的附录(例如)被命名为“.1”和“.2”,而我希望它们被命名为“1.A”和“1.B”


非常感谢您的帮助。

附录软件包的文档中包含了此问题的答案,这是您使用的附录环境所必需的:

您的问题的答案是,您正在为章节附录使用附录环境,该环境是为章节附录而设计的。要实现附录部分的目标,请使用子附件环境,如下所示:

\documentclass{book}
\usepackage{appendix}

\begin{document}
\chapter{Intro}
\section{Intro Sec}
\begin{subappendices}
\section{Appendix Sec}
\end{subappendices}
Some Text

\chapter{Conclusion}
Some Text
\end{document}