Skip to content
u-sho (Shouhei Uechi) edited this page Mar 9, 2021 · 4 revisions

括弧類を出力するものは以下のパッケージによって以下のコマンドが提供されています。

  • math.satyh
    • \paren : math
    • \app : math; math
    • \angle-bracket : math
    • \brace : math
    • \sqbracket : math
    • \abs : math
    • \norm : math
    • \floor : math
    • \ceil : math
    • \set : math
    • \setsep : math; math
    • \cases : (math * inline-text) list

使い方

LaTeXとは違い、SATySFiでは括弧類は以下のように書く(\casesの例についてはZR氏のツイートを参考にした)

${\paren{2 + 3}}
${f\(x\) = \cases![
    (${x}, {${x = 42}のとき});
    (${-x}, {${x = -42}のとき});
    (${42}, {それ以外})
    ]
}
Clone this wiki locally