Feature Request Tracker

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


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



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 or return to search results.

Watch This Report

If you would like to be notified whenever updates are made to this report, please fill in your email address in the box below and click on "Notify Me of Changes" button. (Please ensure the address is valid.) Your details won't be passed on to third parties in line with this site's Privacy Policy.

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Topic ID" field helps to protect against spambots. Please enter the feature request ID (which you can find at the top of this page).

E mail:
Confirm E mail:
Confirm Topic ID:

To unsubscribe from all notifications use the notifications page.


You can append a comment to this report using the form below. Comments are checked first before being added. Any spam or offensive content will be removed first according to this site's Terms of Website Use. Please bear in mind that I develop and maintain free software in my spare time. If you want commerical level support then you can hire a TeX consultant.

The "Confirm Feature Request ID" field helps to protect against spambots. Please enter the feature request ID (which you can find at the top of this page).

(Optional. If provided, it will be shown with the comment.)
Confirm Feature Request ID:

You can use the following markup:

[pre]Displayed verbatim[/pre]
[tt]monospace text[/tt]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url]

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

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

Click on the Preview button to preview the message.

Return to search results.