Thursday, 5 June 2014

Latex testing page

$x \leq y+\ sum_{k=1}^n y_k$

$x\\y+ sum_{k=1}^n y_k$
$y+ sum_{k=1}^n y_k$
$y=m.X+c$ 
$x=a^2$ 
$ X_3 = \begin{cases} X_{31} & \mbox{if }Y_1 Y_2 > 0 \\ X_{32} & \mbox{if }Y_1 Y_2 \le 0 \end{cases}$ 

8 comments:

  1. Your problem is that your HTML includes span tags in your LaTex code. When the "$" is inside the span, the LaTex renders correctly. When it is outside, it does not render correctly.

    This happens when you cut/paste code between browser windows or applications. Google Blogspot is trying to "help" you with formatting.

    What you need to do is remove all the span tags around the LaTex. When you edit the page, click on the "HTML" button on the upper left of the page, next to "Compose".

    ReplyDelete
    Replies
    1. Once you are editing HTML, delete all the tag text around the LaTex.

      Delete
    2. Sure Sir, Im trying your suggestions.

      Delete
    3. It's best to enter LaTex in HTML mode, and not in Compose mode. That way you won't have any HTML tags added by Google Blogger if you copy/paste

      Delete
    4. Sir can you also try pasting formulas in comments, some complex formulas and see if it works for you. Thanks

      Delete
    5. Thanks a lot Sir. Your suggestions worked. I had to look into the HTML mode to see where I was doing wrong. It was exactly what you said.
      Thanks again, saved me a lot of trouble.

      Delete
    6. Excellent. Feel free to shower me with either positive karma or bitcoin. Your choice. :-)

      Best wishes in machine learning and similar pursuits.

      Delete
  2. Testing: $x\leq y+ \sum_{k=1}^n y_k$

    ReplyDelete