Forgot password
 Register account
View 1676|Reply 2

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

[Copy link]

414

Threads

1641

Posts

15

Reputation

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

898

Posts

8

Reputation

Show all posts

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

414

Threads

1641

Posts

15

Reputation

Show all posts

original poster abababa posted 2020-1-7 20:08
回复 2# 色k

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

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 06:01 GMT+8

Powered by Discuz!

Processed in 0.014224 seconds, 22 queries