1

I use this solution to get captions for my figures at the side, which works really fine. But sometimes, if the word behind "Figure xyz:" is too long for the line, I get something like this: Too much space between Bild and 4

How can I control the space between "Bild" and "4:"? Can I somehow switch from justified to left-justified for this line if theres only this in it? Or can I insert a protected space there somehow?

  • 1
    Have you tried adding possible breakpoints? It is very likely that LaTeX simply doesn't know how to hyphenate the word. – Johannes_B Jun 26 '15 at 13:46
  • This is my current workaround, but I hoped there would be a solution where I don't have to work on every caption manually. – user3696412 Jun 27 '15 at 5:45
  • If LaTeX can't hyphenate the word in the caption, it can't hyphenate it anywhere alese; meaning a global \hyphenation{Pro-fil-quer-schnitt} is best. On the other hand, trying to justify narrow columns is pretty pointless, because of those ugly spaces that will occur. Best to typeset the column \raggedright or \Raggedright from package ragged2e. – Johannes_B Jun 27 '15 at 10:37
3

If LaTeX can't hyphenate the word in the caption, it can't hyphenate it anywhere else; meaning a global \hyphenation{Pro-fil-quer-schnitt} is best.
On the other hand, trying to justify narrow columns is pretty pointless, because of those ugly spaces that will occur. Best to typeset the columns \raggedright or \Raggedright from package ragged2e (allows hyphenation as well).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.