Latex技巧 您所在的位置:网站首页 如何在图片中加表格 Latex技巧

Latex技巧

2023-08-05 17:45| 来源: 网络整理| 查看: 265

要求附录中图片和表格编号显示为Fig. A1 和 Table A1 等形式,修改方式如下:

对于图片:

..... \appendix \renewcommand\thefigure{\Alph{section}\arabic{figure}} \section{A nice appendix} \setcounter{figure}{0} \begin{figure} \centering\rule{1cm}{1cm} \caption{This is a figure in appendix A} \end{figure} ...... \section{A nice appendix} \setcounter{figure}{0} ......

对于表格:

..... \appendix \renewcommand\thetable{\Alph{section}\arabic{table}} \section{A nice appendix} \setcounter{table}{0} ...... \section{A nice appendix} \setcounter{table}{0} ......

注意:如果有多个附录,每个附录后都需要\setcounter{figure}{0}或者\setcounter{table}{0}进行重新编号。

对于公式也可以类似

\setcounter{equation}{0} \renewcommand\theequation{A.\arabic{equation}}

其他可选形式:

\arabic (1, 2, 3, ...) \alph (a, b, c, ...) \Alph (A, B, C, ...) \roman (i, ii, iii, ...) \Roman (I, II, III, ...) \fnsymbol (∗, †, ‡, §, ¶, ...)

参考:Change figure numbering for appendix

Numbering tables A1, A2, etc in Latex

Prefix figure numbers in Appendix in LaTex

https://www.stat.berkeley.edu/~paciorek/computingTips/Customizing_numbering_pages.html



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有