Janusz Borkowski wrote:

Hello !

If I begin a paragraph in List environment with a math formula containing square brackets, e.g. a[1], LyX complains showing a number of errors. E.g. :
---
Extra }, or forgotten $. \item [$a[1]
$]rest of paragraph
---
and
---
LaTeX Error: Something's wrong--perhaps a missing \item.
\end{lyxlist}
---
It seems, that square brackets confuse LyX in this context. Using \left[ \right] does not help.


Does anyone know how to overcome this problem??

JanuszB

The only way I can reproduce this is if I surround the math formula with brackets in ERT, in other words start the item with


[a[1]]

where a[1] is in a formula and the outer brackets [] are in separate ERT boxes. Are you trying to specify the formula as an option to the item command?

-- Paul



Reply via email to