please use this package: \usepackage{color} ====================== commands: \textcolor{green}{m(H)} \textcolor{green}{t(H)} \textcolor{green}{D(n)+1} \textcolor{green}{D(n)+t(n)-1} \textcolor{green}{D(n)} \textcolor{green}{m(H)} m(H) t(H) D(n)=O(\log n) D(n) O(E+V\log V) O(E\log V) O(D(n)) \Delta \Phi \leq c+2(-c+2)=4-c m(H')\leq m(H)-c+2 t(H')=t(H)+c O(1)-c O(1) \Phi(H')=D(n)+1+2m(H) O(D(n))-t(H) O(D(n) (t(H)+1+2m(H))-(t(H)+2m(H))=1 (t(H')+2m(H'))-(t(H)+2m(H))= \Phi(H)=t(H)+2m(H) O(D(n))+O(t(H))