免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 发帖

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

  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}
复制代码
如题,上面这段代码,用 xelatex 编译后,会有 “Tab. :” 这个前缀,如何能去掉这个前缀?用 caption* 也不行,前缀还是存在,并且还换了一行,加了个星号。
分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友

图表标题可以用caption宏包设置

TOP

回复 2# 色k

谢谢,明白了,用了
  1. \captionsetup{labelformat=empty}
复制代码
就好了。

TOP

返回列表 回复 发帖