I reasearched a lot of advice on the undefull box problem. But nothing I tried solved the problem. I wrote a .sty file for a certain formatting and get this warning for every occurrence of this markup:
\newcommand{\recordsAffected}[2]{%
\noindent This problem affects #1 record\s{#1}:
\vspace{3pt}
\setlength\parindent{0pt}{\tiny #2}
}
The code inside the .tex file looks like this, no linebreak anywhere, but it can contain many hundreds of numbers:
\recordsAffected{39}{123, 456, 789, 123, 456, 789, 123, 456, 789, 123, 456, 789, 123, 456}%
What am I doing wrong?
Minimal example:
\documentclass[a4paper]{scrartcl}
\sloppy %improves justification, problem occured also without
\usepackage{my_possibly_dumb_package}
\begin{document}
\recordsAffected{39}{a43278/008, a43942/008, a45969/008, a46754/008, a49221/008, a49581/008, a49622/008, a52060/008, a52125/008, a52127/008, a52435/008, a55814/008, a56445/008, a57540/008, a57622/008, a57624/008, a57808/008, a60025/008, a61589/008, a61966/008, a69208/008, ocm02999106/008, ocm30263703/008, a40465/008, a40629/008, ocm02573713/008, ocm27892685/008, ocm04943922/008, ocm09696410/008, ocm08401480/008, ocm19374238/008, ocm04445359/008, ocm10964101/008, ocm12302731/008, ocm06112303/008, ocm08717325/008, ocm23645394/008, ocm23400177/008, a69971/008}%
\end{document}
Warning:
Underfull \hbox (badness 4647) in paragraph at lines 7--8
[]\T1/ptm/m/n/6 a43278/008, a43942/008, a45969/008, a46754/008, a49221/008, a49
581/008, a49622/008, a52060/008, a52125/008, a52127/008, a52435/008, a55814/008
,
[]
\raggedright
output rather than justified? Here's a suggested output.