X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.vim%2Fmysnippets%2Ftex.snippets;h=f767eec0dc8ba3312e9756f5676ae91dca4fc9fc;hp=84bf0d4c422218ae9d0423bdaa2dcc58f15c1a5d;hb=f7b515eabe10128f2e478e6ec16e387467d8d6a4;hpb=fdcd4945ebca688bd20c91247331518b29248f7e diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index 84bf0d4..f767eec 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -86,6 +86,9 @@ snippet naturals "Set of Naturals" w \mathbb{N} endsnippet +snippet complex "Set of Complex" w +\mathbb{C} +endsnippet # OTHERS snippet implies "Implies" w @@ -98,6 +101,42 @@ snippet mod "Mod" w endsnippet +snippet floor "Floor" w +\lfloor $1 \rfloor +endsnippet + + +snippet cubert "Cube root" w +\sqrt[\leftroot{-2}\uproot{2}3]{$1} +endsnippet + + +snippet nroot "Root" w +\sqrt[\leftroot{-2}\uproot{2}$1]{$2} +endsnippet + + +snippet ceil "Ceiling" w +\lceil $1 \rceil +endsnippet + +snippet sin "Sin" w +\sin($1) +endsnippet + +snippet cos "Cos" w +\cos($1) +endsnippet + +snippet tan "Tan" w +\tan($1) +endsnippet + +snippet cis "Cis" w +\mathrm{cis}($1) +endsnippet + + snippet eea "Extended Euclidian Algorithm" w \begin{center} \begin{tabular}{|c|c|c|c|}