![]() |
Typing Goodies |
Along with macros and marks, iTeXMac built in text editor shares features with classical text editors, however it is implemented TeX friendly.
Syntax coloring:
iTeXMac can support different fonts, colors for regular text, commands, comments. It makes the difference between one character command names like '\{', '\%' and long command names involving only letters, avoiding certain inconsistency other text editors are used to.
But all this can be time consuming especially for very long files (>50000 chars) and (very?) slow machines (266MHz) so
You can turn syntax coloring on and off under the Format menu |
Parenthesis matching:
When you type in a parenthesis that closes a group, the balanced character blinkers. Works for brackets. iTeXMac implements this feature TeX friendly because it makes the difference between '{', '\{', '\\{'....
You can turn parenthesis matching on and off from the Format menu |
Double click:
Selecting TeX groups is as easy as double clicking on one of its delimiters. TeX friendly (makes the difference between '{', '\{', '\\{'...). When a '\' is double clicked, the whole command is selected, TeX friendly (can make the difference among \\\\\\\\\\\\\\\). When a '%' is double clicked, the whole comment is selected until the end of the line, TeX friendly (can make the difference between '%', '\%', '\\%' ...).
Smart Insert:
When typing in left delimiters: {, ( and [, iTeXMac automatically adds the matching one, if appropriate.
You can turn smart insertion on and off from the Format menu |
Auto Indent New Lines:
When this option of the Format menu is checked, iTeXMac adds before each inserted newline char as white characters as necessary to preserve indentation.
You can turn new lines indentation on and off from the Format menu |
If you insert a new line character while holding down the option key, iTeXMac will preserve the indentation even if the option is not checked.