However, if you are trying to parse something like (double $ sign) -

$latex \frac{10}{100} \times $100 = $10$

this would not get parsed in WP as the have only limited flexibility with Latex typesetting.

]]>One option is to display the Latex code by itself, without the WordPress.com code around it:

\frac{ABC}{CDEF}

You can display that as preformatted text to make it stand out, if you'd like: http://en.support.wordpress.com/advanced-html/#preformatted-text

Another option is to use a non-breaking space between $latex and your Latex code. This page has more details about non-breaking spaces and how to enter them: http://en.wikipedia.org/wiki/Non-breaking_space

]]>Anthony question you might be able to help me. How to insert a code snippet into the wordpress.com blog?

In this forum, we can use the "code-/code" tag to insert code snippet, like this:

`$latex \frac{ABC}{CDEF}$`

The latex code in the code snippet will not be parsed. and the contents shown in different background color. That is what effect I want in the WordPress.com blog. I tried it in the WordPress.com blog by using the "Text" editor:

```
<br />
$latex \frac{ABC}{CDEF}$<br />
```

It does not work at all.

What is the best way to snippet into the wordpress.com blog?

]]>Thanks very much for your help. Good to know that WordPress latex does not take extra spaces!

]]>1. Why the Latex code cares about extra spaces. Latex syntax usually ignores all the extra spaces.

That is part of the WordPress.com Latex feature, not the Latex syntax itself. The code has to follow this format, with one space between $latex and your Latex code:

$latex your-latex-code-here$

2. How do you find the invisible non-breaking space? Which editor tool do you use?

I looked at the source code of your test post and saw that the second example used a non-breaking space instead of a regular space. If you're ever unsure about whether there's a non-breaking space, you can delete the space after $latex and insert a regular space with your spacebar to fix it.

Please let me know if you have any other questions about that. :)

]]>1. Why the Latex code cares about extra spaces. Latex syntax usually ignores all the extra spaces.

2. How do you find the invisible non-breaking space? Which editor tool do you use?

]]>`$latex h(\theta, X) = \frac{1}{1+ e^X}$`

If you remove the second space, the code will parse:

`$latex h(\theta, X) = \frac{1}{1+ e^X}$`

In the last example, it has a non-breaking space between $latex and the latex code. If you replace the non-breaking space with a regular space, it will work:

`$latex \frac{ABC}{CDEF}$`

Please let me know if I can do anything more to help with that.

]]>```
Test Math Formula:
Whey this can't parse: $latex h(\theta, X) = \frac{1}{1+ e^X}$
and $latex \frac{ABC}{CDEF}$
Try this: $latex \frac{ABC}{CDEF}$ again.
```

href="http://lukelushu.wordpress.com/2014/08/15/test-4/">Please look at this example.

]]>Please take a look at this support page:

http://en.support.wordpress.com/latex/#latex-error

As mentioned there, the "Formula does not parse" error comes up if your Latex syntax is broken. This is not an issue with the Latex support in WordPress.com but with the Latex syntax itself. The support staff here at WordPress.com is not able to support Latex syntax errors.

If you're running into trouble where the same code will work on one blog but not on another, please send me links to the code on both blogs so we can take a look at what's going on there.

]]>http://en.support.wordpress.com/latex/ ]]>

Please help this.

]]>math.stackexchange.com uses double dollar signs. Hopefully, WordPress.com will too asap.

]]>It doesn't look like this is a supported shortcode in either WordPress.com or WordPress.org (without the help of plugins) just yet. However, it may be something we include in future developments. Could you add it to our Idea forum here?

http://en.forums.wordpress.com/forum/ideas

The content in your post here would be perfect:

I appreciate you bringing this to our attention!

]]>Regarding the reference to display expressions in the guide I linked to, it is on page 55 in section 3.2. The guide talks about making display expressions using either `\begin{equation*} ... \end{equation*}`

syntax or `\[ ... \]`

syntax. The guide does not talk about the double dollar signs because they are not included in the original Latex syntax.

Regarding the WP latex plugin's support of double dollar signs, I assumed it supported the double dollar signs based on the info from this page (sorry for the misinformation). I know for sure that MathJax plugin supports the double dollar signs(delimiters) which is stated in its documentation.

You understand correctly. The expression wrapped in double dollar signs ($$ *expression * $$) should be displayed on a separate line. The conventional syntax for display equations is `\[ ... \]`

. The double dollar signs are community developed delimiters. The math.stackexchange.com website uses the double dollar signs syntax for display equations. I have an account there and post often.

If you have any questions please let me know.

]]>First, thanks for the awesome blog post. That definitely helps to display the issue more clearly.

I tested the plugin you mention (WP LaTeX), but I was unable to get it to function as you mention. When I enter the following expression:

`This $$latex a^2$$ is the expected output`

This is what I receive:

https://cloudup.com/cNogyovmy_k

If I understand correctly, it should break the expression up onto separate lines. Is that correct? Can you let me know if you've been able to create this appearance with the plugin? Also, I looked through the guide you linked to, but I couldn't find a reference to the $$ shortcode behavior you mention. Could you let me know the page number that is on so I can take a closer look at the expected behavior?

]]>OK, then why are there plugins available for download like this one for equation editing? Is it just for premium users?

No, it's for WordPress.**org** users.

**Read** the documents, please.

http://en.support.wordpress.com/com-vs-org/ ]]>

How do I get plugins for WordPress? T

You can't.

On WordPress.com, we include the most popular plugin functionality within our sites automatically. As a result,

WordPress.com users wonâ€™t find a Plugins tab in the Dashboard.

From the Support page

http://en.support.wordpress.com/plugins/

Will you please link me to the page/post where you're creating the latex expression? We suspect that the issue is with the double $ signs. I'm not entirely certain why you're doubling up.

Additionally, can you express either by pasting here, or creating a screenshot, what you're trying to accomplish? Then we can better assist you with the proper latex expression.

The page at the following link has some helpful tips for taking screenshots:

http://en.support.wordpress.com/make-a-screenshot/

Just upload the shot to your Media Library, and let me know when I can take a look at it.

Finally, I want to make certain you have the following guides for creating latex expressions that will appear properly on your WordPress.com site:

http://en.support.wordpress.com/latex/ http://www.latex-project.org/guides/

Looking forward to hearing from you! Thanks so much.

]]>