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?

Calaf
  • 1,471
  • Try scrlettr2 class instead of letter –  Apr 29 '14 at 19:47
  • @ChristianHupfer Replacing letter with scrlttr2 gives ! Undefined control sequence. \bbl@switch ...bel@beginsave }\languageshorthands{none}\ifcase \bbl@select@... – Calaf Apr 29 '14 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 –  Apr 30 '14 at 04:10
  • Do you include some other package not listed above? –  Apr 30 '14 at 04:36
  • That works. I was having trouble because scrlttr2 (Koma in general?) requires "\usepackage[english]{babel}". – Calaf Apr 30 '14 at 04:52
  • KOMA scrlttr2 is basically designed for usage with English and most European languages, such as French, Spanish, Italian, German, Croatian, Norwegian etc. Try \usepackage[your_language]{babel}. The style of letters is different in each country, the maintainers of KOMA cannot provide any specific letter style, that would mean to much effort. –  Apr 30 '14 at 05:00
  • too much effort, of course... sorry about that typo. –  Apr 30 '14 at 05:08

1 Answers1

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

egreg
  • 1,121,712