0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

LaTeXの表で横線を太くする

Last updated at Posted at 2024-12-10

調べても簡単な解決策がすぐに出てこなかったので、私が書いてしまおうと思った次第。

\usepackage{makecell}のあと、\Xhline{5pt}を使えばいい。

\usepackage{makecell}  % プリアンブルにこれを追加
...
\begin{table}[htbp]
  \centering
  \caption{name}
  \begin{tabular}{cc}
    \Xhline{5pt}                  % ← ここ
    Name & Description \\ \hline  % ← これは普通
    A    & 0.7 \\ \Xhline{5pt}    % ← ここ
  \end{tabular}
\end{table}

image.png

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?