Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

As the topics, is there any mathematical blog support latex? I think people commonly use wordpress but i am not sure whether it supports latex as it doesn't show the latex format. Is there any supports latex?

share|improve this question
4  
WordPress supports LaTeX. –  Qiaochu Yuan Oct 13 '12 at 1:18
    
well, but i type $ $ and it didn't really show the format, or do you have any way to use the latex format in wordpress?? –  Mathematics Oct 13 '12 at 1:32
5  
The very first Google hit for "LaTeX Wordpress" is en.support.wordpress.com/latex . –  Qiaochu Yuan Oct 13 '12 at 1:40
5  
If you have a blog at wordpress.com then yes, it already supports LaTeX. But if you've installed WordPress from wordpress.org on some server, then you also need to install and activate the LaTeX plug-in. –  murray Oct 13 '12 at 3:00
1  
@QiaochuYuan Wordpress does not support LaTeX. The only way I know of to write in proper LaTeX and have it accepted by a Wordpress blog is to use my internet class to preprocess it (as I've done for all my posts on the TeX-SX blog). Wordpress can support various simulated LaTeX formats for mathematics which is probably what is being asked for here. But then so can every other blog software out there that allows plugins. –  Andrew Stacey Oct 13 '12 at 14:27
show 1 more comment

migrated from math.stackexchange.com Oct 13 '12 at 1:18

This question came from our site for people studying math at any level and professionals in related fields.

2 Answers

For math input one can use MathJax.

Quick instructions

For me it works to add:

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
  extensions: ["tex2jax.js"],
   jax: ["input/TeX", "output/HTML-CSS"],
   tex2jax: {
     inlineMath: [[ '$','$']],
     displayMath:  [['$$','$$']],
     processEscapes: true
   },
   "HTML-CSS": { availableFonts: ["TeX"] }
  });
</script> 

<script type="text/javascript"          
 src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
</script>

to the header (which can be modified at a lot of blogging websites) of the html document.

After that you can use $..$ and $$..$$ to quickly add inline and display style equations, \begin{..}...\end{..} works too.

This is how it looks and works also with different colors.

share|improve this answer
add comment

By 'supporting LaTeX', many people mean 'supporting the use of TeX-like input for mathematical symbols'. That's not the same thing: support LaTeX proper requires a TeX system, supporting just a small subset does not.

Taking WordPress as an example, both TeX-like input and proper LaTeX support are available. By far the most straight-forward way here is to use a plugin to load the appropriate code from elsewhere. MathJax is the technology that is used for example on other StackExchange sites for TeX-like input, and it's available for WordPress using the JetPack plugin. This plugin makes use of the WordPress.com MathJax support. Real LaTeX requires a TeX system installed somewhere, and for most people that is best left to a specialist server. The QuickLaTeX plugin for WordPress renders LaTeX code as .png files 'on the fly', using caching to avoid too much server load and rendering only the parts of a post that need LaTeX support. Thus this solution can deal with cross-references, TikZ and other 'goodies' that MathJax simply cannot.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.