The procedure to change the appearance of section in Texmate 2 is the following:
In the Bundle editor menu, select Edit bundles ....
Then select the bundle Themes.
From menu File, select New, and when prompted select Setting
Give a name to the setting.
In the Scope Selector field use meta.function.section.latex
Then you can edit the setting, for example:
{
fontName = 'Courier';
fontSize = 36;
}
Then save (in the usual way, e.g, command-s).
You can repeat for other sectioning command (to identify the scope, move the cursor on the appropriate place and then use the following key combination control-shift-P)
Update: There was a feature request to give the different kinds of section tags unique tags so that be given different sizes. The scopes are now:
- meta.function.section.section.latex
- meta.function.section.subsection.latex
- meta.function.section.subsubsection.latex
- meta.function.section.chapter.latex
- meta.function.section.part.latex
- meta.function.section.addpart.latex
- meta.function.section.addchap.latex
- meta.function.section.addsec.latex
- meta.function.section.minisec.latex
You can create multiple setting items to target different items, if you want multiple scopes to share the same size you can separate the scopes with a comma in the scope field.
The user that requested this feature has created a bundle that does this.
