[Vim-latex-devel] Cases macro
Brought to you by:
srinathava,
tmaas
From: Carl M. <cm...@ma...> - 2002-12-31 16:52:37
|
I forgot to mention, it might also be good to have a macro for conditional statements: f(x) = { 3 if x>5 2x if x<5 Here is my macro for this (following Lamport's book). inoremap <buffer> <F6> \left\{\begin{array}{ll}<CR>&\mbox{$$} \\<CR>&\mbox{}<CR>\end{array}<CR>\right.<Up><Up><Up><Home> Amslatex has \begin{cases}...\end{cases}. Best wishes, Carl |