Hot answers tagged

4

Use the symbol key to add the symbol: \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage[toc, acronym,style=tree]{glossaries} \makeglossaries \newglossaryentry{cost matrix}{name=cost matrix, symbol={\ensuremath{c_{ij}}}, description={Displays the costs for each customer}} \begin{document} \gls{cost matrix} or \glssymbol{cost matrix}. ...


3

Unsure if this is meant, but glossaries defines the macro \glsnumbergroupname which defaults to Numbers. Just redefine it! (The macro is mentioned in the introduction section (page 32 of the current documentation, version 4.21, glossaries version from 2016/01/24) \documentclass{article} \usepackage[ xindy ]{glossaries} ...


3

I would suggest using \makenoidxglossaries together with \printnoidxglossary[sort=standard] which sorts the elements first according to the sort-key and then according to usage. \documentclass{article} \usepackage[nogroupskip]{glossaries} \newglossaryentry{div} { name={\ensuremath{\protect\vec{\nabla}.}}, description={Divergence operator}, sort={0} } ...


2

As @cfr has mentioned, the problem is \glsresetall, which marks each entry as unused. This means that the next time it's used, it's considered "first use" and so is indexed. I think this is a job for glossaries-extra, which extends the glossaries package. Your example can be adapted as follows: \documentclass{report} \usepackage[abbreviations,% "acronyms" ...


2

Without acronym as the option to glossaries → no acronyms Without \makeglossaries in the preamble → no acronyms Both are missing in the MWE (the \printacronyms is not necessary, I added it just to show them) \documentclass{article} \usepackage[acronym,nomain]{glossaries} \setacronymstyle{long-short} \makeglossaries \newacronym{svm}{SVM}{support vector ...


2

If you have a mixture of styles like this, I think it's better to use glossaries-extra rather than just glossaries. This extension to the glossaries package reimplements abbreviations to make it easier to have multiple styles. Instead of using \setacronymstyle{style-name}, you need to use \setabbreviationstyle[category]{style-name} where the optional ...


1

The entrycounter option can be switched on or off for a particular glossary using the optional argument of \printglossary. For example \printglossary[entrycounter] or \printglossary[entrycounter=true] or \printglossary[entrycounter=false] It's also possible to switch it on or off using \setupglossaries.


1

This is the closest I've been able to get. I've used glossaries-extra which extends the glossaries package and provides per-unit counting in addition to the glossaries package's document-wide counting. This makes it easier to count per page. \documentclass{book} \usepackage{everypage} \usepackage{glossaries-extra} \AddEverypageHook{% ...


1

It's not really possible for glossaries to provide a warning for all those nested levels of dependency, but adding hyperref does give a warning if an entry has been used but doesn't appear in the glossary. Example: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage{glossaries} \makeglossaries \newglossaryentry{animal}{% name ...



Only top voted, non community-wiki answers of a minimum length are eligible