this post was submitted on 01 Aug 2023
4 points (75.0% liked)

ObsidianMD

4102 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md/

founded 1 year ago
MODERATORS
 

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?

top 2 comments
sorted by: hot top controversial new old

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.world 2 points 1 year ago

Update:

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