{"id":14,"date":"2006-11-29T16:02:00","date_gmt":"2006-11-29T14:02:00","guid":{"rendered":"http:\/\/www.steinbeck-molecular.de\/steinblog\/?p=14"},"modified":"2007-09-06T10:13:19","modified_gmt":"2007-09-06T08:13:19","slug":"mathematical-formulae-and-html-slidy","status":"publish","type":"post","link":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/2006\/11\/29\/mathematical-formulae-and-html-slidy\/","title":{"rendered":"Mathematical Formulae and HTML Slidy"},"content":{"rendered":"<p>Last week I wanted to include some math into my lecture slides prepared with <a href=\"http:\/\/www.w3.org\/Talks\/Tools\/Slidy\/\">HTMLSlidy<\/a> and found the fantastic <a href=\"http:\/\/www1.chapman.edu\/~jipsen\/mathml\/asciimath.html\">ASCIIMathML<\/a> tool which allows you  to write your math formulae in a LaTeX-like manner in your regular text.<\/p>\n<p><!--more--><\/p>\n<p>Checkout my lecture on computer-assisted structure elucidation at <a href=\"http:\/\/wiki.cubic.uni-koeln.de\/lectures\/CASE\/\">wiki.cubic.uni-koeln.de\/lectures\/CASE<\/a>.The first instance of use of ASCIIMathML can be found on <a href=\"http:\/\/wiki.cubic.uni-koeln.de\/lectures\/CASE\/#(13)\">slide number 13.<\/a><br \/>\nThe code which produces eq.1 on this page is<\/p>\n<pre>$S=sum_{i=1}^{N_q} frac{100}{N_q} - Delta_i$<\/pre>\n<pre>for all $Delta_i &gt; frac{100}{N_q}$   (Eq.1)<\/pre>\n<p>All you need to do is to download ASCIIMathML.js and include it into the &lt;head&gt; section of your HTMLSlidy presentation as<\/p>\n<pre>&lt;<span class=\"start-tag\">script<\/span><span class=\"attribute-name\"> type<\/span>=<span class=\"attribute-value\">\"text\/javascript\" <\/span><span class=\"attribute-name\">src<\/span>=<span class=\"attribute-value\">\"ASCIIMathML.js\"<\/span>&gt;&lt;\/<span class=\"end-tag\">script<\/span>&gt;<\/pre>\n<p>directly behind the reference to slidy.js. The end of my HTMLSlidy header now looks like<\/p>\n<pre>&lt;<span class=\"start-tag\">script<\/span><span class=\"attribute-name\"> src<\/span>=<span class=\"attribute-value\">\"slidy.js\" <\/span><span class=\"attribute-name\">type<\/span>=<span class=\"attribute-value\">\"text\/javascript\"<\/span>&gt;&lt;\/<span class=\"end-tag\">script<\/span>&gt;&lt;<span class=\"start-tag\">script<\/span><span class=\"attribute-name\"> type<\/span>=<span class=\"attribute-value\">\"text\/javascript\" <\/span><span class=\"attribute-name\">src<\/span>=<span class=\"attribute-value\">\"ASCIIMathML.js\"<\/span>&gt;&lt;\/<span class=\"end-tag\">script<\/span>&gt;&lt;\/<span class=\"end-tag\">head<\/span>&gt;&lt;<span class=\"start-tag\">body<\/span>&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Last week I wanted to include some math into my lecture slides prepared with HTMLSlidy and found the fantastic ASCIIMathML tool which allows you to write your math formulae in a LaTeX-like manner in your regular text.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,12,8],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-open-standards","category-publishing","category-teaching"],"_links":{"self":[{"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/posts\/14"}],"collection":[{"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.steinbeck-molecular.de\/steinblog\/index.php\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}