# Underfull \hbox (badness 10000) warning in footnote

With this code:

Our baseline\footnote{The config can be found in the
published repository under the name
.}


I get the warning Underfull \hbox (badness 10000). I found many similar questions here with the same error message, which mostly suggest to add \hfill or something like that. But nothing like that worked for me to get rid of the warning.

What exactly is the problem? And how to I get rid of the warning?

You should use the url package for such objects, it knows how to break at a number of different characters already and you won't have to escape the underscores:

\documentclass{article}

\usepackage{url}

\begin{document}

Our baseline\footnote{The config can be found in the
published repository under the name

\end{document}


Note \begin{tiny}...\end{tiny} is not defined by LaTeX, it is accident of LaTeX syntax that it works, the correct construct is {\tiny ....}. On the other hand if you wish to style the output of \url then you should redefine \UrlFont

\renewcommand{\UrlFont}{\tiny\tt}


The above example then produces

which is too small to read comfortably.

Given the comment by leandriis, by inserting \allowbreak{} in some places inside my \texttt, I solved this.