This is essentially almost the same version of the file by Jose Aumentado (many thanks for this) with the same approach to the problem. I recomend to read the full description here:
The only difference between this file and its previous version is that this file is an attempt to handle different font styles. By no means it works perfectly but in some situations might make life a little bit easier.
I recommend to use Arial Fonts and to make sure it does alsways happen I'd recommend to make a startup.m file in MATLAB default folder and put 2 lines there
Create scripts with code, output, and formatted text in a single executable document.