\copyrightVincent

\begin{saveblock}{leftRight}
	\begin{highlightblock}[gobble=8,linewidth=\textwidth,framexleftmargin=0.25em]
		\begin{align*}
			&f(\sum~~_{i=1}^{n}x_i)\\
			&f\left(\sum~~_{i=1}^{n}x_i\right)
		\end{align*}
	\end{highlightblock}
\end{saveblock}

\begin{frame}{Left-right}
	\useblock{leftRight}

	\begin{align*}
		&f(\sum_{i=1}^{n}x_i)\\
		&f\left(\sum_{i=1}^{n}x_i\right)\\
	\end{align*}
\end{frame}

% \begin{saveblock}{leftRight}
% 	\begin{highlightblock}[gobble=8,linewidth=\textwidth,framexleftmargin=0.25em]
% 		\begin{align*}
% 			A &= \left\{x^2\;\middle~~|\; x\in\mathbb{Z}\right\}\\
% 			A &= \left\{x^2\;|\; x\in\mathbb{Z}\right\}\\
% 			A &= \left\{x^2\mid x\in\mathbb{Z}\right\}
% 		\end{align*}
% 	\end{highlightblock}
% \end{saveblock}

% \begin{frame}
% 	\useblock{leftRight}

% 	\begin{align*}
% 		A &= \left\{x^2\;\middle|\; x\in\mathbb{Z}\right\}\\
% 		A &= \left\{x^2\;|\; x\in\mathbb{Z}\right\}\\
% 		A &= \left\{x^2\mid x\in\mathbb{Z}\right\}
% 	\end{align*}
% \end{frame}
