# Problem with quote redefinition and packages? [closed]

I got a problem (probably simple), but I dont really see how to explain it with a MWE.

So I'm trying to modify my quote environment. I entered the following line in my preamble :

\renewenvironment{quote}{\begin{singlespace} {\rightmargin\leftmargin}}{\end{singlespace}}


In a MWE, its working (I can give it, but this should not be necessary, I only need the setspace package).

However, in my main document, something just cancel this effect. I think that's probably another package i'm using. So here's the list of packages : can anyone tell me if one of them if known for interferating with quote ?

Thank you, Thomas :

documentclass[a4paper,12pt,oneside]{book} % On utilise la classe Book

\usepackage{appendix}
\usepackage{bredele} % Appel de bredele.sty
\usepackage[round]{natbib}
\usepackage{amsmath}
\usepackage{setspace} % pour virer les espaces dans les environnements equation et alig\usepackage{etoolbox} % it\usepackage{array}
\usepackage[T1]{fontenc} % un peu superflu, pour tenter d'améliorer l'hyphenation
\usepackage{lmodern} % un peu superflu, pour tenter d'améliorer l'hyphenation
\usepackage{splitidx} % REMPLACE \usepackage{multind}

\usepackage{french}[babel]
\usepackage{array}
\usepackage{lscape}
\usepackage{chngcntr}
\usepackage[compact]{titlesec}
\usepackage{tikz} % pour des diagrammes simples
\usepackage[strict]{changepage}
\usepackage{enumitem}
\setlist{nolistsep}

-
 bredele.sty isn't available at CTAN. If I omit this package (and correctly load babel), everything works fine for me using your preamble. Have you tried to redefine quote immediately before \begin{document}? – lockstep Feb 20 at 12:53 Actually that's how it was in the first place, but I then changed it to be in the preamble. I'm also including the chapters in my main file. Do you think a redefinition at the beginning of each chapter would work ? – Thoms Morel Feb 20 at 12:55 Immediately before \begin{document} is part of the preamble. Please provide an example that shows the problem. – lockstep Feb 20 at 12:56 Sorry I misread ! Yeah, it was right before the \begin{document} ! – Thoms Morel Feb 20 at 13:00

## closed as too localized by lockstep, zeroth, Andrew Swann, Claudio Fiandrino, diabonasFeb 20 at 14:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

\renewenvironment{quote}{\begin{singlespace} {\rightmargin\leftmargin}}\end{singlespace}}

Good to hear that it's working for you -- I don't have a clue why \include would change an evironment's definition, though. – lockstep Feb 20 at 13:03