LaTeX forum ⇒ XeTeXLine breaks after dashes

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Posts: 9
Joined: Thu Aug 20, 2009 9:43 pm

Line breaks after dashes

Postby jpeyton » Wed Sep 02, 2009 6:04 pm

I use XeLaTeX, and so I type in my quotes and dashes directly (i.e. I type “ and ”, not `` and '', and I type —, not ---). As I understand it, Unicode input is the proper way to do things, and it makes the source code cleaner.

However, my dashes will not break at the end of a line, meaning I need to use [draft] and manually add the line breaks.

Instead I’d like a line break to be possible either before or after the dash. However, sometimes dashes end a sentence, for example in dialogue:
  1. “Really? I don’t—”

In this case I would not want a line break either before or after the dash.

Any ideas?

Return to “XeTeX”

Who is online

Users browsing this forum: No registered users and 1 guest