# HP Forums

Full Version: LaTeX?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Just curious if this particular forum software handles latex math markup.
Maybe it does now - let's see:

$\int_{a}^{b} f(x)dx = F(b)-F(a)$

$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$

$\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \end{vmatrix}$

\begin{aligned} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} & = 0 \end{aligned}
(12-13-2013 02:42 AM)Dave Hicks Wrote: [ -> ]Maybe it does now - let's see:

$\int_{a}^{b} f(x)dx = F(b)-F(a)$
Where $$F(x)$$ is the anti-derivative of $$f(x)$$

Awesome! Thank you so much, Dave!
You should thank Katie too. She was already prodding me in this direction.
And thank you, Katie!

I wonder if inline LaTeX works. $a^2+b^2=c^2$ vs $$a^2+b^2=c^2$$

Is there a magic tag for inline LaTeX?
Well let's try this:

This expression $$\sqrt{3x-1}+(1+x)^2$$ is an example of an inline equation.

Surround with () instead of [].
Fantastic!
Let me try how this works: $$e^{i\pi}+1=0$$
That's so much better than having to use an image:
$e^{i\pi}+1=0$
Dave and Katie: thanks a lot!
Thomas
(12-13-2013 02:55 AM)Dave Hicks Wrote: [ -> ]Well let's try this:

This expression $$\sqrt{3x-1}+(1+x)^2$$ is an example of an inline equation.

Surround with () instead of [].

Very nice!
Thank you Dave and Katie
OK, I've gotta try. Here's an offset equation:

p(x|\mu,\sigma)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}

And here is the inline version: $$p(x|\mu,\sigma)=\frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}$$

Nice!
I feel obligated and honored to insert the famous HP-67 Mach number equation:

$\sqrt{ 5 \left [ \left ( \left \{ \Bigg [ \Bigg ( 1 + 0.2 \left [ \frac{350}{661.5} \right ]^{2} \Bigg )^{3.5} - 1 \Bigg ] \Bigg [ 1 -\left ( 6.875 \times 10^{-6} \right ) 25,500 \Bigg ] ^{-5.2656}\right \} + 1 \right )^{0.286} -1 \right ]}$

Dear Curator,

You have truly outdone yourself!

Mark Hardman
$$3ax^2$$
How it works to write an equation as you ?
(04-02-2016 09:12 AM)ggauny@live.fr Wrote: [ -> ]How it works to write an equation as you ?

I am not an expert and I don't like the big work involved in writing in that language either.
But it is very useful as the equations are much more readable

I just copy what other people here are posting.
You can do the same, by just clicking on the "Quote" button on a post from other people having latex equations.
Then you can copy the text, edit it, and test it with the "Preview Post" button.

But I think that the general latex format is:

Code:
 1) Example for inline equation: $$E=mc^2$$
This is a simple equation: $$E=mc^2$$ that I have found on a very old book.

Code:
 2) Example for centered equation: $E=mc^2$
This is a simple equation: $E=mc^2$ that I have found on a very old book.

This post here also contains lots of information with external links pointing to latex documentation and tools.

But what we really need is a latex editor tool that help us to build the equation and then we can copy it as a text string into our posts here in the MoHPC.

Fellow member Tugdual mentioned this link here for such a tool.
Does anyone know of a better or alternative tool?
(04-02-2016 11:18 AM)jebem Wrote: [ -> ]Does anyone know of a better or alternative tool?

Here are two alternatives:
http://atomurl.net/math/
http://www.codecogs.com/latex/eqneditor.php
(04-02-2016 02:30 PM)Joe Horn Wrote: [ -> ]
(04-02-2016 11:18 AM)jebem Wrote: [ -> ]Does anyone know of a better or alternative tool?

Here are two alternatives:
http://atomurl.net/math/
http://www.codecogs.com/latex/eqneditor.php

Thank you, Joe!
(04-05-2016 03:15 PM)jebem Wrote: [ -> ]
(04-02-2016 02:30 PM)Joe Horn Wrote: [ -> ]Here are two alternatives:
http://atomurl.net/math/
http://www.codecogs.com/latex/eqneditor.php

Thank you, Joe!

You can also get a latex string out of the Prime with the latex() CAS function should you have that emulator installed.
(04-07-2016 01:08 PM)Tim Wessman Wrote: [ -> ]
(04-05-2016 03:15 PM)jebem Wrote: [ -> ]Thank you, Joe!

You can also get a latex string out of the Prime with the latex() CAS function should you have that emulator installed.

Nice trick Tim, thank you!
(04-07-2016 01:08 PM)Tim Wessman Wrote: [ -> ]You can also get a latex string out of the Prime with the latex() CAS function should you have that emulator installed.

Thank you, Tim!
Just found it in the physical Prime too, and it is amazing what this machine can do.
(04-02-2016 09:12 AM)ggauny@live.fr Wrote: [ -> ]How it works to write an equation as you ?

Testing quote tab
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :