Latest news 2020-05-02: new blog post "Book Samples."

glossaries package FAQ

FAQ Search Tips

When I use the hyperlink to take me to an entry in the glossary, the relevant line is just above the top edge of the viewer. 🔗

As from glossaries v1.16, this shouldn't occur. For earlier versions use:

\newlength\mylen
\makeatletter
\renewcommand{\@glstarget}[2]{%
\settoheight{\mylen}{#2}\raisebox{\mylen}{\hypertarget{#1}{}}#2}
\makeatother
(\@glstarget is an internal command, so it should go between \makeatletter and \makeatother in the .tex file. If you put the above code into a style file, remember to remove the \makeatletter and \makeatother commands.) Note that this fix is only required for the glossary styles that use lists.

Last modified: 2013-12-08 16:39:19.


Category: glossaries package
Topic: Unexpected Output in the Glossaries