Jump to content

Featured Replies

Just trying [math] for the first time...

(Vfy)^2=(VisinΘ)^2+2ay⋅Δy

[math] V_{fy}^{2} = V*sin( \phi )^{2}*2a_{y}* \Delta _{y}[/math]

Edited by Ghideon

  • 9 months later...
  • Author

(1):  [math]t'= \gamma (t- \frac{vx}{c^{2} } )[/math]

 

Edited by Ghideon

  • 9 months later...
  • Author

1: PNG: image.png.216479226984d4809b87c0d5a979b178.png

2: Plain text: f(x):=0

3: text between math brackets: [math]f(x):=0[/math]

4: Screenshot of line 3 above before pushing submit:

image.png.8c7fcaef1b598db222bfe5a3b94b9e52.png

 

Edited by Ghideon

  • Author

Three different modes tested:

[math]f(x):=0[/math]

\(f(x):=0\)

[latex]f(x):=0[/latex]

Code for above is

[math]f(x):=0[/math]

\(f(x):=0\)

[latex]f(x):=0[/latex]

Screendump from browser

image.png.09d5249ca4c056ab5a4d93bd2915e9ca.png

Mathjax-config: 

inlineMath: [ ["\[math\]","\[\/math\]"], ["\\(","\\)"], ["\[latex\]","\[\/latex\]"] ],

 

Edited by Ghideon

  • 9 months later...
  • Author

Testing inlined math using hint from @joigus*, square brackets vs parentheses. 

Sentence with three definitions [math]f(x^{2})=\frac{y}{2} [/math] \(f(x^{2})=\frac{y}{2}\) [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

Sentence with no math. 

New sentence [math]f(x^{2})=\frac{y}{2}[/math] \[f(x^{2})=\frac{y}{2}\] [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

 

<end of test>

Below is the code for the above 

Sentence with three definitions [math]f(x^{2})=\frac{y}{2} [/math] \(f(x^{2})=\frac{y}{2}\) [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

Sentence with no math. 

New sentence [math]f(x^{2})=\frac{y}{2}[/math] \[f(x^{2})=\frac{y}{2}\] [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

 

*) Thanks !

Edited by Ghideon

\[ \frac{a}{b} \]

\[\frac{a}{b}\]

Oh, so that's how you escape LateX.

I thought I'd seen it somewhere. Thank you @Ghideon.

\[CaC{O_3}\xrightarrow[{heat}]{}CaO + C{O_2}\]

Displaying the command text in AMS Latex works if you omit the first backslash or put it between < >

[CaC{O_3}\xrightarrow[{heat}]{}CaO + C{O_2}\]

<\>[CaC{O_3}\xrightarrow[{heat}]{}CaO + C{O_2}\]

 

 

 

 

Edited by studiot

55 minutes ago, studiot said:

Displaying the command text in AMS Latex works if you omit the first backslash or put it between < >

That's nice. Only thing is that you're forced to leave out the braces, which maybe you want to make explicit. But you gave me an idea. Let's see if it works:

\[ \textrm{ \[ \frac{a}{b} \] } \]

\[ \text{ \[ \frac{a}{b} \] } \]

Look at that. It does...

You only have to escape the math mode inside the LateX with the \textrm{} or \text{} commands.

\[ \frac{a}{b} \] 

23 hours ago, joigus said:

\[ \frac{a}{b} \] 

\[ \frac{a}{b} \] 

Yes it seems to be copy and pastable.

I say that as I try to provide something that does not generate an error code here but can be copy/pasted rather than typed in.

On 1/10/2021 at 6:24 PM, Ghideon said:

Below is the code for the above 

You don't need brackets {} if superscript or subscript has just one character. e.g. x^2 instead of x^{2}. Subscript you make using _ character.

[math]x^2[/math]

[math]x_a[/math]

 

 

Edited by Sensei

14 hours ago, studiot said:

Yes it seems to be copy and pastable.

Yes it is copy and pastable, but sadly I now note that it did not produce my intended effect.

Yes I copy.pasted from your post and it reproduced the listing of your code as you have shown it,

But MathJax the Mangler  later intervened and now my copy comes out showing the action (ie the fraction) not the code.

16 minutes ago, studiot said:

Yes it is copy and pastable, but sadly I now note that it did not produce my intended effect.

Yes I copy.pasted from your post and it reproduced the listing of your code as you have shown it,

But MathJax the Mangler  later intervened and now my copy comes out showing the action (ie the fraction) not the code.

It interacts badly with the round brackets also when you want to show the inline maths tags. It may interact badly with other tags too. I think the safest thing when you want to show code is the code button on the toolbar.

  • 2 weeks later...
  • 2 years later...
  • Author

\[ \frac{a}{b} \]

\[  \sqrt[x]{x}=y, x \in  \mathbb{R}  \]

Text \(  \sqrt[x]{x}=y, x \in  \mathbb{R}  \) some more text

Edited by Ghideon

  • 1 month later...

test sentence

\[ \rho^2 \] ...

do i have to post to get a preview? 😮
[math]x^{2}[/math]

man make it work!
inline test \( \sqrt{2} \)

Edited by Killtech

  • 1 year later...
  • Author
On 9/10/2023 at 10:20 AM, Ghideon said:

ab

x−−√x=y,x∈R

Text x−−√x=y,x∈R some more text

Testing after forum update


Sentence with three definitions [math]f(x^{2})=\frac{y}{2} [/math] \(f(x^{2})=\frac{y}{2}\) [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

Sentence with no math. 

New sentence [math]f(x^{2})=\frac{y}{2}[/math] \[f(x^{2})=\frac{y}{2}\] [latex]f(x^{2})=\frac{y}{2}[/latex] end of sentence.

Edited by Ghideon

  • 4 weeks later...

[math]\color{blue}{a + b = c}[/math]

[math]\color{blue}{\text{test}}[/math]

Edited by Orion1

  • 1 month later...
  • Author

Testing an editor

\[ \frac{\pi}{4} = \sum_{k=0}^{\infty} \frac{(-1)^k}{2k+1} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots \]

\[ 4* \sum_{k=0}^{\infty} \frac{(-1)^k}{2k+1} \]

Edited by Ghideon

53 minutes ago, Ghideon said:

Testing an editor

π4=∑k=0∞(−1)k2k+1=1−13+15−17+⋯

4∗∑k=0∞(−1)k2k+1

Good one!

I would call this a "virtual split".

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.