LyXKeeping the prime/inch symbols? (smart quotes problem)

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
MarcAurel
Posts: 20
Joined: Tue Jul 07, 2009 1:33 pm

Keeping the prime/inch symbols? (smart quotes problem)

Post by MarcAurel »

I am using LyX and XeTeX. I do like the fact that quotes get automatically converted to smart quotes. There is only one problem:

Sometimes the conversion takes place when it shouldn't such as in height measurements like: 6'2''. How do I get LyX/XeTeX to keep the prime and inch mark (which is just a double prime if I am not mistaken)?

I seem to be unable to figure it out.

One idea I had was inserting the unicode via ERT, but I can't quite figure out how.

(BTW, the hex-unicode for the prime is "0x2032".)

I appreciate your help.

Thank you very much!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Keeping the prime/inch symbols? (smart quotes problem)

Post by Stefan Kottwitz »

Hi,

with LyX you could go to the main menu and select Insert/ Special Character and choose ordinary or single quote there.

Stefan
LaTeX.org admin
MarcAurel
Posts: 20
Joined: Tue Jul 07, 2009 1:33 pm

Keeping the prime/inch symbols? (smart quotes problem)

Post by MarcAurel »

Stefan_K wrote:Hi,

with LyX you could go to the main menu and select Insert/ Special Character and choose ordinary or single quote there.

Stefan
Hi,

thanks for your reply. I have just tried it but XeTeX converts those characters to smart quotes in the PDF output. Is there another way around?
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Keeping the prime/inch symbols? (smart quotes problem)

Post by frabjous »

I know nothing about LyX, but with normal LaTeX, you have a few options:
  • Math mode: e.g., $10''$ or $a^\prime$.
  • Commands like \textquotedbl (with T1 encoding) or \textquotesingle (from the textcomp package).
There are probably other options, too.
Post Reply