表格的标题无法放到表格上方

2019-10-18 21:15发布

我在写自己的学位论文,我想加入一个表格和表标题,我期待的结果是表标题在表格上方,目前在表格的下方,如图所示 ![](https://wenda.latexstudio.net/data/attach/...

我在写自己的学位论文,我想加入一个表格和表标题,我期待的结果是表标题在表格上方,目前在表格的下方,如图所示 ![](https://wenda.latexstudio.net/data/attach/191018/NBapo7Xp.png) WME.tex 和 .cls 文件见链接:https://github.com/shaoyuhlq/latex ![](https://wenda.latexstudio.net/data/attach/191018/PKOxZzhA.png)
4条回答
兰铃 - 渔舟唱晚
2019-10-18 21:32
你换成texlive,这种问题一行代码可以解决。把caption放在那个上面就行了。 既然你用了别人写的模板,那还是不要乱改了,

作者追问:2019-10-18 21:32

放在上面?我试了不行啊,你能实现不?

作者追问:2019-10-18 21:32

放在上面?我试了不行啊,你能实现不?

回答: 2019-10-18 21:32

可以啊, ``` \documentclass{ctexart} \begin{table}[h] \centering \caption{某些特殊符号} \begin{tabular}{c|c|c|c|c|c} \hline test1 & $\eta$ & $\Omega$ & $\ddagger$ & $\subseteq$ & $\clubsuit$ \\ \hline test1 & $\eta$ & $\Omega$ & $\ddagger$ & $\subseteq$ & $\clubsuit$ \\ \hline \end{tabular} \end{table} \end{document} ``` ![](https://wenda.latexstudio.net/data/attach/191018/CBwCvNUb.jpg)

回答: 2019-10-18 21:32

Watch XiaoXing's answer, maybe the reason about your problem is that template is bad development. But, in the same school, I think this template complys with the feature requirements of your school. Now that you are using it, don't warry about the style.

回答: 2019-10-18 21:32

Tell me what compile way did you use, and I'm running on Texlive2019 which doesn't support CTeX's template.

回答: 2019-10-18 21:32

I can't compile it ( the code in your github ) ![](https://wenda.latexstudio.net/data/attach/191018/6H6TUDfE.png)

一周热门 更多>