0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

LaTeX で定義しておくと便利な数式コマンド

Last updated at Posted at 2021-09-15

はじめに

皆さんは論文執筆の際にLaTeX使われていますか?
使われている方、いいですねー。
私も大学にいたときにはLaTeXでかっこよく決めていたものです。
(もうかなり前の話だけど…)
そんなあなたに、定義しておくと数式作成のときに便利なコマンド集をお送りします。
役に立たないかもしれませんが、ご参考にどうぞ。

コマンド集

  1. 微分記号$\frac{\rm d}{\rm dx}$
\newcommand{\dd}[2]{\frac{{\rm d} #1}{{\rm d}#2}}
  1. 偏微分記号$\frac{\partial }{\partial x}$
 \newcommand{\pp}[2]{\frac{\partial #1}{\partial #2}}
  1. 括弧()
\newcommand{\lr}[1]{\left(#1\right)}

4.かぎ括弧[]

\newcommand{\LR}[1]{\left[#1\right]}
  1. 複数の変数を表示する場合
\newcommand{\vars}[2]{#1_{1},#1_{2},\cdots,#1_{#2}}
  1. 複数の変数を微分記号付きで表示する場合
\newcommand{\rd}{{\rm d}}
\newcommand{\dvars}[2]{\rd #1_{1}\rd #1_{2}\cdots\rd #1_{#2}}
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?