2
0

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.

scrapboxのtexで角括弧が使いたい

Posted at

概要

scrapboxで数式を書くときにtex記法で記述する事ができるが、各括弧([])を書くときのエスケープ方法が毎回分からなくなるので、備忘のため掲載

やり方

[]はそれぞれ\lbrack\rbrackを使えばよい

例えば、以下のような数式を書きたい場合、

V[X] =E[X^2]-E[X]^2

texでは以下のように記述するが、

V[X] =E[X^2]-E[X]^2

scrapboxなら以下のように記述すればよい

[$ V\lbrack X \rbrack = E\lbrack X^2 \rbrack - E\lbrack X \rbrack ^2

2
0
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?