diff options
author | Dominic Steinitz <dominic@steinitz.org> | 2015-05-16 13:53:14 +0100 |
---|---|---|
committer | Dominic Steinitz <dominic@steinitz.org> | 2015-12-21 08:07:11 +0000 |
commit | 3f50b955324bd4b42f88a421f0203bc46a3ccf64 (patch) | |
tree | 822a3c2e5779e87712552959b6b4987f1286e0ba /html-test/ref/Math.html | |
parent | e01e4790402204af02ab0127ef5b633fb7748cd4 (diff) |
Fix the documentation for haddock itself.
Change notation and add support for inline math.
Allow newlines in display math.
Add a command line option for the mathjax url (you might want to use a
locally installed version).
Rebase tests because of extra url and version change.
Respond to (some of the) comments.
Fix warnings in InterfaceFile.hs
Diffstat (limited to 'html-test/ref/Math.html')
-rw-r--r-- | html-test/ref/Math.html | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/html-test/ref/Math.html b/html-test/ref/Math.html index 3335f7b1..5b76fd13 100644 --- a/html-test/ref/Math.html +++ b/html-test/ref/Math.html @@ -7,6 +7,8 @@ ><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript" ></script + ><script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" + ></script ><script type="text/javascript" >//<![CDATA[ window.onload = function () {pageLoad();setSynopsis("mini_Math.html");}; @@ -41,6 +43,22 @@ window.onload = function () {pageLoad();setSynopsis("mini_Math.html");}; ><p class="caption" >Math</p ></div + ><div id="description" + ><p class="caption" + >Description</p + ><div class="doc" + ><p + >Math (display) for <code + >normalDensity</code + ></p + ><p + >\[ + \int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi} + \]</p + ><p + >\(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\)</p + ></div + ></div ><div id="synopsis" ><p id="control.syn" class="caption expander" onclick="toggleSection('syn')" >Synopsis</p @@ -67,7 +85,9 @@ window.onload = function () {pageLoad();setSynopsis("mini_Math.html");}; ><p >Math (inline) for <code >normalDensity</code - > $$\int_{-\infnty}^{\infty} e^{-x^2/2} = sqrt{2\pi}$$</p + > + \(\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\) + \[\int_{-\infty}^{\infty} e^{-x^2/2} = \sqrt{2\pi}\]</p ></div ></div ></div |