I've been trying several different approaches to place a box (a highlight red box) around equations in beamer. Though, I usually do not get the expected result, or a bunch of errors pops up and nothing compiles.
Below follows a MWE of three equations inside the align environment (ideally I want to keep this environment). I need a box that can go at each equation at a time (or more than one sometimes, but not all of them at once). Also, some methods I've tried could not place a box around the \sum correctly, usually cutting part of them out, or the iterators below them.
\documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{align} & \left[ \omega \sum_{k \in K} y_k + \sum_{i \in V} \sum_{j \in V} \sum_{k \in K} c_{ij}x_{ijk}\right]\\ \notag\\ & \sum_{k \in K} \sum_{j \in V | j \ne i} x_{ijk} = 1 & & \forall i \in P\\ \notag\\ & \sum_{j \in V | j \ne i} x_{ijk} - \sum_{j \in V | j \ne i} x_{dev(i)jk} = 0 && \forall i \in P, k \in K \end{align} \end{document} Thanks in advance,


