LaTeX マクロ


%円記号
\newcommand{\yen}{Y\hspace{-.75em}=}
%ローマ数字(大文字)
\newcommand{\One}{I}
\newcommand{\Two}{I\hspace{-.1em}I}
\newcommand{\Three}{I\hspace{-.1em}I\hspace{-.1em}I}
\newcommand{\Four}{I\hspace{-.1em}V}
\newcommand{\Five}{V}
\newcommand{\Six}{V\hspace{-.1em}I}
\newcommand{\Seven}{V\hspace{-.1em}I\hspace{-.1em}I}
\newcommand{\Eight}{V\hspace{-.1em}I\hspace{-.1em}I\hspace{-.1em}I}
\newcommand{\Nine}{I\hspace{-.1em}X}
\newcommand{\Ten}{X}
\newcommand{\Eleven}{X\hspace{-.1em}I}
\newcommand{\Twelve}{X\hspace{-.1em}I\hspace{-.1em}I}
%ローマ数字(小文字)
\newcommand{\one}{i}
\newcommand{\two}{i\hspace{-.1em}i}
\newcommand{\three}{i\hspace{-.1em}i\hspace{-.1em}i}
\newcommand{\four}{i\hspace{-.1em}v}
\newcommand{\five}{v}
\newcommand{\six}{v\hspace{-.1em}i}
\newcommand{\seven}{v\hspace{-.1em}i\hspace{-.1em}i}
\newcommand{\eight}{v\hspace{-.1em}i\hspace{-.1em}i\hspace{-.1em}i}
\newcommand{\nine}{i\hspace{-.1em}x}
\newcommand{\ten}{x}
\newcommand{\eleven}{x\hspace{-.1em}i}
\newcommand{\twelve}{x\hspace{-.1em}i\hspace{-.1em}i}
%丸囲み数字
\newcommand{\tcsmall}[1]{\textcircled{\small #1}}
\newcommand{\tcfootnotesize}[1]{\textcircled{\footnotesize #1}}
\newcommand{\tcscriptsize}[1]{\textcircled{\scriptsize #1}}
\newcommand{\tctiny}[1]{\textcircled{\tiny #1}}
%四角囲み数式
\newcommand{\framemath}[1]{\begin{center}\framebox{ $\displaystyle #1$}\end{center}}
%定義(三重等号)
\newcommand{\defeq}{\stackrel{\mathrm{def}}{\equiv}}
%三角関数と双曲線関数(4)
\newcommand{\cosec}{\, \mathrm{cosec} \,}
\newcommand{\sech}{\, \mathrm{sech} \,}
\newcommand{\csch}{\, \mathrm{csch} \,}
\newcommand{\cosech}{\, \mathrm{cosech} \,}
%逆三角関数(4)
\newcommand{\arccot}{\, \mathrm{arccot} \,}
\newcommand{\arcsec}{\, \mathrm{arcsec} \,}
\newcommand{\arccsc}{\, \mathrm{arccsc} \,}
\newcommand{\arccosec}{\, \mathrm{arccosec} \,}
%逆双曲線関数(7)
\newcommand{\arccosh}{\, \mathrm{arccosh} \,}
\newcommand{\arcsinh}{\, \mathrm{arcsinh} \,}
\newcommand{\arctanh}{\, \mathrm{arctanh} \,}
\newcommand{\arccoth}{\, \mathrm{arccoth} \,}
\newcommand{\arcsech}{\, \mathrm{arcsech} \,}
\newcommand{\arccsch}{\, \mathrm{arccsch} \,}
\newcommand{\arccosech}{\, \mathrm{arccosech} \,}
%逆三角関数の主値(7)
\newcommand{\Arccos}{\, \mathrm{Arccos} \,}
\newcommand{\Arcsin}{\, \mathrm{Arcsin} \,}
\newcommand{\Arctan}{\, \mathrm{Arctan} \,}
\newcommand{\Arccot}{\, \mathrm{Arccot} \,}
\newcommand{\Arcsec}{\, \mathrm{Arcsec} \,}
\newcommand{\Arccsc}{\, \mathrm{Arccsc} \,}
\newcommand{\Arccosec}{\, \mathrm{Arccosec} \,}
%逆双曲線関数の主値(7)
\newcommand{\Arccosh}{\, \mathrm{Arccosh} \,}
\newcommand{\Arcsinh}{\, \mathrm{Arcsinh} \,}
\newcommand{\Arctanh}{\, \mathrm{Arctanh} \,}
\newcommand{\Arccoth}{\, \mathrm{Arccoth} \,}
\newcommand{\Arcsech}{\, \mathrm{Arcsech} \,}
\newcommand{\Arccsch}{\, \mathrm{Arccsch} \,}
\newcommand{\Arccosech}{\, \mathrm{Arccosech} \,}
%ベクトル解析(3)
\newcommand{\Grad}{\, \mathrm{grad} \,}
\newcommand{\Div}{\, \mathrm{div} \,}
\newcommand{\Rot}{\, \mathrm{rot} \,}
%楕円関数(3)
\newcommand{\sn}{\, \mathrm{sn} \,}
\newcommand{\cn}{\, \mathrm{cn} \,}
\newcommand{\dn}{\, \mathrm{dn} \,}
%ブラケット(4)
\newcommand{\Bra}[1]{\left\langle #1 \right|}
\newcommand{\Ket}[1]{\left| #1 \right\rangle}
\newcommand{\Braket}[2]{\left\langle \begin{array}{c|c} #1 & #2 \end{array} \right\rangle}
\newcommand{\Bracket}[3]{\left\langle \begin{array}{c|c|c} #1 & #2 & #3 \end{array} \right\rangle}

Shadow Academy トップへ戻る

inserted by FC2 system