add tag
topnush
This is my MWE:

```
\documentclass{beamer}
\usepackage{bm}
\beamertemplatenavigationsymbolsempty
\setbeamersize{text margin left=10mm,text margin right=5mm} 
\setbeamertemplate{frametitle}[default][center]
\usepackage{mathrsfs}
\begin{document}

\begin{frame}[t, fragile]
\setbeamertemplate{itemize items}[circle]
\begin{itemize}[<+->]
\item[]\hspace*{-0.8cm} $\begin{aligned}[t]
\Pr(\text{some text here }\mathscr{D}_{\ell}\text{ more tex}) &= \Pr(\text{Some text is selected and no other text is})\\
&=\sum_{j \in\text{supp }\bm{f}} \Pr(j\text{ is selected and no other text is})\\
&=\sum_{j \in\text{supp }\bm{f}}\Pr(h_{\ell}(j) = \bm{0})\Pr(\text{no other text is selected})
\end{aligned}$
\end{itemize}
\end{frame}
\end{document}
```

I would like the `= ...` parts to be aligned with each other but not where they are as the text hangs over the right hand side. Ideally they would be aligned just below or slight to the right of the start of the first line.

How can you do that?
Top Answer
Skillmon
A crude way to get this would be to place the alignment point of the first line and then skip back to the start of the line to output the real contents.

```
\documentclass{beamer}
\usepackage{bm}
\beamertemplatenavigationsymbolsempty
\setbeamersize{text margin left=10mm,text margin right=5mm} 
\setbeamertemplate{frametitle}[default][center]
\usepackage{mathrsfs}
\begin{document}

\begin{frame}[t, fragile]
\setbeamertemplate{itemize items}[circle]
\begin{itemize}[<+->]
\item[]\hspace*{-0.8cm} $\begin{aligned}[t]
  \hskip1cm&\hskip-1cm\Pr(\text{some text here }\mathscr{D}_{\ell}\text{ more tex}) \\
  &= \Pr(\text{Some text is selected and no other text is})\\
&=\sum_{j \in\text{supp }\bm{f}} \Pr(j\text{ is selected and no other text is})\\
&=\sum_{j \in\text{supp }\bm{f}}\Pr(h_{\ell}(j) = \bm{0})\Pr(\text{no other text is selected})
\end{aligned}$
\end{itemize}
\end{frame}
\end{document}
```

![aligned-more-right-1.png](/image?hash=244aed949bf2194afee0581cec3a3ce1092d2805826c4f6e339b2d8591642867)
Answer #2
user 3.14159
I think you may be looking for `\MoveEqLeft` from `mathtools`. (I removed the `\hspace*` because there should be better ways, but I am also not 100% sure I understand what this would be good for.) Please notice also that `\MoveEqLeft` accepts an optional argument that allows you to adjust the shift, when needed. (Even though this is off-topic, I'd recommend tp use `\DeclareMathOperator{\supp}{supp}`.)
```
\documentclass{beamer}
\usepackage{bm}
\usepackage{mathtools}
\DeclareMathOperator{\supp}{supp}
\beamertemplatenavigationsymbolsempty
\setbeamersize{text margin left=10mm,text margin right=5mm} 
\setbeamertemplate{frametitle}[default][center]
\usepackage{mathrsfs}
\begin{document}

\begin{frame}[t, fragile]
\setbeamertemplate{itemize items}[circle]
\begin{itemize}[<+->]
\item[] $\begin{aligned}[t]
\MoveEqLeft\Pr(\text{some text here }\mathscr{D}_{\ell}\text{ more tex})\\
 &= \Pr(\text{Some text is selected and no other text is})\\
&=\sum_{j \in\supp\bm{f}} \Pr(j\text{ is selected and no other text is})\\
&=\sum_{j \in\supp\bm{f}}\Pr(h_{\ell}(j) = \bm{0})\Pr(\text{no other text is selected})
\end{aligned}$
\end{itemize}
\end{frame}
\end{document}
```
![Screen Shot 2020-10-23 at 10.19.36 AM.png](/image?hash=8f662e9a5ed09f045aacfbc898ec40539c31cd256c4f006e37d74b3e336aaf9e)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.