0

I would like to properly typeset (with csquotes, if possible) the nonclosed red quotations produced by the following code:

\documentclass{book}
\usepackage{csquotes}
\usepackage{xcolor}

\begin{document}
\parskip 10pt
\Large
\thispagestyle{empty}

\textbf{\color{red}{`` \hskip -3pt ` \hskip -3pt ``My friend,'' he asked, ``how may I properly typeset (i.e., without the negative hskips) the two sets of quotations in red?''}}

\vskip 5pt

\textbf{\color{red}{`` \hskip -3pt ` \hskip -3pt ``This is the second of the two sets.''}}

\vskip 5pt

\textbf{\enquote{\enquote{This nested and closed set of quotations is however, properly typeset, I think.}}}
\end{document}

enter image description here

I have not been able to properly typeset the red sets of quotations with csquotes as they are not closed---so I forced it with some \hskips to give an idea of how I would like the output to look like. The last set of quotations (in black), I believe, are properly typeset.

If someone would show me how the quotations in red may be properly typeset without forcing, I would appreciate it.

4
  • I'm not sure I understand the intended meaning of the first and second paragraph. It is a quote that starts with direct speech in quotes, but why is there a single quote in between? Is it doubly nested and both levels are unclosed? My confusion might also indicate that this is not the most clear and understandable way of using quotes, and maybe the max 2 level \enquote{\enquote{}} version is preferred.
    – Marijn
    Jan 31 at 14:55
  • @Marijn I am trying to type something directly from a book; the quotes in the MWE reflect part of a flowing set of quotations in that book that I am trying to reproduce. Jan 31 at 15:21
  • I see, that makes the requirement more clear. However I still think that more than one nesting level is too much and makes the quote difficult to parse, especially when the quote characters are directly adjacent. Maybe you can make it easier for your readers by choosing a different markup, like indentation instead of quote characters for the first quotation level (this is what \begin{quote}\end{quote} does by default), or even skipping the secondary source and quoting the original directly?
    – Marijn
    Jan 31 at 15:36
  • @Marijn Thank you for your comment, but it is important in this case that I mimic as much as possible the exact flow of the book. Jan 31 at 15:45

1 Answer 1

1

UPDATE Adding some inner space.

Define a new style like

%% *********************************************** added
%%  Some horizontal spacing
\newcommand{\innerspace}{\hskip0.3em}  % set inner spaces in em units

\DeclareQuoteStyle[noclosed]{dblquote}
{{\textquotedblleft\innerspace\textquoteleft\innerspace}}  %opening outer mark
{} %closing outer mark
[0.05em]
{\textquotedblleft}     %opening inner mark
{\textquotedblright}    %closing inner mark

%% ***********************************************

Use the command \innerspace to set the inner space between the quotes: \hskip<len>. (Use em units!)

x

zxx

% !TeX TS-program = pdflatex

\documentclass{book}
\usepackage{csquotes}
\usepackage{xcolor}
\usepackage[T1]{fontenc} % only if using  pdflatex

%% *********************************************** added
%%  Some horizontal spacing
\newcommand{\innerspace}{\hskip0.3em}  % set inner spaces in em units   

\DeclareQuoteStyle[noclosed]{dblquote}
{{\textquotedblleft\innerspace\textquoteleft\innerspace}}  %opening outer mark
{} %closing outer mark
[0.05em]
{\textquotedblleft}     %opening inner mark
{\textquotedblright}    %closing inner mark

%% ***********************************************

\begin{document}
\parskip 10pt
\Large
\thispagestyle{empty}

\textbf{\enquote{\enquote{This nested and closed set of quotations is however, properly typeset, I think.}}}


{{`` \hskip -3pt ` \hskip -3pt ``My friend,'' he asked, ``how may I properly typeset (i.e., without the negative hskips) the two sets of quotations in red?''}}

\vskip 5pt

{{`` \hskip -3pt ` \hskip -3pt ``This is the second of the two sets.''}}

{\bfseries\large With the new quote style}

\setquotestyle[noclosed]{dblquote} % use the new style <<<<
\enquote{%
    \enquote{My friend,} he asked, \enquote{how may I properly typeset (i.e., without the negative hskips) the two sets of quotations in red?}
}   

\enquote{%
\enquote{This is the second of the two sets.}
}   
    
\end{document}
18
  • This is not what I asked for, I'm sorry. I am trying to typeset (as exactly as possible) the quotations as they already are shown in red. I am trying to find out if this is possible with csquotes, and if so, how to do it---not, unfortunately, to rewrite them. Jan 31 at 18:24
  • @Samuel Bowditch Please see the updates answer. I am reproducing the red quotes (now in black). Jan 31 at 18:40
  • Almost there; thank you. However, in the opening set of five quotations, there should be a space between quote marks 2 and 3 and a similar space between quote marks 3 and 4. In the document I am typesetting, these spaces are of equal measure, although in my makeshift MWE attempt with the hskips, they appear not exactly so. Would you be able to add these two equally measured spaces between quote marks 2 and 3 and quote marks 3 and 4 in your answer? Many thanks. Jan 31 at 19:18
  • @Samuel Bowditch Any specific width? Jan 31 at 19:22
  • Not exactly sure, but if you specify some reasonable length to display the answer with---as long as I can see how you did it so that I could make an adjustment if I had to, that would be most helpful. Thank you kindly. Jan 31 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.