When I try to make a particularly complex nomenclature entry – in particular, inserting curly braces, and in specific, $E_{\left(A_i|B_I\right)}$
– the result simply doesn't appear in when the nomenclature entry later in the document. Everything else works fine – subscripts included, it's just the braces that seem to be broken.
[Tex/LaTex] Complex nomenclature entries in LyX
lyxnomenclature
Best Answer
Mico's suggestion to use
\mid
instead of|
is not only for style but will fix your problem:EDIT: as egreg notes,
\left(
and\right)
do nothing as far as LaTeX is concerned here and in some cases they can add an unwanted space. I leave them here because that's what the OP has. Note that LyX renders the corresponding math differently (theleft(
and\right)
parentheses are larger in LyX).output:
Here is an MWE .lyx file:
And exported to LaTeX (pdflatex):