LaTeX is empty after the number and before the text

How could I make a space after the number in my footnotes? In general, for ALL footnotes!

Example:

good : 1 Hello World

bad: 1 Hello World

+5
source share
5 answers

EDIT: Good, redesigned. An ugly hack, but hey, isn't LaTeX just a whole bunch of these?

Put the following in your preamble:

\let\myfootnote\footnote
\renewcommand{\footnote}[1]{\myfootnote{~#1}}

This will simply prefix the text of your footnote automatically without a break, so create a space after the note label at the bottom of the page. And it will not touch the footnote in the middle of the text, so it still works correctly just before punctuation.

+2

\thefootnote, , ; :

\documentclass{article}
\renewcommand{\thefootnote}{\arabic{footnote}~}
\begin{document}
hello\footnote{test\label{foo}} but don't forget about fn.\,\ref{foo}.
\end{document}

!

( ) \@makefntext,

\parindent 1em\noindent \hb@xt@ 1.8em{\hss \@makefnmark }#1

, :

\documentclass{article}
\makeatletter
\long\def\@makefntext#1{%
  \parindent 1em\noindent\hb@xt@ 1.8em{\hss\@makefnmark}~#1%
}
\makeatother
\begin{document}
hello\footnote{test\label{foo}} but don't forget about fn.\,\ref{foo}.
\end{document}

, , .

+3
\hspace 

.

\footnote{\ insert footnote here}
\footnote{~insert footnote here}

, , . " ~" , :

Mr.~Smith 

"." "\" , , .

+2

~

+1

, , . Will, , .

, , :

\makeatletter
 \renewcommand{\@makefntext}[1]{%
    \setlength{\parindent}{0pt}
    \begin{list}{}{%
        \setlength{\topsep}{0pt}
        \setlength{\partopsep}{0pt}
        \setlength{\labelwidth}{1em} % Space from number to border
        \setlength{\labelsep}{0.3em} % Space from number to text
        \setlength{\leftmargin}{\labelwidth}
        \addtolength{\leftmargin}{\labelsep}
        \footnotesize}\item[{\makebox[\labelwidth][r]{\@makefnmark}}]#1%
    \end{list}
 }
\makeatother

, , , :).

0

All Articles