Categories: ERT<< | Page list | >>
Questions about Evil Red Text
§ What is Evil Red Text (aka ERT)?
The acronym ERT (Evil Red Text) refers to raw LaTeX commands inserted into the body of your LyX document. In historical versions of LyX, ERT appeared in the user interface alongside regular text as red characters.
"ERT" was coined on the developers mailing list by Larry Marso, who advocated an embedded raw LaTeX inset to hide raw LaTeX, and thus, to present a cleaner LyX user interface for complex documents. (see "A Brief History of ERT", LDN, March 15, 2000).
Finally, several years later, an ERT inset was included.
With its long history of popular usage by the LyX community, the term "ERT" seems to have stuck as a description of raw LaTeX.
§ How do I enter Evil Red Text?
Aesthetic arguments aside, many of the answers in this FAQ require that you use ERT, so whenever we say "insert the following LaTeX code", do the following
§ The new ERT inset is really inconvenient!
A lot of people have been complaining about the ERT inset introduced in version 1.2.0. However, since there is little hope of to see the old LaTeX font return from the grave (it was really a hack), here are a couple of things to ponder:
§ Is there an alternative?
LaTeX commands can also be inserted in the "LaTeX Preamble", a form in LyX that is inserted verbatim into the LaTeX file which is generated during processing. This is especially useful for including nonstandard LaTeX packages, defining global shortcuts to be used within the document, etc.
§ I included a file via ERT, and LaTeX does not find it. Why?
<< | FAQ.PageList | >>