I'm writing my thesis for my Computer Science degree. I have a lot of footnotes and my advisor has told me to remove the spacing generated by the superscript of the footnote.
This footnotes are generated using the glossaries package using the option:
\usepackage[nonumberlist,toc,style=long3col,footnote,acronym]{glossaries}
this makes that the first time a glossary entry is mentioned it's added as a footnote.
This is how it looks:
Acimut1 : Explanation
And this is how I want it to look:
Acimut1: Explanation
without the space after the superscripted 1, is there a way to achieve this.
Minimal working example:
\documentclass[11pt,letterpaper]{book}
\usepackage[spanish,mexico]{babel}
\usepackage[utf8]{inputenc}
\usepackage[nonumberlist,toc,style=long3col,footnote,acronym]{glossaries}
\makeglossaries
\makeatletter
\renewcommand{\gls@main@displayfirst}[4]{
#1#4\protect\footnote{#2}
}
\makeatother
\newglossaryentry{acimut}{
name=acimut,
description={En náutica, el acimut es el ángulo o longitud de arco entre el punto cardinal norte en sentido horario de $0^\circ$ a $360^\circ$ y otro punto.}
}
\begin{document}
\Gls{acimut}, en la figura podemos ver un ejemplo.
\printglossary[type=main,toctitle={Glosario}]
\end{document}
produces:
Acimut1 , en la figura 2.2 podemos ver un ejemplo.
and shoud produce:
Acimut1, en la figura 2.2 podemos ver un ejemplo.
Answer:
I figured it out, it was just a small mistake in my command to show the first appearance of a glossary entry in a footnote, it should be:
\renewcommand{\gls@main@displayfirst}[4]{
#1#4\protect\footnote{#2}}
\makeatother
without that extra line before the }
Thanks