Skip to main content
5 votes
Accepted

Overleaf latexmk with glossaries and output directory

The problem is that the code in Overleaf's latexmkrc for dealing with glossaries is an old version that doesn't work when an output directory is used. Code that does work is to be found in the ...
John Collins's user avatar
  • 11.3k
4 votes

Vietnamese alphabetical sorting with glossaries-extra

If you read the glossaries package documentation, you'll see that the package recommends that you use xindy for indexing: If you are writing in a language that uses an extended Latin alphabet or non-...
bonk's user avatar
  • 875
4 votes

Compilation error: Input index file not found, and biber failed

The error occurs because the package imakeindex calls makeindex during the compilation of the document by pdflatex. That call knows nothing about the output directory; it only looks for text.idx in ...
John Collins's user avatar
  • 11.3k
3 votes

How to change hyperlink target for dual glossary entries?

You can simply modify the macro you're using to define dual entries so that it does what you want. \gls{<label>} wants to link to the entry with label <label>, so let it. Drop the main. ...
cfr's user avatar
  • 206k
3 votes
Accepted

Error when combining glossaries and label of description item

You need to restore the original definition of descriptionlabel before \printglossary. Meanwhile, I provided better code than yours for suppressing the \label inside the argument. \documentclass{...
egreg's user avatar
  • 1.1m
2 votes
Accepted

How to Retrieve and Use Glossary Entry Value in `fp` Package for Calculations?

You can define an expandable version of the commands. You need to ensure that the contents of the field has the right type (and exists). \documentclass{article} %% Include packages: \usepackage{...
egreg's user avatar
  • 1.1m
2 votes
Accepted

Enforcing the Use of for Acronyms in LaTeX

https://www.overleaf.com/read/pdnvqtykcmcs#ede4b2 You can grep (search) for the acronym and its expansion here leaving in grep.log which you can see from overleaf's other logs and files menu, It shows ...
David Carlisle's user avatar
1 vote

How to sort list of abbreviations in LaTeX

acronym does not support any sorting, entries will appear in the order in the source (which you could sort by non-TeX means). nomencl will produce a sorted list for you, it's probably easiest for just ...
Dai Bowen's user avatar
  • 6,222
1 vote
Accepted

How to change hyperlink target for dual glossary entries?

cfr's answer is great as a simple solution, but it was causing problems with \glsxtrfull and related macros throughout my project where I need to override first-use behaviors -- and there are a lot of ...
drmuelr's user avatar
  • 163
1 vote
Accepted

Compile glossary files individually for testing

You can use the standalone package. It strips all contents before \begin{document} in subfiles. acronyms.tex \documentclass{article} \usepackage[acronym]{glossaries} \usepackage{standalone} \...
jlab's user avatar
  • 3,759
1 vote

Create a new glossary

The most straightforward way to generate the glossaries is to use makeglossaries rather than makeindex (or xindy). makeglossaries <main document name> where <main document name> is the ...
cfr's user avatar
  • 206k
1 vote
Accepted

Change appearance of acronym according to grammatical form

A fast search in the docu for "link" lead to this \documentclass{article} \usepackage{hyperref} \usepackage[acronym,toc,nonumberlist,nopostdot,nogroupskip,section=subsection]{glossaries} \...
Ulrike Fischer's user avatar
1 vote

Typesetting \gls in subscripts and superscript in the right size

Personally I find both glossary entries and links in superscripts definitively odd and for a real solution I would look for options to disable \gls and the links there. Beside this: on the dvips route ...
Ulrike Fischer's user avatar
1 vote

Hyphen for compound acronyms

You can avoid special instructions in the acronym definition by using internally a command that replaces spaces. \documentclass{article} \usepackage[shortcuts=ac]{glossaries-extra} \ExplSyntaxOn \...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Hyphen for compound acronyms

If you use \ for spaces in the definition you can locally define that to be - if there is a following hyphen. I use \futurelet here not \@ifnextchar so that it does not skip over white space. \...
David Carlisle's user avatar
1 vote

Hyphen for compound acronyms

Following @david-carlisle's comment the following works for me: \makeatletter \NewCommandCopy\oldacl\acl \renewcommand{\acl}[1]{\@ifnextchar-{{\let\ -\oldacl{#1}}}{\oldacl{#1}}} \makeatother Don't ...
Korbinian Hutter's user avatar
1 vote
Accepted

Compound glossaries command with proper sub- and superscripts and custom arguments

First of all you need a routine for counting the amount of arguments specified by an xparse-argument-signature. In the example below, this is the routine \MYSTUFF_xparse_arg_signature_count:n. I wrote ...
Ulrich Diez's user avatar
  • 29.6k
1 vote
Accepted

Glossaries-extra error with utf-8 encoding glossary entry

You main problem is not biến, your main problem is, that you are using \longnewglossaryentry with only two instead of three argument. The command expects the description as third argument not only as ...
cabohah's user avatar
  • 13.7k
1 vote

Centering acronyms list

If your acronym list only spans a single page, you could wrap it into a minipage: \documentclass{article} \usepackage{graphicx} % Required for inserting images \usepackage[acronym, toc, nopostdot]{...
samcarter_is_at_topanswers.xyz's user avatar
1 vote
Accepted

Unicode-math removes kerning from glossaries symbols (or hyperref links) with luatex

Kerning is the wrong word. Kerning is something that happens in text mode, not in math. The space you are missing here is the kern from the italic correction after the I. If you compile this \...
Ulrike Fischer's user avatar
1 vote
Accepted

Trying to expand items within a newglossaryentry in a generic function without causing the Improper alphabetic constant

Thanks to David Carlisle for his explanation that helped me discover the issue with the function itself. Here is the definitive answer: the problem was really with that little chunk for glossary ...
Miraino Hikari's user avatar
1 vote
Accepted

Table of Symbols using glossaries package

If you want the optional argument to be the symbol, \newsymbol should use symbol={#1} instead of symbol={#2}: \documentclass{article} \usepackage[acronym]{glossaries} \usepackage{amsmath} % for math ...
cabohah's user avatar
  • 13.7k
1 vote
Accepted

Automatic display of long and short acronyms

Check out glossaries-extra. \usepackage[acronym,nomain]{glossaries-extra} \newacronym{CNN}{CNN}{Convolutional Neural Network} \makeglossaries Then you use \gls{CNN} in the text! You can use \...
bytesinflight's user avatar
1 vote
Accepted

\newglossarystyle grouping entries in glossary list incorrectly

Using \par rather than \\ seems to give the desired result, but the real problem appears to be that your \glossentry deviates too far from the \glossentry defined in the index style, which uses a list ...
Dai Bowen's user avatar
  • 6,222
1 vote

Latex Glossaries in separate files doesn't work

This is not an answer but it is too long for a comment It is hard to tell exactly what is going on with such a long code, possibly full of stuff not necessary to show your problem. Always try to post ...
Luis Turcio's user avatar
  • 2,759
1 vote

Template for EPUB using Tex4ebook

If I understand it correctly, the current issue is this: various indexes don't work index titles are not included in TOC. Ad 1) The imakeidx package is supported out of the box, your version of ...
michal.h21's user avatar
  • 51.2k
1 vote

Issue with glossaries-extra package usage in figure captions and titles

As you noticed placing hyperlinks in movable parts of your document (headings, "short" captions, etc.) is not a good idea, as they are re-used in the TOC, LOF etc. (which are lists of links) ...
schtandard's user avatar
  • 15.2k
1 vote
Accepted

Glossary styling. How to stop terms from overlapping the definitions?

TL;DR: \mbox{} allows a line break \\ to be inserted on the beginning of the description. This fixes eventual overlaps, but is not the most elegant solution if you want all of the definitions on a ...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote

overleaf not printing glossaries

As the previous poster suggested, this is due to the main file not sitting in the root folder. I added a .latexmkrc file in the root folder as a workaround for me. With this file, I can still keep my ...
pkastner's user avatar
1 vote

acronyms in math mode

According to this great glossaries package guide by Nicola Talbot \newacronym internally uses \newglossaryentry. That means that you are able to use the same options as for "normal" glossary ...
Mokka's user avatar
  • 11

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