Ghideon Posted September 7, 2018 Share 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 Link to comment Share on other sites More sharing options...
Ghideon Posted June 9, 2019 Author Share Posted June 9, 2019 (edited) (1): [math]t'= \gamma (t- \frac{vx}{c^{2} } )[/math] Edited June 9, 2019 by Ghideon Link to comment Share on other sites More sharing options...
Ghideon Posted March 14, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
Ghideon Posted March 14, 2020 Author Share 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 1 Link to comment Share on other sites More sharing options...
Ghideon Posted January 10, 2021 Author Share Posted January 10, 2021 (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, 2021 by Ghideon 1 Link to comment Share on other sites More sharing options...
joigus Posted January 10, 2021 Share Posted January 10, 2021 \[ \frac{a}{b} \] \[\frac{a}{b}\] Oh, so that's how you escape LateX. I thought I'd seen it somewhere. Thank you @Ghideon. Link to comment Share on other sites More sharing options...
studiot Posted January 10, 2021 Share Posted January 10, 2021 (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, 2021 by studiot Link to comment Share on other sites More sharing options...
joigus Posted January 10, 2021 Share Posted January 10, 2021 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. Link to comment Share on other sites More sharing options...
studiot Posted January 11, 2021 Share Posted January 11, 2021 \[ \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. Link to comment Share on other sites More sharing options...
Sensei Posted January 12, 2021 Share Posted January 12, 2021 (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, 2021 by Sensei Link to comment Share on other sites More sharing options...
studiot Posted January 12, 2021 Share Posted January 12, 2021 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. Link to comment Share on other sites More sharing options...
joigus Posted January 12, 2021 Share Posted January 12, 2021 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. Link to comment Share on other sites More sharing options...
Kino Posted January 22, 2021 Share Posted January 22, 2021 Just testing: \( a^2+b^2=c^2 \) Link to comment Share on other sites More sharing options...
Ghideon Posted September 10 Author Share Posted September 10 (edited) \[ \frac{a}{b} \] \[ \sqrt[x]{x}=y, x \in \mathbb{R} \] Text \( \sqrt[x]{x}=y, x \in \mathbb{R} \) some more text Edited September 10 by Ghideon Link to comment Share on other sites More sharing options...
Killtech Posted October 26 Share Posted October 26 (edited) 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 October 26 by Killtech Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now