# Rendering matrices/arrays using latex

Hi all,

I’m new to Obsidian and I’ll appreciate some help. I’m trying to render some matrices and/or arrays but nothing shows up. I only have this problem with matrices and arrays, simple equations work fine.

I’ve been trying something like this:

$$\begin{array}{cc} a &b \\ c &d \end{array}$$


Any suggestions?

This works for me …

$$\begin{array}{cc} a &b \\ c &d \end{array}$$


Hi DrJJWMac,

That’s what I’ve been using (I had a typo in my original post) and doesn’t work for me.

Interesting, it renders for me as well. Do you get an error (the code appears in the preview window with yellow background) or does it appear as text simply? Can you post a screenshot?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.