## LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ Nomencl rejects left indices Topic is solved

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Lucker10
Posts: 4
Joined: Thu May 10, 2018 8:39 pm

### Nomencl rejects left indices

Hello, I have the following symbol:
`\${^B\!}f_i\$` which describes a vector in the frame {B}.
I declare the symbol to nomencl with
`\nomenclature[yx ]{\${^B\!}f_i\$}{Vector \$f\$ in \{B\} frame}`.

The problem is that nomencl seems to misinterpret the "\!" (which reduces the space between the index and the symbol) as a subitem or something, as the main.nls shows:
`\item yx \${^B\   \subitem [{\${^B\   	\subsubitem } f_i\$}] \begingroup Vector \$f\$ in \{B\} frame\nomeqref {\relax 4.7}`

Any ideas how to fix this?

Johannes_B
Site Moderator
Posts: 3953
Joined: Thu Nov 01, 2012 4:08 pm
Can you make a compilable example out of this?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Lucker10
Posts: 4
Joined: Thu May 10, 2018 8:39 pm
I found a workaround which is using \negthinspace instead of \!. So it seems to be a bug within nomencl. I will give an example asap.

Johannes_B
Site Moderator
Posts: 3953
Joined: Thu Nov 01, 2012 4:08 pm
! is special for indexes, meaning a sub-index entry.

So, i don't know how this can be considered a bug?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Lucker10
Posts: 4
Joined: Thu May 10, 2018 8:39 pm
Well but \! is still a command, or not? So it should recognize it imo and only interpret a single ! as a sub-index entry.

Johannes_B
Site Moderator
Posts: 3953
Joined: Thu Nov 01, 2012 4:08 pm
The makeindex program is a different thing, using a different language, meaning a different parser.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Lucker10
Posts: 4
Joined: Thu May 10, 2018 8:39 pm
Well I think you can close this topic as the answer is that makeindex does not allow \! and needs \negthinspace instead.
Thanks!

Return to “MakeIndex, Nomenclature, Glossaries and Acronyms”

### Who is online

Users browsing this forum: No registered users and 2 guests