When typing a math report, I want to use my prof's advices: he defines shortcut for equations:


This makes it much easier to use, but the text in between is no longer recognized as math by my ediotr (I'm using TexMaker).

Is there a way to change this?

For clarification, here is a printscreen of my issue. The first line uses the usual


while the second uses the shortcuts \be and \ee. I would like the second to be green also.


  • 1
    You will learn quite fast that this is not easier. It is much harder to read, if you think it is annoying to type, then look into the macro capabilities that texmaker offers, like small semi automatic templates – daleif Mar 11 at 17:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.