There are many question on this community website asking about how to align equations at =
sign. It is not too hard, I already did it and your answers helped me a lot. This is my code:
\documentclass[a4paper, 12pt]{article}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{color}
\usepackage{amsfonts}
\usepackage{amstext}
\usepackage{amsmath}
\begin{document}
\setlength\parindent{0pt}
\definecolor{darkGreen}{RGB}{0, 128, 0}
\nonumber
$Q=\sqrt2$
\begin{align}
P&=\sqrt2\\
&=Q
\end{align}
\end{document}
And this is rendered into PDF like this:
However, you can notice that the first equation $Q = \sqrt {2}$
is rendered left, but aligned one is rendered on the center. It is aligned properly, but I want it to be rendered left.
I want it to look like this:
So, I want it to be rendered left, but to remain alignment at the equality sign.
So, what I'm trying to achieve is to render it such that the longest equation in the alignment block touches left margin of the document (like on the second image). How hard is to achieve that?
Is there a simple way to achieve that? Is there some builtin? Or do I need to do everything from scratch? Do I need to create a new command for that?
Thank you in advance :)