#Left align equations

1 messages · Page 1 of 1 (latest)

analog sparrow
#

How to use LaTeX to typeset the following text

Lorem ipsum dorat basak.
0 = a + b
a + b = 0

so that the equations are

  1. aligned to the left
  2. aligned with '='

My attempt:

Lorem ipsum dorat basak.
\begin{flalign*}
0 &= a+b \\
a + b &= 0
\end{flalign*}
hexed sentinel
#

Don’t put the & at the equals sign, put it at the 0

analog sparrow
tulip bobcatBOT
#

vin100 helps self-learning maths

hexed sentinel
#

Move the & in the second line to &0 as well

#

Or I guess you want &=

tulip bobcatBOT
#

vin100 helps self-learning maths

analog sparrow
#

a syntatically incorrect work around would be

hexed sentinel
#

Oh you want left aligned as well

#

Ok

analog sparrow
tulip bobcatBOT
#

vin100 helps self-learning maths

analog sparrow
analog sparrow
analog sparrow
hexed sentinel
#

The font isn’t different sized, discord just scales pictures up if they are small

analog sparrow
#

ok so the onscreen size of the later is visually greater than the former

analog sparrow
#

like

#

,,\begin{aligned}
\text{sth} &= \text{very long term} \
&+ \text{another long term}
\end{aligned}

hexed sentinel
#

Look at fleqn

tulip bobcatBOT
#

vin100 helps self-learning maths

hexed sentinel
#

Using aligned for this is completely ok

analog sparrow
# hexed sentinel Look at fleqn

but that would require changing preamble?
a change in preamble would take hours
say to switch bewteen fleqn and no fleqn
i wonder if there's convenient stuff like

\makeatletter
\newcommand{\leqnomode}{\tagsleft@true\let\veqno\@@leqno}
\newcommand{\reqnomode}{\tagsleft@false\let\veqno\@@eqno}
\makeatother

allowing easy switching from one mode to another

#
Lorem ipsum dorat basak.
\begin{flalign*}
0 &= a+b & \\
a + b &= 0 &
\end{flalign*}