Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can one post nicely formatted code combined with LaTeX for mathematical expressions?

Admittedly not a programming question, but I don't really know where else to ask this...

I'm planning to start a blog to post the stuff I'm working on, which is mostly about Expression Trees & Mathematics. Hopefully this will help me focus on the problem at hand instead of going off every possible tangent that comes up.

I wonder if someone out there knows a good place to host a blog with the two following requirements:

(1) Nice support for code listings (as seen here, for example).

(2) Support for complex mathematical expressions, ideally in LaTeX (as seen here, for example).

For a while now I've been looking around for posts/articles combining both nicely formatted code and mathematical expressions, but I haven't found anything.

Thanks a lot!

PS - If there's another Q&A forum where this question would fit better, then please let me know and I'll move it there.

EDIT(1): While carrying out some additional research, I found this related SO question (see also resources therein), which then took me to here. Leaving the question open for now though in case someone wants to suggest alternatives.

like image 332
d.. Avatar asked Nov 06 '22 17:11

d..


2 Answers

Read here:

http://sixthform.info/steve/wordpress/?cat=2
http://fugato.net/2007/01/20/latex-in-wordpress/

about LaTeX on Wordpress, syntax higlighting is easy (hint: google for "syntax highlighting") and you can go on any host with WP.

Good luck.

Edit: Okay, about that latex - it seems you need to have administrator rights, so any hosting with friendly administrator or virtual server or server hosting/housing :)

Edit: As for syntax highlighting:

PHP SH: http://xtractpro.com/articles/CSharp-Syntax-Highlighter.aspx
JS SH: http://wordpress.org/extend/plugins/google-syntax-highlighter/

like image 68
Adam Kiss Avatar answered Nov 15 '22 09:11

Adam Kiss


For math expressions in LaTeX syntax checkout MathJax. It can probably be used with most blog hosting services. You just need to be able to add javascript to the page.

like image 42
John Nilsson Avatar answered Nov 15 '22 08:11

John Nilsson