In the editor, on encountering one of the character combinations: ``` log, ln, exp sin, cos, tan sinh, cosh, tanh sec, csc, cosec, cot ``` the system should replace the sequence of characters with the formula (`\log,...` in TeX).