1
$\begingroup$

I answered someone's question, and wanted to use the align environment. For some reason, it's not letting me. The link to the question is below. You can see in my answer that the TeX code is what shows up rather than the actual formatted math. Can anyone help me fix this?

Determine whether each of $V_1$, $V_2$, $V_3$ is a subspace of $\mathbb{R}^4$

$\endgroup$
  • $\begingroup$ There cannot be blank lines in a math block, just remove them. Though I'm not sure what that "________" is for (which is why I don't dare edit your post myself). $\endgroup$ – Najib Idrissi Mar 14 '15 at 17:20
  • $\begingroup$ @NajibIdrissi Haha. I wanted to be a short underline, like when you set up equation addition. Sometimes you underline the two things you are adding and put the answer below. $\endgroup$ – layman Mar 14 '15 at 17:21
  • $\begingroup$ Are you talking about something like this: $\underbrace{1+1}_{= 2}$? I achieved that with \underbrace{1+1}_{= 2}. $\endgroup$ – Najib Idrissi Mar 14 '15 at 17:24
  • $\begingroup$ @NajibIdrissi No, but your suggestion about the line breaks was right. See my updated answer. Now it looks more like what I wanted it to look like. $\endgroup$ – layman Mar 14 '15 at 17:25
  • $\begingroup$ Ah I see, okay. glad to see it's been solved. $\endgroup$ – Najib Idrissi Mar 14 '15 at 17:25
  • $\begingroup$ @NajibIdrissi By you. Thanks! $\endgroup$ – layman Mar 14 '15 at 17:26
  • $\begingroup$ I made an edit. Is that what you wanted? $\endgroup$ – dustin Mar 14 '15 at 17:42
  • $\begingroup$ @dustin I don't really see that your edit made much of a difference, but thank you in any case. $\endgroup$ – layman Mar 14 '15 at 17:47
  • $\begingroup$ It spaced what you were adding away from the plus sign and gave proper spacing around the equal sign on the bottom row. $\endgroup$ – dustin Mar 14 '15 at 17:48
  • $\begingroup$ @dustin Ok, thanks. It's always nice to have neater formatting. $\endgroup$ – layman Mar 14 '15 at 17:48
4
$\begingroup$

There cannot be blank line in a math mode, if you remove the blank lines it should work correctly.

$\endgroup$
  • $\begingroup$ Luckily got here before asking a duplicate (and after 1/2h wrangling an align :-( Any hints why? On arachnoid.com/latex it does work. $\endgroup$ – Harald Aug 25 '18 at 6:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .