1

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins?

enter image description here

the source is

proliferation---nextword

Has it something to do with the hyphenation of the word proliferation?

I am using the package microtype if it matters and I tried what suggested in this answer (although the problem is slightly different).

Francesco
  • 4,624
  • 4
  • 35
  • 66
  • 1
    I belive that this is a "feature" of the microtype package. – Peter Grill Mar 05 '14 at 04:54
  • 1
  • @cmhughes Mmm, maybe But then according to the answer I need to define a new command \Dash while I am not using any command but ---. Any way around? – Francesco Mar 05 '14 at 05:21
  • 3
    Without seeing the complete paragraph it's next to impossible to diagnose, let alone remedy, the situation. The result you currently have, as unattractive as it is, is probably the least-bad solution for the paragraph. Do you have some very long and/or unbreakable words elsewhere in the paragraph? Please consider posting an MWE rather than a screenshot. – Mico Mar 05 '14 at 06:10
  • Would you rather have the words spread apart or scrunched together? In either case, you can always adjust the glue. – John Kormylo Mar 05 '14 at 15:55
  • I would prefer to have the em dash going to a new line... – Francesco Mar 05 '14 at 21:36
  • 1
    @Francesco -- looking at the bit out output you show, even if the em dash goes to a new line, the line ending with "proliferation" will be overfull, so it would probably be better to allow hyphenation within that word. the question cited by cmhughes gives the appropriate method for that. and no, there really isn't any other practical way than defining a new command. – barbara beeton Mar 05 '14 at 21:40

0 Answers0