latex 文本居中问题想在生成的table下面加入文字:2013年5月10日,文字居中,该怎么写代码?\documen

latex 文本居中问题
想在生成的table下面加入文字:2013年5月10日,文字居中,该怎么写代码?
documentclass{article}
usepackage{amsmath,amssymb}
usepackage{latexsym}
usepackage{graphicx}
usepackage{CJK}
begin{document}
begin{CJK*}{GBK}{song}
begin{table}
centering
begin{tabular}{p{120pt}p{180pt}}
makebox[120pt][s]{LARGE 姓名}&
makebox[180pt][c]{large XXX}\
cline{2-2}\
makebox[120pt][s]{LARGE 院系}&
makebox[180pt][c]{large XXX}\
cline{2-2}\
makebox[120pt][s]{LARGE 专业}&
makebox[180pt][c]{large XXX}\
cline{2-2}\
makebox[120pt][s]{LARGE 年级}&
makebox[180pt][c]{large XXX}\
cline{2-2}\
end{tabular}
end{table}
end{CJK*}
end{document}
还有为什么新输入文字后,这个表格就不在第一页跑到第二页去了?
三巴汤 1年前 已收到1个回答 举报

kjdskjlf 幼苗

共回答了23个问题采纳率:91.3% 举报

表格移位,是因为使用了浮动体table的缘故,自动安排合适的位置.
“2013年5月10日”是你的表格标题吗?可以用caption{2013年5月10日}指令.
如果不是标题想居中一行文本,可以用centerline{2013年5月10日}

1年前

2
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 16 q. 0.041 s. - webmaster@yulucn.com