Trouble aligning equations to the left

Hello, currently studying calculus and taking notes in Obsidian using the Latex Suite plugin, highly recommended plugin!

However, i am struggling to align the equations in a $$ … $$ block to the left.

Tried to make a snippet like this :


<span style="color:#63a35c;">div</span><span style="color:#323232;">.</span><span style="color:#795da3;">math </span><span style="color:#63a35c;">mjx-container</span><span style="color:#323232;">[</span><span style="color:#795da3;">jax</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"CHTML"</span><span style="color:#323232;">][</span><span style="color:#795da3;">display</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">"true"</span><span style="color:#323232;">] {
</span><span style="color:#323232;">  </span><span style="color:#0086b3;">display</span><span style="color:#323232;">: block;
</span><span style="color:#323232;">  </span><span style="color:#0086b3;">text-align</span><span style="color:#323232;">: left;
</span><span style="color:#323232;">}
</span>

But to no success. Any pointers to where i am going wrong?

Emotional_Series7814,

I do not use any plugins, so I don't know where you are going wrong. I can tell you how to get left-aligned math when you use $$...$$ blocks though!

$$\begin{flalign}mathgoeshere&&\end{flalign}$$

mysbyxor,

Update:

The CSS i wrote in my post seems to work, but not when i use tag to write notes in my margins

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines