tex

tex で行列に罫線を入れてブロック行列を書く方法

投稿日:2020年12月1日 更新日:

\array の中に、\matrix を入れる。
大きなゼロは、\mbox の中に \Huge 0 を書いて入力する。
大きなゼロの位置を調整するために、\raisebox を使った。

\usepackage{amsmath}
\begin{document}

$$
\left(\begin{array}{@{}c|c@{}}
0 & \begin{matrix}
1 & 1
\end{matrix}
\\
\hline
\begin{matrix}
1 \\ 1
\end{matrix} & \raisebox{-0.5em}{\mbox{\Huge 0}}
\end{array}\right)
$$

\end{document}

結果

-tex
-

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

tex で式番号を自分で指定する方法

amsmath パッケージを使っておき、\begin{equation} と \end{equation} の数式中で \tag を使うと式番号を自分で指定したとおりに表示できる。(式番号の中に日本語 …

no image

tex で偏微分記号を入力する

偏微分記号を入力するには、\partial を使う。 分数を入力するための \frac と混ぜて使うと、偏微分係数を出力することができる。 \usepackage{amsmath} \usepacka …

no image

tex で表の縦横軸を調整する方法

例 \begin{center} \begin{table}[] \begin{tabular}{|c|c|c|c|} \hline 氏名 & 生年 & 没年 & 著書 …

no image

tex で、集合の元でないことを表現する方法

\not \in を使う。 例 x \not \in A 結果

no image

tex で米印(アスタリスク)を入力する方法

アスタリスクは、「*」記号で入力できる。tex の数式モードと、数式モードの外で書き方が異なるので注意。 例 数式モードの中:math mode $x^{*} A* B^{**}$数式モードの外:te …