0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

longtblr環境(tabularray)で表題が折り返されるのを防ぐ

Posted at

解決法

プリアンブルに以下を記述する.

\DefTblrTemplate{firsthead}{default}{
  \makebox[\tablewidth]{\parbox{\columnwidth}{
    \UseTblrTemplate{caption}{normal}
  }}
}

\DefTblrTemplate{middlehead, lasthead}{default}{
  \makebox[\tablewidth]{\parbox{\columnwidth}{
    \UseTblrTemplate{lasthead}{normal}
  }}
}

解説

なんで解決するかはよくわかっていない.
longtblrのissue1にあった解決法を元に,複数ページにまたがった先で(続き)などを表示させるためにmiddleheadlastheadではlastheadを使うようにしている.

おまけ

longtblr環境で次頁に続く(続き)などと日本語化する方法

longtblr 環境 (tabularray) を日本語化する

"表1:"のような見出しのセミコロンを空白にする方法

プリアンブルに次の1行を追加する.

\DefTblrTemplate{caption-sep}{default}{\enspace}
  1. Long caption gets wrapped within table width #255

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?