Hello,

Wei Zhou wrote:
I can't seem to find a way to specify the name for theorem, definition, etc.
For example, in latex, I would write


\begin{definition}[aName]
...
\end{definition}

To do this in lyx, just put [aName] in latex (ERT) at the begining of your theorem text (see attached).


Amir.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass amsart
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Theorem


\begin_inset ERT
status Collapsed

\layout Standard
[
\end_inset 

a Name
\begin_inset ERT
status Collapsed

\layout Standard
]
\end_inset 

 Theorem text
\the_end

Reply via email to