3

I have noticed that, for the same text, I get slightly different line breaks depending on whether I use pdflatex or a latex-dvips-ps2pdf sequence. This is what I get with pdflatex

enter image description here

And this is what I get with latex-dvips-ps2pdf

enter image description here

This is not a problem that requires a solution. I'm just trying to understand how pdflatex and latex-dvips-ps2pdf differ, such that each handles line breaks differently.

  • 2
    I have never seen that happen. Are you using microtype that has some features that are still (I think) only implemented for pdf output – David Carlisle Jan 6 '15 at 9:55
  • Yes, you are right, it's because of microtype. Once I comment it out, I get the second output with pdflatex as well. – Koldito Jan 6 '15 at 10:24
  • This is one more example of how useful it is to provide a minimal working example. – AlexG Jan 6 '15 at 11:11
3

The default linebreaking code is the same in pdflatex and latex, so normally you get identical breaks if using the same fonts, however the microtype package has some options that only work for pdf output so you can get different behaviour depending on the options used (which you don't show).

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.