## LaTeX forum ⇒ LyX ⇒ No indentation after quote

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
johnny7
Posts: 20
Joined: Fri Oct 24, 2014 12:25 pm

### No indentation after quote

Hello,

I want to redefine the short quote environment so that there appears no indentation in the standard text after the quote. (I also don't want the first quoted paragraph to be indented, as in the long quote environment.)
In my preamble I have already the following, to get single spaced quotes and to have proper gaps (I got this from a thread somewhere):
\let\oldquote\quote\let\oldendquote\endquote\renewenvironment{quote}{\vspace{\dimexpr-12pt-\topsep+\baselineskip\relax}\begin{spacing}{1.2}\oldquote}{\oldendquote\end{spacing}\vspace{\dimexpr-12pt-\topsep+\baselineskip\relax}}

Can someone adjust the code in order to remove the indentation after the quote? Thank you!

Stefan Kottwitz
Posts: 9440
Joined: Mon Mar 10, 2008 9:44 pm
Just don't make a paragraph break after the quote. Continue normal text. The paragraph break (or empty line) causes the indentation as with any new paragraph.

Alternatively, you could use the quoting package that provides configuration options, but perhaps it's not directly supported by LyX.

Stefan

johnny7
Posts: 20
Joined: Fri Oct 24, 2014 12:25 pm
Unfortunately, that's not possible with LyX, it always adds a blank line after quoting.

Ijon Tichy
Posts: 92
Joined: Mon Dec 24, 2018 10:12 am
johnny7 wrote:Unfortunately, that's not possible with LyX, it always adds a blank line after quoting.

If this is really the case, you should report this bug. However you still can use ERT to add \begin{quote} and \end{quote} inside a paragraph (without an empty line before and after).