Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
Try scrlettr2 class instead of letter –  SoundsOfSilence 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 –  SoundsOfSilence Apr 30 '14 at 4:10
    
Do you include some other package not listed above? –  SoundsOfSilence Apr 30 '14 at 4:36
    
That works. I was having trouble because scrlttr2 (Koma in general?) requires "\usepackage[english]{babel}". –  Calaf Apr 30 '14 at 4:52

1 Answer 1

up vote 6 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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