I'm having a problem with my footnotes. The problem is that the distance between the footnote index in the main text and the following text is huge. There are several threads on this and similar topics, but none of the solutions help me. The reason is presumably that I have added something to the preamble (based on an earlier problem I had) to get arabic numerals for examples in the footnotes. In the following preamble, if I remove everything from \makeatletter downwards, the problem disappears, but I no longer get arabic numerals in my examples in the footnote. So, I want to keep the arabic numerals in the footnotes, and reduce the spacing between the footnote index in the main text and the following text to what is normal. Any ideas?
Here is a MWE:
\documentclass[12]{article}
\usepackage[english]{babel}
\usepackage[backend=biber, style=authoryear-comp]{biblatex}
\usepackage{gb4e}
\noautomath
\let\eachwordone\itshape
\makeatletter
\pretocmd{\@footnotetext}{
\@noftnotefalse\setcounter{fnx}{0}%
\renewcommand{\thexnumi}{\roman{xnumi}}
}{}{}
\apptocmd{\@footnotetext}{
\@noftnotetrue
\renewcommand{\thexnumi}{\arabic{xnumi}}
}{}{}
\@ifpackageloaded{bidi}{%
\pretocmd{\@LTRfootnotetext}{
\@noftnotefalse\setcounter{fnx}{0}%
\renewcommand{\thexnumi}{\roman{xnumi}}
}{}{}
\apptocmd{\@LTRfootnotetext}{
\@noftnotetrue
\renewcommand{\thexnumi}{\arabic{xnumi}}
}{}{}
}
\makeatother
\begin{document}
Some text.\footnote{Some text. \begin{exe} \ex Arabic numerals. \end{exe}} WHY IS THIS TEXT SO FAR REMOVED?
\end{document}
%at the end of lines in your\makeatletter...\makeatotherblock. In particular you need a%after each\renewcommand{\thexnumi}{\roman{xnumi}}and after eachpretocmd{\@footnotetext}{/apptocmd{\@footnotetext}{. – moewe May 16 '18 at 15:01%.) – moewe May 16 '18 at 16:54