作者Swanj (瓦泥)
看板LaTeX
标题Re: 请问 caption 强制不换行
时间Wed Jun 11 02:14:54 2008
※ 引述《[email protected] (蒙古大夫 2.0)》之铭言:
: ※ 引述《[email protected] (瓦泥)》之铭言:
: > 因为敝人有文章有比较窄小的table
: > 会使得 Table 3.2: This is a table caption
: > 变成 Table 3.2: This
: > is a table capt-
: > ion
: > 请问有方法使 caption 强制不换行吗?
: > 我有尝试过 \captionsetup{width=10cm}
: > 但是会使 Table 的字头整个向右平移
: > 即
: > Table 3.2: This is a table caption
: > -------------------------
: > | This is a table |
: > 如果我希望最後的结果如下:
: > Table 3.2: This is a table caption
: > -------------------------
: > | This is a table |
: > 请问有什麽方法呢?
: > 谢谢各位!!
: 如果在 table 内有放 \centering,那麽第三种情况是预设值。
: 有用 caption package 的话,请举实际小例子,不然不清楚你是怎麽
: 设定的。
谢谢您的回应
因为 table 本身比较小,所以没有使用 caption package,
预设的情况是 caption 不会超出 table,如下所示:
Table 3.2: This is a
table caption
-------------------------
| This is a table |
但是我希望可以调整成这样
Table 3.2: This is a table caption
-------------------------
| This is a table |
不知道有没有方法呢?
谢谢您!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 123.192.179.64