I want to put an equation number to the right of a quote (the environment) as if it was an equation. I have looked at Equations with only text in them, How can I make LaTeX number my quotes and How do I label text with equation number. So far I have this MWE but it is not exactly what i'm looking for:
\documentclass{article}
\usepackage{blindtext}
\newcommand\IdeaOne[1]{%
\begin{equation}\parbox{.85\textwidth}{#1}\end{equation}}
\makeatletter
\newenvironment{IdeaTwo}{%
\list{}{\rightmargin\leftmargin}%
\let\orig@item\item
\def\item{
\orig@item[]\refstepcounter{equation}
\def\item{\hfill(\theequation)\orig@item[]\refstepcounter{equation}}}}
{\hfill(\theequation)\endlist}
\makeatother
\begin{document}
\section{Normal text, quote and equation}
\blindtext\begin{quote}\blindtext\end{quote}\begin{equation}E=mc^2\end{equation}
\section{IdeaOne}
\IdeaOne{\blindtext}
\section{IdeaTwo}
\begin{IdeaTwo}
\blindtext
\end{IdeaTwo}
\end{document}
The IdeaOne is pretty close but not exactly and I have to specify the size of the parbox manually. IdeaTwo gets the margins right but does not put the equation number like I want it. Does anyone know how to fix either of the two ideas?
I want to do this for a philosoohy text where some text is important and will be refered to like an equation in math text but the text is longer than one line (else I could use \begin{equation}\text{...}\end{equation}
. Maybe somebody has some idea for a different approach.