Ask Your Question

Auto-transforming em dash in dialogue? [closed]

asked 2017-01-19 14:19:05 +0100

berrypippin gravatar image

updated 2020-07-20 12:50:30 +0100

Alex Kemp gravatar image

Is there a way to turn on auto-transform for em dashes when an action interrupts a line of dialogue? The correct format is this:

"Words words"--someone does a thing--"more words."

LibreOffice doesn't auto-format the hyphens into em dashes like it should. It does so when there's no quotation marks:

words words--some more words.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-07-20 12:51:30.984747

2 Answers

Sort by » oldest newest most voted

answered 2017-01-21 23:04:22 +0100

RGB-es gravatar image

On LibO there is a special kind of autocorrect that does not need space surrounding it: the ones that uses colons. If you type


as soon as the second colon is introduced the three dashes will be replaced by an em-dash (the sequence :-: inserts a "minus" sign while :--: inserts an en-dash)

Note: if you prefer a shorter shortcut you can define a new one on autocorrect options, something like :_: will work fine.

edit flag offensive delete link more

answered 2017-01-21 01:44:45 +0100

JohnHa gravatar image

updated 2017-01-21 01:48:03 +0100

AutoCorrect needs a following space. Also see Help on Replace dash "Text will be replaced after you type a trailing white space (space, tab, or return). In the following table, the A and B represent text consisting of letters A to Z or digits 0 to 9."

Try AutoHotKey

Record a Find and Replace macro which searches for them and changes them as required.

edit flag offensive delete link more

Question Tools



Asked: 2017-01-19 14:19:05 +0100

Seen: 386 times

Last updated: Jan 21 '17