LaTeX?
12-13-2013, 01:02 AM
Post: #1 Han Senior Member Posts: 1,883 Joined: Dec 2013
LaTeX?
Just curious if this particular forum software handles latex math markup.

Graph 3D | QPI | SolveSys
12-13-2013, 02:42 AM (This post was last modified: 12-13-2013 02:45 AM by Dave Hicks.)
Post: #2 Dave Hicks Super Moderator Posts: 438 Joined: Dec 2013
RE: LaTeX?
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:44 AM
Post: #3 Han Senior Member Posts: 1,883 Joined: Dec 2013
RE: LaTeX?
(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!

Graph 3D | QPI | SolveSys
12-13-2013, 02:46 AM
Post: #4 Dave Hicks Super Moderator Posts: 438 Joined: Dec 2013
RE: LaTeX?
You should thank Katie too. She was already prodding me in this direction.
12-13-2013, 02:49 AM (This post was last modified: 12-13-2013 02:51 AM by Han.)
Post: #5 Han Senior Member Posts: 1,883 Joined: Dec 2013
RE: LaTeX?
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?

Graph 3D | QPI | SolveSys
12-13-2013, 02:55 AM
Post: #6 Dave Hicks Super Moderator Posts: 438 Joined: Dec 2013
RE: 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 [].
12-13-2013, 02:58 AM
Post: #7 Han Senior Member Posts: 1,883 Joined: Dec 2013
RE: LaTeX?
Fantastic!

Graph 3D | QPI | SolveSys
12-13-2013, 07:29 AM
Post: #8
 Thomas Klemm Senior Member Posts: 1,633 Joined: Dec 2013
RE: LaTeX?
Let me try how this works: $$e^{i\pi}+1=0$$
That's so much better than having to use an image:

Dave and Katie: thanks a lot!
Thomas
12-13-2013, 11:32 AM
Post: #9 Massimo Gnerucci Senior Member Posts: 2,448 Joined: Dec 2013
RE: LaTeX?
(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

Greetings,
Massimo

-+×÷ ↔ left is right and right is wrong
12-13-2013, 04:25 PM
Post: #10 John R Member Posts: 101 Joined: Dec 2013
RE: LaTeX?
OK, I've gotta try. Here's an offset equation:

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

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!
12-13-2013, 07:26 PM
Post: #11 Mark Hardman Senior Member Posts: 525 Joined: Dec 2013
RE: LaTeX?
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

Ceci n'est pas une signature.
04-01-2016, 03:22 PM
Post: #12 jebem Senior Member Posts: 1,343 Joined: Feb 2014
RE: LaTeX?
$$3ax^2$$

Jose Mesquita

04-02-2016, 09:12 AM
Post: #13 ggauny@live.fr Senior Member Posts: 557 Joined: Nov 2014
RE: LaTeX?
How it works to write an equation as you ?

Gérard.
04-02-2016, 11:18 AM (This post was last modified: 04-02-2016 12:23 PM by jebem.)
Post: #14 jebem Senior Member Posts: 1,343 Joined: Feb 2014
RE: LaTeX?
(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?

Jose Mesquita

04-02-2016, 02:30 PM
Post: #15 Joe Horn Senior Member Posts: 1,841 Joined: Dec 2013
RE: LaTeX?
(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

<0|ɸ|0>
-Joe-
04-05-2016, 03:15 PM
Post: #16 jebem Senior Member Posts: 1,343 Joined: Feb 2014
RE: LaTeX?
(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!

Jose Mesquita

04-07-2016, 01:08 PM
Post: #17 Tim Wessman Senior Member Posts: 2,280 Joined: Dec 2013
RE: LaTeX?
(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.

TW

Although I work for HP, the views and opinions I post here are my own.
04-07-2016, 02:26 PM
Post: #18 Massimo Gnerucci Senior Member Posts: 2,448 Joined: Dec 2013
RE: LaTeX?
(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!

Greetings,
Massimo

-+×÷ ↔ left is right and right is wrong
04-07-2016, 05:11 PM
Post: #19 jebem Senior Member Posts: 1,343 Joined: Feb 2014
RE: LaTeX?
(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.

Jose Mesquita

04-07-2016, 10:24 PM
Post: #20 vk6ti Member Posts: 105 Joined: Sep 2014
RE: LaTeX?
(04-02-2016 09:12 AM)ggauny@live.fr Wrote:  How it works to write an equation as you ?

Testing quote tab
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)