[Xerte] Re: Math Symbols
Adam Read
aread at marjon.ac.uk
Fri Jan 21 14:34:32 GMT 2011
Yep - updated it earlier to fix the gapfill problem.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 14:19
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
What XMLEngine.swf have you got?
Is it this one?
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 14:17
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Hi John
Thanks very much for providing the examples. However, mine still doesn't seem to want to render special characters.
First example:
[cid:image001.png at 01CBB978.512C4160]
Returns this in Xerte:
[cid:image002.png at 01CBB978.512C4160]
Any ideas?
Adam
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of John Horton
Sent: 21 January 2011 14:06
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Here are some examples:
<tex src="ax^2 + bx + c"></tex>
<br><br>are given by the formula
<br><tex src="\frac{-b \pm \sqrt{b^2 - 4ac}}{2a} "></tex>
<br><br><br>where
<br><tex src="a \neq 0"></tex>
[cid:image003.png at 01CBB978.512C4160]
<tex src="e^{-i\pi} \;+ \;1 \;=\; 0"></tex>
[cid:image004.png at 01CBB978.512C4160]
<tex src="E = mc^2"></tex>
<br><br>where
<br><tex src="m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}"></tex>
[cid:image005.png at 01CBB978.512C4160]
<tex src="\frac{1}{c^2}\; \frac{\partial \psi^2}{\partial t^2} \;=\; \nabla^2\psi"></tex>
[cid:image006.png at 01CBB978.512C4160]
This is the general equation where H is the Hamiltonian:
<br><tex src="i\hbar {\partial\Psi(\mathbf{r} ,\,t) \over \partial t} = \hat H \Psi(\mathbf{r},\,t)"></tex>
<br><br>For a single particle in three dimensions it can reduced to:
<tex src="i\hbar\frac{\partial}{\partial t} \Psi(\mathbf{r},\,t) = -\frac{\hbar^2}{2m}\nabla^2\Psi(\mathbf{r},\,t) + V(\mathbf{r})\Psi(\mathbf{r},\,t)"></tex>
[cid:image007.png at 01CBB978.512C4160]
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: 21 January 2011 13:55
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
It's the $ in your example that seems to be causing the problems I think. This works without them in:
<tex src="\sqrt{2}">
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 13:07
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Cheers Julian
A.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 13:03
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
It's not my project. I did look at the raw xml, but it has a load of escaped characters in there which make it more difficult to copy / paste into a mail. I have sent your message to the owner of the project.
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 12:16
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
No chance of seeing the text as it appears in that Xerte LO?!
That document doesn't really help at the moment as I can't replicate the examples in Xerte until im sure what to include and what not to!
For example, the document tells you to write:
\documentclass{article}
\begin{document}
The square root of two: $\sqrt{2}$. I can type math!
\end{document}
To output:
[cid:image008.png at 01CBB978.512C4160]
But in Xerte
<tex src="\documentclass{article}
\begin{document}
The square root of two: $\sqrt{2}$. I can type math!
\end{document}
">
Renders:
[cid:image009.png at 01CBB978.512C4160]
And
<tex src="The square root of two: $\sqrt{2}$. I can type math!"> renders:
[cid:image010.png at 01CBB978.512C4160]
<tex src="$\sqrt{2}$"> just renders:
[cid:image011.png at 01CBB978.512C4160]
Any ideas? I could probably work out what I'm missing from that example Nottingham LATEX LO!
---------------------------------------------------
Adam Read
eLearning Technologist
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 11:55
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/
I don't think there is anything 'funny' about the latex service we use. It is a third party service though, but we are working to implementing it ourselves,
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 11:45
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Any chance of seeing the LATEX code to generate these equations:
http://www.nottingham.ac.uk/toolkits/play_595
My LO doesn't seem to want to do fancy graphic ones (e.g. special chars) - do you need to tell latex to load a set of chars? I can get it to render things like e=mc2 but not much else:
[cid:image012.png at 01CBB978.512C4160]
Bl***y maths...
I've tried doing
<tex src="\usepackage{amsmath}"> to no avail.
---------------------------------------------------
Adam Read
eLearning Technologist
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 21 January 2011 11:00
To: Xerte discussion list
Subject: [Xerte] Re: Math Symbols
Use latex in text fields
<tex src="e=mc^2">
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 21 January 2011 11:00
To: Xerte discussion list (xerte at lists.nottingham.ac.uk)
Subject: [Xerte] Math Symbols
Hi all
Is anyone using Math / Scientific symbols in Xerte? I've had a request for help from a Maths lecturer who needs to use symbols.
I've had a go using <sub> and <sup> which works in XOT with "allow subscripts" ticked, and also came across an earlier list post pointing out HTML chars which seem to work, but I also came across some reference to Latex.
Does latex work in XOT? Last I read it seemed some service you chaps used had crashed?
If there is an easier way than using HTML syntax then let me know. I guess another alternative would be to use some other software and save them as images.
Cheers, Adam
---------------------------------------------------
Adam Read
eLearning Technologist
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
University College Plymouth St Mark & St John, Derriford Road, Plymouth, PL6 8BH
Phone: 01752 636700 Web: www.ucpmarjon.ac.uk
Principal: Professor Margaret Noble A Church of England College Founded in 1840
University College Plymouth St Mark & St John is a registered charity the trustee
of which is a company limited by guarantee registered in England No. 986239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8841 bytes
Desc: image001.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 9924 bytes
Desc: image002.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 34135 bytes
Desc: image003.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 30565 bytes
Desc: image004.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 31466 bytes
Desc: image005.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 30934 bytes
Desc: image006.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 35514 bytes
Desc: image007.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 3395 bytes
Desc: image008.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0019.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 5232 bytes
Desc: image009.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0020.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 4321 bytes
Desc: image010.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0021.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 805 bytes
Desc: image011.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0022.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image012.png
Type: image/png
Size: 10859 bytes
Desc: image012.png
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110121/4c949ed2/attachment-0023.png>
More information about the Xerte
mailing list