double dollar signs for latex expressions in markdown mode
-
So, I am writing in markdown mode on wordpress.com. I know that wordpress.com supports latex and latex expressions are written like so:
$latex expression$However, using the double dollar signs for latex expressions to make them appear in the middle of the text does not work. In other words, expression $$latex expression$$ is rendered as $latex expression$ and displayed as $expression$ which should not be happening. The second dollar sings are not rendered and simply appear before and after the expression. Is this a bug or is there another way to accomplish what I want?
The blog I need help with is: (visible only to logged in users)
-
I’ll tag this thread for a Staff follow-up. Please subscribe to the thread so you are notified when they respond and please be patient while waiting.
-
Hello there,
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:
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.
-
By the way, I looked at the latex wordpress page you specified in the end of your message. It does not address the display expressions, the thing I am trying to accomplish. The latex guide does talk about display style expressions, which apparently WordPress.com does not support.
-
Hi!
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 outputThis is what I receive:
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?
-
Hello jeremeylduvall.
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.
-
Howdy,
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?
https://en.forums.wordpress.com/forum/ideas
The content in your post here would be perfect:
I appreciate you bringing this to our attention!
-
- The topic ‘double dollar signs for latex expressions in markdown mode’ is closed to new replies.