![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/205853/image.png)
LaTeXで行列に罫線を入れる,
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kiyoto Matsumoto
am 21 Feb. 2019
Kommentiert: Kiyoto Matsumoto
am 26 Feb. 2019
ライブエディターでLaTeXを使用して画像の様な行列を記述したいのですが、
罫線を引く、および複数の行・列を使用して1字を表記するにはどの様にすれば良いでしょうか。
\begin{array}{c|cc}の様に表記すれば縦の罫線が入るかと思ったのですが、エラーは出ないものの罫線が表示されません。
\hlineで横の罫線を引こうとした際には、下に2行以上ないとこれも表示されません。(画像の例では大丈夫ですが。)
![matrix.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/205159/matrix.jpeg)
以上ご教示のほどよろしくお願いいたします。
0 Kommentare
Akzeptierte Antwort
Kazuya
am 25 Feb. 2019
B =
\left[ \begin{array}{c}
& & & 1 \\
& A & & \vdots \\
1 & \cdots & 1 & 0
\end{array} \right]
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/205853/image.png)
ならできますが、{c|cc} との記述や \multicolumn と \multirow がサポートされていないみたいなので、むずかしいですね。\hline についてはバグでしょうか・・。
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Support finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!