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 で米印(アスタリスク)を入力する方法

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

no image

tex で丸付きマイナス記号を入力する方法

「電子」や「陰イオン」を表す「丸付きマイナス記号」は、次のようにして入力する。 例 $\ominus$ 結果 美味しんぼ(70)【電子書籍】[ 雁屋哲 ]価格:605円(税別、送料別)(2020/12 …

no image

tex でノルムを入力する方法

\| を使う。 例 $\|u\|$ 結果 美味しんぼ(43)【電子書籍】[ 雁屋哲 ]価格:605円(税別、送料別)(2020/12/25時点)楽天で購入

no image

tex の equation 環境で複数行の数式を入力する(\split を使う)

\equation の中で \split を使う。 \tag を使って、自分で定義した式番号を使える。 例 \begin{equation} \begin{split} a \\ b \\ c \en …

no image

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

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