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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
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