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 :

div.math mjx-container[jax="CHTML"][display="true"] {
  display: block;
  text-align: left;
}

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

  • Emotional_Series7814@kbin.cafe
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    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@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    Update:

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