Insert LaTeX Equation; Discussion post

Hi,

I am a student, I wish to insert LaTeX formatted Equations in my discussion posts.

Some of these commands do not work, even though it is included in the popup at: https://mylearning.suny.edu/d2l/lp/math/latex

I'm looking to insert 2 equations, on separate lines.

Desired Output Example:
y = mx+b
a^2 + b^2 = c^2

I've tried \newline but the preview shows them all on a single line;
y = mx+ba^2 + b^2 = c^2

Using \linebreak, the entire command is highlighted in red, as if it isn't a supported command.

I even appended double spaces to the lines, as in markdown; doesn't work.

I can force extra spaces by

\ \ \ \ \ \ \ \ 

Am I doing something incorrect? How can I circumvent this?

Much appreciated :)

Tagged:

Best Answer

  • A.L.44
    A.L.44 Posts: 3 🌱
    Answer ✓

    @Mohamed.F.137

    Update:

    So apparently, it is just the preview that is not displaying correctly. I clicked Insert, and it does give me the linebreak/newline as I wished.

    Using the \newline command instead of \\ is the same as well.

Answers