![マトリックスを含む表形式](https://rvso.com/image/328433/%E3%83%9E%E3%83%88%E3%83%AA%E3%83%83%E3%82%AF%E3%82%B9%E3%82%92%E5%90%AB%E3%82%80%E8%A1%A8%E5%BD%A2%E5%BC%8F.png)
答え1
表内の内容はほぼすべて数学的なので、array
環境ではなく環境を使用することをお勧めします。そうすれば、数式モードの内容を含む 33 [!] セルの最初と最後ではなく、前後の2 回だけtabular
入力すれば済みます。$
\begin{array}
\end{array}
\documentclass{article}
\usepackage{amsmath} % for "\text" macro
\newcommand{\smbullet}{{\scriptscriptstyle\bullet}}
\begin{document}
\begin{table}
\centering
$\begin{array}{|c|cccc|c|}
\hline
\text{Material\textbackslash Klass} & B_1 & B_2 & \dots & B_k & \text{Summa}\\
\hline
1 & o_{11} & o_{12} & \dots & o_{1k} & n_1=o_{1\smbullet} \\
2 & o_{21} & o_{22} & \dots & o_{2k} & n_2=o_{2\smbullet} \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots\\
r & o_{r1} & o_{r2} & \dots & o_{rk} & n_r=o_{r\smbullet} \\
\hline
\text{Sammanlagt} & o_{\smbullet1} & o_{\smbullet2} & \dots & o_{\smbullet k} & n_\smbullet \\
\hline
\end{array}$
\end{table}
\end{document}