How to Write Powers in Text Format on Websites?

  • Thread starter Thread starter Gringo123
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around how to write powers in text format on websites, specifically focusing on the use of formatting options available on the forum.

Discussion Character

  • Exploratory, Conceptual clarification, Mixed

Approaches and Questions Raised

  • Participants share various methods for writing powers, including using specific formatting buttons and LaTeX syntax. Some express preferences for different methods and discuss the flexibility of these options.

Discussion Status

Several participants have provided guidance on how to use different formatting options, including the use of the 'X^2' button and LaTeX commands. There appears to be a productive exchange of ideas, with multiple methods being explored without a clear consensus on a single preferred approach.

Contextual Notes

Some participants mention the need for both opening and closing tags when using certain formatting options, indicating a potential area of confusion. There is also a reference to the limitations of the forum's formatting capabilities compared to other software.

Gringo123
Messages
141
Reaction score
0
I have a few questions that I would like to post on this site involving powers. First of all, can someone please tell me how to write the small figures that represent powers? I can do it on Microsofy packages, but not on this site.
 
Physics news on Phys.org
2x = 2[*SUP]x[*/SUP] without the * (the X2 button)

or [*tex)2^x[*/tex] without the * (check the Σ button)
 
When in advanced options for a reply or when starting a thread if you want 'to the power of' where it has the X^2 where the 2 is above the x click that and insert your value which is being put to the power of in the middle of the code i.e. x2 is just x[.SUP]2[/SUP] just for example i put a fullstop in the first SUP.
 
I prefer the tex option, myself. Makes it easier to write other complicated math stuff.

[tex](\frac{x}{2})^2 = \frac{x^2}{4}[/tex]
 
Char. Limit said:
I prefer the tex option, myself. Makes it easier to write other complicated math stuff.

[tex](\frac{x}{2})^2 = \frac{x^2}{4}[/tex]

Tex is very flexible and powerful. For example parenthesis, brackets and curly braces can be scaled with

\bigr \bigl \Bigr \Bigl \biggr \biggl \Biggr and \Biggl

[tex]\bigl({{x}\over{2}}\bigr)^2 = \frac{x^2}{4}[/tex]

[tex]\biggl({{x}\over{2}}\biggr)^2 = \frac{x^2}{4}[/tex]

[tex]\Bigl({{x}\over{2}}\Bigr)^2 = \frac{x^2}{4}[/tex]

[tex]\Biggl({{x}\over{2}}\Biggr)^2 = \frac{x^2}{4}[/tex]
 
Last edited:
x[.SUP]2[/sup]
 
If you see what looks like some fancy LaTeX work, such as the things in elect_eng's post, if you double-click the expression, you can see the script that he used that renders that way.
 
[tex]x^2 should give me x to the power of 2. here goes![/tex]
 
and x^2
 
  • #10
You're missing the tex tags! [t ex] x^2 [/t ex] (remove the spaces between the t and e)
 
  • #11
You need both opening and closing tag:

[tеx]x^2[/tеx] -> [tex]x^2[/tex]
 

Similar threads

Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
928
  • · Replies 11 ·
Replies
11
Views
2K
Replies
22
Views
3K
Replies
10
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 25 ·
Replies
25
Views
2K