I would like to know if stmaryrd and stix package are mutually compatibile and even if they are compatible with the packages I use into the following code: indeed, I see that \Lbag and \Rbag delimiters are different (is right?) into stmaryrd and stix package and moreover I see there appear other symbols which are present into amssymb package but strangerly I did not find any incompatibile into the linked guides.
\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{amssymb}
\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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%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}
So could someone help me, please?

\Lbagin addition to stix2\lbag(⟅) ??? – David Carlisle Jun 01 '23 at 18:53