Typing operators in PF threads

  • Thread starter Thread starter fireflies
  • Start date Start date
  • Tags Tags
    operators
fireflies
Messages
210
Reaction score
13
Hi, I am new here. I don't know how can I type mathematical operators or symbols here. Can anyone help me out?
 
Physics news on Phys.org
Lots of codes there, but still a solution. Thank you
 
fireflies said:
Lots of codes there, but still a solution. Thank you
If you just need something quick when replying to a post, click on the
redactor_s.png
and you'll get a list of symbols that you can pick from that will be inserted.
 
  • Like
Likes   Reactions: fireflies
Yeah, it's working. Thanks
 
fireflies said:
Hi, I am new here. I don't know how can I type mathematical operators or symbols here. Can anyone help me out?
The LaTeX I use most often is for fractions, integrals, limits, and sums.
For inline LaTeX, use two # symbols at the beginning and two more at the end of the LaTeX script.
For standalone LaTeX, use two $ symbols at the beginning and two more at the end. I don't care much for the standalone forms, because our new forum software centers the stuff on the middle of the line.

Here is some sample script without the # symbols fore and aft, so you can see what it looks like, followed by how the script renders in both inline and standalone form:

Fractions:
\frac {a + b}{c + d}
Renders as:
##\frac {a + b}{c + d}##
$$\frac {a + b}{c + d}$$

Integrals:
\int_{x = 0}^{12} f(t) dt
##\int_{x = 0}^{12} f(t) dt##
$$\int_{x = 0}^{12} f(t) dt$$

Limits:
\lim_{n \to \infty} \frac{n}{2n - 1} = \frac{1}{2}
Renders as:
##\lim_{n \to \infty} \frac{n}{2n - 1} = \frac{1}{2}##
$$\lim_{n \to \infty} \frac{n}{2n - 1} = \frac{1}{2}$$

Sums:
\sum_{n = 0}^{N}a_n
##\sum_{n = 0}^{N}a_n##
$$\sum_{n = 0}^{N}a_n$$
 
  • Like
Likes   Reactions: fireflies
Wow! I actually was looking forlimits. But what is inline and standalone latex?
 
fireflies said:
Wow! I actually was looking forlimits. But what is inline and standalone latex?
Inline is for inserting the expression right in the middle of surrounding text, such a ##\sqrt{2x + 1}##.

Standalone puts a slightly more expanded version on its own line: $$\sqrt{2x + 1}$$

BTW, what I typed was \sqrt{2x + 1}

For a cube root, \sqrt[3]{2x + 1}
 
  • Like
Likes   Reactions: fireflies
Making an attempt:

## \frac {a + b} {c + d} ##

## y = a x^2 + b x + c ##

## \Delta \theta = \omega_0 t + \frac {1}{2} \alpha t^2 ##
 
  • Like
Likes   Reactions: fireflies
  • #10
\frac{1}{2} nothing happens!
 
  • #11
fireflies said:
\frac{1}{2} nothing happens!

Put that text between double hash tags.

## \frac{1}{2} ##
 
  • #12
##\frac{1}{2}##

Great!
 
  • Like
Likes   Reactions: EM_Guy
  • #13
fireflies said:
\frac{1}{2} nothing happens!
Like I said earlier,
Mark44 said:
For inline LaTeX, use two # symbols at the beginning and two more at the end of the LaTeX script.
For standalone LaTeX, use two $ symbols at the beginning and two more at the end.
 
  • Like
Likes   Reactions: fireflies
  • #14
Mark44 said:
Like I said earlier,
Yeah, now it's all clear to me. Thanks
 

Similar threads

  • Poll Poll
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
10
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K