I'm trying to set up flushed right text in the
cases
environment inside the align*
environment. It's for the exam to specify how many points each linear equation in the equation system is worth. It doesn't seem to work that well as in normal text environment as I want it to be flushed right in the page but instead it's too close to the equation.
Code: Select all
\documentclass{article}
\usepackage{geometry}
\usepackage{mathtools}
\usepackage{amsfonts,amssymb}
\begin{document}
\begin{align*}
\begin{cases}
\mathbb{E}(r_A)&=r_f + \beta_A FP ~\hspace*{\fill}[5~points] \\
\mathbb{E}(r_B)&=r_f + \beta_B FP \\
\end{cases}
\end{align*}
\end{document}
Thank you,
Arsenio