tex

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

投稿日:

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

(式番号の中に日本語を入れるには、tex 自体を日本語表示に対応させておくことが必要であることに注意。)

\usepackage{amsmath}
\begin{document}

\begin{equation}
y = f(x) \tag{1.2.3.4.5} 
\end{equation}

\begin{equation}
z = g(x) \tag{式1.3}
\end{equation}

\end{document}

結果

[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]

美味しんぼ(28)【電子書籍】[ 雁屋哲 ]
価格:605円(税別、送料別)(2020/12/25時点)

楽天で購入

-tex
-

執筆者:


comment

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

関連記事

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 氏名 & 生年 & 没年 & 著書 …

no image

tex で無限の記号を入力する

「無限大」を表す記号を入力するには、\inftyを使う。 例 $$\infty , -infty$$ 結果

no image

tex でニアリーイコール記号を入力する

ニアリーイコール記号を入力するには、\fallingdotseq または、\rigingdotseq を使う。 例 \usepackage{amssymb} \begin{document} $$x …

no image

tex で表に空欄をつける方法

区切りの & だけを入力すると、表に空欄を作ることができる。 例 \begin{table} \begin{tabular}{ |c|c|c|c| } \hline 1 & & …