I want to write just one equation from left in a beamer documentclass, but it seems that \begin{flalign}
doesn't work, and everything that I write will be centered. I don't want to use \usepackage[fleqn]{beamer}
as it will make all the equations to start from left. This is my code:
\documentclass{beamer}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and
\usepackage{dsfont}
\usepackage{amsmath}
\begin{document}
\begin{frame}
\begin{flalign}
&\min\hspace{0.5cm}\sigma_{ASE}^2x^{-1}+\zeta_1x^2+\zeta_2z &&\\
&\text{s.t.}\hspace{0.5cm}&\mathds{1}^Tp=1 &&\\
& p\geq 0 &&\\
& a^Tp\leq P_t &&\\
& a^T p=x &&\\
& b^T p=z &&
\end{flalign}
\end{frame}
\end{document}
and this is my output:
There is a similar post here, but it does not give me any solution. Any help?
fl
in thefleqn
option stands for flush left but thefl
inflalign
stands for full length, it isn't designed to be flush left so much as take up the full width of the page so starting at the left edge...$\displaystyle 5+6=11$
on a line by itself.