s = settings;
s.matlab.fonts.editor.title.Style.PersonalValue = {'bold'};
s.matlab.fonts.editor.title.Color.PersonalValue = [0 0 255 1];
This code increases the size and changes the font name of normal text in the Live Editor:
s = settings;
s.matlab.fonts.editor.normal.Size.PersonalValue = 20;
s.matlab.fonts.editor.normal.Name.PersonalValue = 'Calibri';
The Live Editor updates all open live scripts and live functions to show the selected fonts. When you
create new live scripts or functions, the selected fonts are applied as well.
For more information, see matlab.fonts
Autoformatting
For quick formatting in live scripts and functions, you can use a combination of keyboard shortcuts
and character sequences. Formatting appears after you enter the final character in a sequence.
This table shows a list of formatting styles and their available keyboard shortcuts and autoformatting
sequences.
Formatting
Style
Autoformattin
g Sequence
Keyboard Shortcut
Title
# text +
Enter
Ctrl + Alt + L
Heading 1
## text +
Enter
Ctrl + Shift + 1
Heading 2
### text +
Enter
Ctrl + Shift + 2
Heading 3
#### text +
Enter
Ctrl + Shift + 3
19 Live Scripts and Functions
19-24
Précédent

- 642/1450

Suivant