Post Reply 
LaTeX?
12-13-2013, 01:02 AM
Post: #1
LaTeX?
Just curious if this particular forum software handles latex math markup.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
12-13-2013, 02:42 AM (This post was last modified: 12-13-2013 02:45 AM by Dave Hicks.)
Post: #2
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} \]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-13-2013, 02:44 AM
Post: #3
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
Find all posts by this user
Quote this message in a reply
12-13-2013, 02:46 AM
Post: #4
RE: LaTeX?
You should thank Katie too. She was already prodding me in this direction.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-13-2013, 02:49 AM (This post was last modified: 12-13-2013 02:51 AM by Han.)
Post: #5
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
Find all posts by this user
Quote this message in a reply
12-13-2013, 02:55 AM
Post: #6
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 [].
Visit this user's website Find all posts by this user
Quote this message in a reply
12-13-2013, 02:58 AM
Post: #7
RE: LaTeX?
Fantastic!

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
12-13-2013, 07:29 AM
Post: #8
RE: LaTeX?
Let me try how this works: \(e^{i\pi}+1=0\)
That's so much better than having to use an image:
[Image: gif.latex?e%5E%7Bi%5Cpi%7D+1%3D0]
Dave and Katie: thanks a lot!
Thomas
Find all posts by this user
Quote this message in a reply
12-13-2013, 11:32 AM
Post: #9
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
Visit this user's website Find all posts by this user
Quote this message in a reply
12-13-2013, 04:25 PM
Post: #10
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!
Find all posts by this user
Quote this message in a reply
12-13-2013, 07:26 PM
Post: #11
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.
Find all posts by this user
Quote this message in a reply
04-01-2016, 03:22 PM
Post: #12
RE: LaTeX?
\(3ax^2\)

Jose Mesquita
RadioMuseum.org member

Find all posts by this user
Quote this message in a reply
04-02-2016, 09:12 AM
Post: #13
RE: LaTeX?
How it works to write an equation as you ?

Gérard.
Find all posts by this user
Quote this message in a reply
04-02-2016, 11:18 AM (This post was last modified: 04-02-2016 12:23 PM by jebem.)
Post: #14
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 Smile

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.


Additional information:
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
RadioMuseum.org member

Find all posts by this user
Quote this message in a reply
04-02-2016, 02:30 PM
Post: #15
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-
Visit this user's website Find all posts by this user
Quote this message in a reply
04-05-2016, 03:15 PM
Post: #16
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
RadioMuseum.org member

Find all posts by this user
Quote this message in a reply
04-07-2016, 01:08 PM
Post: #17
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.
Find all posts by this user
Quote this message in a reply
04-07-2016, 02:26 PM
Post: #18
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
Visit this user's website Find all posts by this user
Quote this message in a reply
04-07-2016, 05:11 PM
Post: #19
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
RadioMuseum.org member

Find all posts by this user
Quote this message in a reply
04-07-2016, 10:24 PM
Post: #20
RE: LaTeX?
(04-02-2016 09:12 AM)ggauny@live.fr Wrote:  How it works to write an equation as you ?

Testing quote tab
Find all posts by this user
Quote this message in a reply
Post Reply 




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