MakeIndex, Nomenclature, Glossaries and Acronymsnomencl | Math Expressions in Nomenclature

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
jematos
Posts: 2
Joined: Fri Mar 09, 2012 9:17 pm

nomencl | Math Expressions in Nomenclature

Post by jematos »

I want to use the symbols "|x|" or "\left| x\right|" with nomenclature for example this entry is rejected.

Code: Select all

\nomenclature{$\left|A\right|$}{cardinal de $A$.}
Will anybody help me how to use the symbol "|" in nomenclature?


Best Regards
J. Matos
Last edited by localghost on Fri Mar 09, 2012 9:43 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

nomencl | Math Expressions in Nomenclature

Post by localghost »

Try to evade the problem by the \lvert and \rvert commands.

Code: Select all

\nomenclature{$\left\lvert A\right\rvert$}{cardinal de $A$.}

Best regards and welcome to the board
Thorsten
jematos
Posts: 2
Joined: Fri Mar 09, 2012 9:17 pm

Re: nomencl | Math Expressions in Nomenclature

Post by jematos »

Thanks a lot for the swift reply!
problem solved.

Best regards

J. Matos
Post Reply