I have just seen what can be put in place of the intended transfer to the next line {p}. But I would have implemented automatic hyphenation somehow (I even tried to modify the code so that spaces were considered separate ordinary characters so that text could be transferred using them, but apparently I was doing something wrong)