Spyke
obsidianmd·ObsidianMDbymysbyxor

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 :

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?

View original on lemmy.world

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}$$

3

Update:

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

2

You reached the end

Trouble aligning equations to the left | Spyke