X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.vim%2Fmysnippets%2Ftex.snippets;h=a6b72d47b44af2af1b1bffa64ea157f7b701cd21;hp=af11478a66613fffe59f6eb4b8bbc4dbaf3b6a01;hb=6e3db62914ecd27fc1830bab11da3bd05807723e;hpb=ea647b01ed4784be06204090b3042f51a8267f70 diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index af11478..a6b72d4 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -101,6 +101,32 @@ snippet mod "Mod" w endsnippet +snippet floor "Floor" w +\lfloor $1 \rfloor +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|}