Linked Questions

58
votes
2answers
40k views

What's the advantage of using csquotes over using an editor's auto-replacement for "?

Many editors (TeXnicCenter, Texmaker, TeXworks, ...) offer auto-replacement of " by the desired form of quotation marks, be it `` and '' for English, "` and "' for German, or whatnot. Usually, I know ...
40
votes
4answers
33k views

Straight quotes?

How do I get a straight quote instead of curly quotes? I’m not inside verb or listing or any other special environments, and I’m not using XeLaTeX or anything—just normal LaTeX. I don’t want to change ...
12
votes
2answers
1k views

Proper use of Backticks and Butterick's Practical Typography

In his book, Practical Typography, Butterick makes the following remark. Com­put­er sci­en­tists and doc­u­men­ta­tion writ­ers, take note: straight quotes and back­ticks in soft­ware code should ...
9
votes
5answers
4k views

How can I input normal quotes in LyX?

For example, if I type "this" into LyX file, the output PDF will show “this”, the quotes change to a set of curly quotes. But I want it looks like "this". Especially in LyX, there are six quotes ...
9
votes
1answer
2k views

Double quotes with monospaced font and LuaLaTeX

I am trying to set the following minimal document: \documentclass[a4paper,11pt]{article} \usepackage{fontspec} \setmonofont{Inconsolata} \begin{document} \begin{verbatim} <!DOCTYPE HTML PUBLIC "-//...
3
votes
1answer
664 views

XeLaTeX + sourcecodepro + listings = Curly quotes, always

I am writing a simple code documentation on Overleaf, but whenever I set my \ttfamily as sourcecodepro, quotes inside lstlisting are forcefully converted to curly quotes, regardless of whatever I try ...
3
votes
1answer
515 views

Disable smart (contextual) quotes for entire document?

Is it possible to disable smart (contextual) quotes for an entire document? If yes, how? In particular, can the single quote ', double quote ", and backtick ` be left as-is by some option or method ...
2
votes
1answer
778 views

Single quotes in double quotes

I want to write "''" (to denote the empty string). However in LaTeX, when I try to enter "''", TexnicCenter replaces it with ``'''' , which displays as “”” (first pointing left, second two pointing ...
4
votes
1answer
92 views

Straight quote literals when using LuaTeX and fontspec

This is a similar question to How to get straight quotation marks?, but in my case, I want literal ' and " marks to stay that way, as I use Unicode curly quotes when I want curly quotes. Is there ...
2
votes
1answer
143 views

Straight quote in the whole document?

I would like to obtain a straight quote, ', when I type ' in my LaTeX input, and a straight double quote, ", when I type " in my LaTeX input. This, everywhere, in every case: normal text, section ...