From c387e5bd5b52f26a953da6113d4cabbc64b0f84d Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 4 May 2017 18:17:12 +0100 Subject: [PATCH] Add maths mappings --- .vimrc | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 56 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index 58fbd5e..99df88d 100644 --- a/.vimrc +++ b/.vimrc @@ -97,10 +97,62 @@ let g:quicktex_html = { \} let g:quicktex_tex = { - \' ' : "\/<+.*+>\\"_c/+>/e\", - \';b' : "\\textbf{<+++>} <++>", - \';e' : "\\emph{<+++>} <++>", - \'prf' : "\\begin{proof}\<+++>\\\end{proof}", + \' ' : "\/<+.*+>\\"_c/+>/e\", + \';b' : "\\textbf{<+++>} <++>", + \';e' : "\\emph{<+++>} <++>", + \'prf' : "\\begin{proof}\<+++>\\\end{proof}", + \';ma' : "$a$ ", + \';mb' : "$b$ ", + \';mc' : "$c$ ", + \';md' : "$d$ ", + \';me' : "$e$ ", + \';mf' : "$f$ ", + \';mg' : "$g$ ", + \';mh' : "$h$ ", + \';mi' : "$i$ ", + \';mj' : "$j$ ", + \';mk' : "$k$ ", + \';ml' : "$l$ ", + \';mm' : "$m$ ", + \';mn' : "$n$ ", + \';mo' : "$o$ ", + \';mp' : "$p$ ", + \';mq' : "$q$ ", + \';mr' : "$r$ ", + \';ms' : "$s$ ", + \';mt' : "$t$ ", + \';mu' : "$u$ ", + \';mv' : "$v$ ", + \';mw' : "$w$ ", + \';mx' : "$x$ ", + \';my' : "$y$ ", + \';mz' : "$z$ ", + \';mA' : "$A$ ", + \';mB' : "$B$ ", + \';mC' : "$C$ ", + \';mD' : "$D$ ", + \';mE' : "$E$ ", + \';mF' : "$F$ ", + \';mG' : "$G$ ", + \';mH' : "$H$ ", + \';mI' : "$I$ ", + \';mJ' : "$J$ ", + \';mK' : "$K$ ", + \';mL' : "$L$ ", + \';mM' : "$M$ ", + \';mN' : "$N$ ", + \';mO' : "$O$ ", + \';mP' : "$P$ ", + \';mQ' : "$Q$ ", + \';mR' : "$R$ ", + \';mS' : "$S$ ", + \';mT' : "$T$ ", + \';mU' : "$U$ ", + \';mV' : "$V$ ", + \';mW' : "$W$ ", + \';mX' : "$X$ ", + \';mY' : "$Y$ ", + \';mZ' : "$Z$ ", \} let g:quicktex_math = {