![중앙에 세 개의 수직 점으로 구성된 표를 만드는 방법은 무엇입니까?](https://rvso.com/image/449620/%EC%A4%91%EC%95%99%EC%97%90%20%EC%84%B8%20%EA%B0%9C%EC%9D%98%20%EC%88%98%EC%A7%81%20%EC%A0%90%EC%9C%BC%EB%A1%9C%20%EA%B5%AC%EC%84%B1%EB%90%9C%20%ED%91%9C%EB%A5%BC%20%EB%A7%8C%EB%93%9C%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
답변1
귀하의 의견에 있는 표의 네 번째 열이 무엇인지 모르겠지만 힌트에 보관했습니다.
\documentclass{article}
\begin{document}
\begin{tabular}{l|l|ll}
\cline{1-3} State & Action & Value & \\
\cline{1-3}
$s_1$ & $a_1$ & $Q(s_1,a_1)_1$ & \\
\cline{1-3}
\multicolumn{1}{c}{$\vdots$} & \multicolumn{1}{c}{$\vdots$} & \multicolumn{1}{c}{$\vdots$} & \\ \cline{1-3}
& & & \\
\cline{1-3}
\end{tabular}
\end{document}
답변2
tblr
@Przemysław Scherwentke 답변(+1)과 유사하지만 패키지를 사용합니다 tabularray
.
\documentclass{article}
\usepackage{xcolor}
\usepackage{tabularray}
\begin{document}
\begin{center}
\begin{tblr}{colspec={ *{3}{Q[c, mode=math, wd=5em]} },
row{1} = {mode=text, l},
hline{1-3, Y-Z} = {solid},
vline{2-Y} = {1-2, Z}{solid},
}
State & Action & Value \\
s_1 & a_1 & Q(s_1,a_1)_1 \\
\SetRow{font=\Huge, rowsep=3ex}
\vdots & \vdots & \vdots \\
s_n & a_n & Q(s_n,a_n)_n \\
\end{tblr}
\end{center}
\end{document}