I would like to tag a citation with equations; more precisely I would like tag citations using the following code and I would like tag them as I tag proposition, theorem etc... I tried to use the command \begin{quote}\end{quote} and I tried also to implement into my code what done in this but unfortunately it does not work: so could someone help me, please?
\documentclass[10pt]{article}
\usepackage[paperheight=29.7cm,paperwidth=21cm,textwidth=17cm,textheight=25 cm]{geometry}
\usepackage{layout}
\usepackage{titlesec}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{hyperref}
\usepackage{caption}
\usepackage{soulutf8}
\usepackage[T1]{fontenc}
\usepackage{fontsize}
\linespread{1.5}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{yfonts}
\usepackage{enumitem}
\usepackage{stix2}
\usepackage{amsmath}
\usepackage{amsthm}
\setcounter{footnote}{-1}
\setcounter{equation}{-1}
\newtheorem{lemma}[equation]{Lemma}
\newtheorem{proposition}[equation]{Proposizione}
\newtheorem{corollary}[equation]{Corollario}
\newtheorem{theorem}[equation]{Teorema}
\hypersetup{colorlinks,citecolor=black,filecolor=black,linkcolor=black,urlcolor=black} %Personalizzazione aspetto collegamenti ipertestuali
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%I get the following code from here to manipulate the fontsize of an equation.
\ExplSyntaxOn
\NewDocumentEnvironment{sequation}{O{\small}b}
{
\yufip_sequation:nnn {equation}{#1}{#2}
}{}
\NewDocumentEnvironment{sequation}{O{\small}b}
{
\yufip_sequation:nnn {equation}{#1}{#2}
}{}
\cs_new_protected:Nn \yufip_sequation:nnn
{
\begin{#1}
\mbox{#2$\displaystyle#3$}
\end{#1}
}
\ExplSyntaxOff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% Here I wrote my document using some mathematical symbols as \cup, \cap, \bigcup, \bigcap, \setminus, \bot, \top, \rightthreetimes, \leftthreetimes, \odot, \oplus etc... and any any mathematical fonts as \mathcal, \mathfrak and \mathscr
\end{document}
To follow an example of what I would be make: I did it using word!





\newtheorem{numquote}[equation]{}work for you? If not, why not? – Willie Wong Jun 15 '23 at 16:26\begin{equation} \text{this is a quote}\end{equation}does what you ask – David Carlisle Jun 15 '23 at 19:27\usepackage{soulutf8},\usepackage{yfonts}, ... (do not load amsfonts and stix2 you can not use both sets at the same time) – David Carlisle Jun 15 '23 at 19:46