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!
LyX ⇒ Keeping the prime/inch symbols? (smart quotes problem)
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
Keeping the prime/inch symbols? (smart quotes problem)
Hi,
with LyX you could go to the main menu and select Insert/ Special Character and choose ordinary or single quote there.
Stefan
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
Keeping the prime/inch symbols? (smart quotes problem)
Hi,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
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?
Keeping the prime/inch symbols? (smart quotes problem)
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).