Additional LyX Features
Version 2.3.x
by the LyX Team
Principal maintainer of this file is Richard Heck. If you have comments or error corrections, please send them to the LyX Documentation mailing list, <lyx-docs@lists.lyx.org>
.
Inserting TeX Code into LyX Documents
Anything you can do in LaTeX you can do in LyX, for a very simple reason: You can always insert TeX code into any LyX document. LyX cannot, and will never be able to, display every possible LaTeX construct. If ever you need to insert LaTeX commands into your LyX document, you can use the TeX Code
box, which you can insert into your document with Insert⇒TeX Code or the keyboard shortcut Ctrl+L.
Here's an example of inserting LaTeX commands in a LyX document. The code looks like this:
\begin{tabular}{ll}
\begin{minipage}{5cm}
This is an example of a minipage environment. You
can put nearly everything in it, even (non-floating)
figures and tables.
\end{minipage}
&
\begin{minipage}{5cm}
\begin{verbatim}
\begin{minipage}{5cm}
This ...
\end{minipage}
\end{verbatim}
\end{minipage}
\end{tabular}
Cross-References Between Files
This section is somewhat out of date. Need to describe default master documents and how children are opened when the master is. [[FIXME]]
AMS LaTeX
These same environments are provided only in the starred versions by the Theorems (Starred)
module:
This is typically used for the statements of major results.
This is used for statements which follow fairly directly from previous statements. Again, these can be major results.
These are smaller results needed to prove other statements.
These are less major results which (hopefully) add to the general theory being discussed.
These are statements provided without justification, which the author does not know how to prove, but which seem to be true (to the author, at least).
Guess what this is for. The font is different for this environment than for the previous ones.
Used for examples illustrating proven results.
It's not really known what this is for. You should figure it out.
Write a description for this one.
This environment is also a type of theorem, usually a lesser sort of observation.
Often used in the course of giving a proof of a larger result.
Generally, these are used to break up long arguments, using specific instances of some condition. The numbering scheme for cases is on its own, not together with other numbered statements.
At the end of this environment, a QED symbol (usually a square, but it can vary with different styles) is placed. If you want to have other environments within this one—for example, Case environments—and have the QED symbol appear only after them, then the other environments need to be nested within the proof environment. See the section Nesting Environments of the User's Guide for information on nesting.
And these environments are provided by Theorems (AMS-Extended)
:
A required condition.
A general procedure to be used.
This is a property or statement taken as true within the system being discussed.
Sometimes used to state a condition assumed within the present context of discussion.
Similar to a Remark.
Used for the explanation of, yes, notation.
Do we really need to tell you?
Acknowledgement.
Sometimes used at the end of a long train of argument.
Used in a way similar to Proposition, though perhaps lower on the scale.
In addition, the AMS classes automatically provide the AMS LaTeX and AMS fonts packages. They need to be available on your system in order to use these environments.