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

ObsidianMD

3764 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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year 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}$$