TransWikia.com

How can you specify an order for quote marks in LaTeX?

TeX - LaTeX Asked by Matthew Taylor on June 8, 2021

I have a segment where the original text uses two different quote marks next to each other like "''" to show speech within a quote. I need to recreate this in LaTeX.

subsection{35}
This from Plato: `` `To the man who has true grandeur of mind, and who contemplates all time and all being, can human life appear a great matter?' `Impossible,' says the other. `Can then such a one count death a thing of dread?' `No, indeed.' ''

That is approximately what I’m trying to do. The problem is the spaces between the quotes at the start and end are not supposed to be there but without them the quote marks are in the wrong order. It is supposed to be "''" but without spaces it is "'"'. How can I make LaTeX understand which pair of characters forms a double quote and which one is the single when there are 3 quote characters in a row?

2 Answers

Use , between the single and double quotes.

subsection{35}
This from Plato: ``,`To the man who has true grandeur of mind, and who contemplates all time and all being, can human life appear a great matter?' `Impossible,' says the other. `Can then such a one count death a thing of dread?' `No, indeed.','’

Correct answer by Don Hosek on June 8, 2021

The most reliable way to deal with complex quoting is to use proper markup and the csquotes package:

documentclass{article}
usepackage{csquotes}
usepackage[american]{babel}
begin{document}

This from Plato: enquote{enquote{To the man who has true grandeur
of mind, and who contemplates all time and all being, can human life
appear a great matter?} enquote{Impossible,} says the other.
enquote{Can then such a one count death a thing of
dread?} enquote{No, indeed.}}

end{document}

output of code

Answered by Alan Munn on June 8, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP