Ghideon 445 Posted September 7, 2018 (edited) 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 September 7, 2018 by Ghideon 0 Share this post Link to post Share on other sites
Ghideon 445 Posted June 9, 2019 (edited) (1): [math]t'= \gamma (t- \frac{vx}{c^{2} } )[/math] Edited June 9, 2019 by Ghideon 0 Share this post Link to post Share on other sites
Ghideon 445 Posted March 14, 2020 (edited) 1: 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: Edited March 14, 2020 by Ghideon 0 Share this post Link to post Share on other sites
Ghideon 445 Posted March 14, 2020 (edited) 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 Mathjax-config: inlineMath: [ ["\[math\]","\[\/math\]"], ["\\(","\\)"], ["\[latex\]","\[\/latex\]"] ], Edited March 14, 2020 by Ghideon 0 Share this post Link to post Share on other sites
Ghideon 445 Posted January 10 (edited) 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 January 10 by Ghideon 1 Share this post Link to post Share on other sites
joigus 351 Posted January 10 \[ \frac{a}{b} \] \[\frac{a}{b}\] Oh, so that's how you escape LateX. I thought I'd seen it somewhere. Thank you @Ghideon. 0 Share this post Link to post Share on other sites
studiot 2108 Posted January 10 (edited) \[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 January 10 by studiot 0 Share this post Link to post Share on other sites
joigus 351 Posted January 10 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. 0 Share this post Link to post Share on other sites
studiot 2108 Posted January 11 \[ \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. 0 Share this post Link to post Share on other sites
Sensei 1036 Posted January 12 (edited) 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 January 12 by Sensei 0 Share this post Link to post Share on other sites
studiot 2108 Posted January 12 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. 0 Share this post Link to post Share on other sites
joigus 351 Posted January 12 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. 0 Share this post Link to post Share on other sites
Kino 4 Posted 23 hours ago Just testing: \( a^2+b^2=c^2 \) 0 Share this post Link to post Share on other sites