Lugaru's Epsilon Programmer's Editor
Context:
|
Epsilon User's Manual and Reference > Commands by Topic > Language Modes > TeX ModeEpsilon automatically enters TeX mode when you read a file with an extension of .tex, .ltx, or .sty.Keys in TeX mode include Alt-i for italic text, Alt-Shift-I for slanted text, Alt-Shift-T for typewriter, Alt-Shift-B for boldface, Alt-Shift-C for small caps, Alt-Shift-F for a footnote, and Alt-s for a centered line.
Alt-Shift-E prompts for the name of a LaTeX environment, then inserts
\begin{env} and \end{env} lines for
the one you select. You can press ? to select an environment from a
list. (The list of environments comes from the file For most of these commands, you can highlight a block of text first and Epsilon will make the text italic, slanted, etc. or you can use the command and then type the text to be italic, slanted, etc.
By default, Epsilon inserts the appropriate LaTeX 2e/3 command (such
as \textit for italic text). Set the variable
latex-2e-or-3 to The keys "{" and "$" insert matched pairs of characters (either {} or $$). When you type \( or \[, TeX mode will insert a matching \) or \], respectively. But if you type "{" just before a non-whitespace character, it inserts only a "{". This makes it easier to surround existing text with braces.
The keys <Comma> and <Period> remove a preceding italic
correction \/, the
Some TeX mode commands are slightly different in LaTeX than in pure
TeX. Set tex-force-latex to When the cursor is on a curly brace or square bracket character like {, }, [, or ], Epsilon will try to locate its matching character and highlight them both. If the current character has no match, Epsilon will not highlight it. Set the variable auto-show-tex-delimiters to zero to disable this feature. Set the variable tex-look-back to a bigger number if you want TeX mode to more accurately syntax highlight very large paragraphs but be slower, or a smaller number if you want recoloring to be faster but perhaps miscolor large paragraphs. The compile-buffer command uses the compile-tex-cmd variable in this mode. If your TeX system uses a compatible DVI previewer, then you can use Epsilon's jump-to-dvi command to see the DVI output resulting from the current line of TeX. This requires some setup so that the DVI file contains TeX source file line number data. See the description of jump-to-dvi for details.
|