Forgot password?
 Register account
View 1670|Reply 2

怎么去掉某个表格的前缀?

[Copy link]

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

abababa Posted 2020-1-7 19:51 |Read mode
  1. \documentclass[a4paper]{paper}
  2. \usepackage[slantfont,boldfont]{xeCJK}
  3. \renewcommand{\tablename}{}
  4. \renewcommand{\thetable}{}
  5. \begin{document}
  6. \begin{table}[h]
  7. \centering
  8. \caption{这是一个表格标题}
  9. \begin{tabular}{|c|c|}  
  10. \hline  
  11. \end{tabular}
  12. \end{table}
  13. \end{document}
Copy the Code
如题,上面这段代码,用 xelatex 编译后,会有 “Tab. :” 这个前缀,如何能去掉这个前缀?用 caption* 也不行,前缀还是存在,并且还换了一行,加了个星号。

13

Threads

901

Posts

110K

Credits

Credits
12272

Show all posts

色k Posted 2020-1-7 19:57
图表标题可以用caption宏包设置

411

Threads

1619

Posts

110K

Credits

Credits
11813

Show all posts

 Author| abababa Posted 2020-1-7 20:08
回复 2# 色k

谢谢,明白了,用了
  1. \captionsetup{labelformat=empty}
Copy the Code
就好了。

Mobile version|Discuz Math Forum

2025-6-5 01:46 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit