# [texhax] WYSEEWYG Editors for LaTeX

Tue Nov 9 15:46:46 CET 2010

On Nov 9, 2010, at 8:42 AM, Paul Stanley wrote:

> I have heard of such things and what I'd like to know is, is the LaTeX source *interpreted*, as it were, live in the edit window?

Yes, both LyX and TeXmacs afford one the option of directly typing (La)TeX code and then having it converted on-screen into a formatted example (which retains the ability to be further edited).

For example, in LyX one would invoke a menu command which would insert a math equation construct (Insert | Math | Inline(or Numbered or Display) Formula) and one could then begin typing. Typing a ^'' would create a superscript and place the cursor in said superscript box.

Typing \frac inserts a fraction construct and places the cursor in the numerator field.

> for example, say, I wanted to typeset a fraction such as \frac{x}{y^2}', would I be able to *see* the result of my code immediately, that is to say, without having to run the LaTeX compiler separately?

Yes. LyX and TeXmacs also make it possible to interactively create equations using palettes of buttons which can then be converted into the textual representation which can then be edited.

William

--
`