$\def \xmlpi #1{}\def \mathsfbi #1{\boldsymbol {\mathsf {#1}}}\let \le =\leqslant \let \leq =\leqslant \let \ge =\geqslant \let \geq =\geqslant \def \Pr {\mathit {Pr}}\def \Fr {\mathit {Fr}}\def \Rey {\mathit {Re}}\mathrm{SL}_2(\mathbb{R})$
${\rm GL}_2(\mathbf{Q}_p)$ ,
$p$ -adic automorphic forms, and the canonical embedding of Shimura curves
${ \text{O} }_{2m}^{\pm } ({2}^{f} )$ IN
${\text{Sp} }_{2m} ({2}^{f} )$