I have to edit a text (actually a diary) where the line quite often ends with: .– (point and dash) eg.

"Last night I took the subway.–"

LaTeX does not break the word "subway" if it's at the end of the line.

From this how to get latex to hyphenate a word that contains a dash? i understand that the package hyphenat might be of some help, but I don't understand the manual.

Is there a way to tell LaTeX to regard ".–" just as it would do with ", !, ?, ., ;" etc.?


You could use a command called (say) \dotdash defined by

  • It works, thank you! I have to write {\dotdash} though so that the following space does not get erased, but that's usual TeX-behaviour. – Martin Mueller Jan 14 '16 at 14:59
  • @MartinMueller If (as seems likely) you always have white space after, you could add a space after the -- in the definition. – David Carlisle Jan 14 '16 at 15:00
  • I know, i was contemplating that and probably it makes more sense than what I added. – Martin Mueller Jan 14 '16 at 15:02

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.