How to align equations to the left with each other but at center of page?

Aligning equations to the left works as there’s a margin, although I’d still like to position them centrally, just making sure they start at the same point, if that makes sense. I have 2 equations which are similar except for one component so aligning them this way helps emphasise that.

So I managed to get something to work although it’s rather messy, I’m sure someone will know how to clean it up:

#set align(center)
#grid([#set align(left); $a+b \ a+c+d $])

You could use alignment points with &.

// block
$ &a+b \ &a+c+d $

// inline
#set align(center)
$&a+b \ &a+b+c$

Although your solution seems to work as well.

3 Likes

Here’s a solution that’s in the same spirit as your own but without a grid and for block equations:

#align(center, block({
  show math.equation: set align(left)
  $ a+b \ a+c+d $
}))
1 Like