Latest news 2024-02-16: Experimental (unstable) datatool v2.49a available for testing. Download from the experimental page if you would like to try it out.

Feature Tracker RSS feed

I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)

ID 17🔗
Date: 2013-10-05 03:42:36
Status Closed (Implemented)
Category glossaries
Summary Improve counter=equation

Sign in to subscribe to notifications about this report.


It would be nice, if one could use brackets (or other symbols) around the equation numbers (or other counters).

\newcommand*{\hyperbracket}[1]{(\glshypernumber{#1})} doesn't work, because it produces e.g. (2.4,2.5) and not (2.4),(2.5).

An option would be to introduce something along the lines of

\def\@@delimN#1\delimN #2\delimN#3\\{%
It would be nice if this could be implemented as an option to the \printglossary command, e.g. as \printglossary[title=test,surroundnumbers={(}{)}], this way it would allow to have the equations in the list of symbols in brackets, while having the page numbers in the index without the brackets.

Udo Höfel


No mwe.tex



This may be complicated to implement as xindy and makeindex don't write the numberlists in exactly the same format, but I'll leave this feature request open and see if I can find a way to implement it that will work with either indexing application.

Update 2020-02-29

This is now possible with bib2gls and glossaries-extra.sty's record=nameref option and commands in the form \glsxtrcounterlocfmt, such as \glsxtrequationlocfmt. I don't think it's possible to implement this more generally for other indexing options, but I'm going to close this feature request now that there is actually an option to do this.



Add Comment

Name (optional):

Are you human? Please confirm the feature request ID (which can be found at the top of this page) or login if you have an account.


You can use the following markup:


[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]

Ordered list:
[li]first item[/li]
[li]second item[/li]

Unordered list:
[li]first item[/li]
[li]second item[/li]

You can use the Preview button to review your message formatting before submitting.

Page permalink: