7

Eliminating vertical space around a quote, as described here, succeeds when the documentclass is article

\documentclass[11pt]{article}
\usepackage{quoting}
\quotingsetup{vskip=0pt}

\begin{document}
\noindent We'd like to have 
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{document}

nospace

but not when it is letter.

\documentclass[11pt]{letter}
\usepackage{quoting}
\quotingsetup{vskip=0pt}

\begin{document}
\begin{letter}{Jack}
\noindent We'd like to have 
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{letter}
\end{document}

space

How to eliminate the vertical space surrounding quotes for documentclass letter?

7
  • Try scrlettr2 class instead of letter
    – user31729
    Apr 29, 2014 at 19:47
  • @ChristianHupfer Replacing letter with scrlttr2 gives ! Undefined control sequence. \bbl@switch ...bel@beginsave }\languageshorthands{none}\ifcase \bbl@select@...
    – Calaf
    Apr 29, 2014 at 23:58
  • First, sorry about that typo, I meant scrlttr2 of course. Please remove your .aux file before compiling with the other class. You have obviously
    – user31729
    Apr 30, 2014 at 4:10
  • Do you include some other package not listed above?
    – user31729
    Apr 30, 2014 at 4:36
  • That works. I was having trouble because scrlttr2 (Koma in general?) requires "\usepackage[english]{babel}".
    – Calaf
    Apr 30, 2014 at 4:52

1 Answer 1

6

The letter class uses a non zero \parskip. So you get what you want by removing that added space:

\documentclass[11pt]{letter}
\usepackage{quoting}
\quotingsetup{vskip=-\parskip}

\begin{document}
\begin{letter}{Jack}
\noindent We'd like to have
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{letter}
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .