How do I insert math to a post?

  • Thread starter Thread starter KorvusKoraks
  • Start date Start date
AI Thread Summary
To insert math into a post, users should utilize LaTeX formatting, as there is no dedicated button for this function. Expressions can be enclosed in double dollar signs $$ or single dollar signs $ to render them correctly. Superscripts are indicated with ^, subscripts with _, and grouping is done using curly brackets. Users can also learn LaTeX commands by right-clicking on existing formulas and selecting "Show Math as...". Familiarity with LaTeX will enhance the ability to format mathematical expressions effectively in posts.
KorvusKoraks
Messages
2
Reaction score
0
I can't see a button for that anywhere :(

So that for example in 1/2 the "/" would be a horizontal line.
 
Physics news on Phys.org
KorvusKoraks said:
I can't see a button for that anywhere :(

So that for example in 1/2 the "/" would be a horizontal line.
There's no button. It's LaTeX. Have a look at the LaTeX Primer.
 
  • Like
Likes KorvusKoraks
You use ##\LaTeX##, for which see the guidelines: (point 6)

(##\TeX## commercial:)

It's so easy ! just put ## or $$ around the expression to get ##LaTeX## .

So $$(aB/2)t^2 + vB(initial)*t - vA(initial)*t + xBi = 0$$ becomes $$(aB/2)t^2 + vB(initial)*t - vA(initial)*t + xBi = 0$$
Then: superscripts come with ^ and subscripts with _ and grouping goes with curly brackets {...}

You learn from other posts with a right-click on the formula and picking Show Math as ... ##\TeX## commands.

For your question: \frac {a+2} {b} gives ## \frac {a+2} {b} ## and {1-2-3\over 4-5-6} gives ##{1-2-3\over 4-5-6} ##

[edit] by the way: :welcome: ! And don't hesitate to post whatever. We are used to imperfection (we only strive for perfecetion :smile:)

[edit] perfection (unintended, but fortunate typo -- I like having it there :rolleyes: )
 
Last edited:
  • Like
Likes KorvusKoraks
  • Like
Likes KorvusKoraks
Borg said:
There's no button. It's LaTeX. Have a look at the LaTeX Primer.

BvU said:
You use ##\LaTeX##, for which see the guidelines: (point 6)

(##\TeX## commercial:)

It's so easy ! just put ## or $$ around the expression to get ##LaTeX## .

So $$(aB/2)t^2 + vB(initial)*t - vA(initial)*t + xBi = 0$$ becomes $$(aB/2)t^2 + vB(initial)*t - vA(initial)*t + xBi = 0$$
Then: superscripts come with ^ and subscripts with _ and grouping goes with curly brackets {...}

You learn from other posts with a right-click on the formula and picking Show Math as ... ##\TeX## commands.

For your question: \frac {a+2} {b} gives ## \frac {a+2} {b} ## and {1-2-3\over 4-5-6} gives ##{1-2-3\over 4-5-6} ##

[edit] by the way: :welcome: ! And don't hesitate to post whatever. We are used to imperfection (we only strive for perfecetion :smile:)

fresh_42 said:
It would be ##\text{##\frac{1}{2}##}## or ##\text{\frac{1}{2}}## or ½ with the usage of the symbols you may use after clicking on ∑ in the editor window.

See also:
https://www.physicsforums.com/help/latexhelp/
http://detexify.kirelabs.org/symbols.html
https://www.sharelatex.com/learn/Spacing_in_math_mode

Thanks a lot to everyone for the info! I have used LaTeX before, I'll have to try to recall how to use it...
 

Similar threads

Back
Top