My name is Karolis and I am very glad to have joined LaTeX community. As I started using LaTeX just yesterday, I have encountered copious amounts of errors. However, almost all of them I have solved, except for one particular problem with the alignment. I want to align specific blocks or single equations to the left, while leaving others aligned to the center. I have seen in the previous posts how to align all the equations to the left by adding [fleqn] in \documentclass entry.
Code: Select all
\documentclass[a4paper]{article}
\usepackage{amsmath}
\begin{document}
Sum?:\newline
I want to sum be aligned with letter $I$ at the start of this sentence:
\begin{align*}
\sum_j
\end{align*}
\begin{flushleft}
The next equation should appear in the center:
\end{flushleft}
\begin{equation}
\omega=0
\end{equation}
\end{document}