More actions
| Line 41: | Line 41: | ||
** Multiletter variables are bad idea and should be avoided. If they are more like words (for example acronyms) use roman, otherwise use italic. | ** Multiletter variables are bad idea and should be avoided. If they are more like words (for example acronyms) use roman, otherwise use italic. | ||
** Text should be in roman. Text variables are not exactly proper thing to do but they are fine in our wiki. | ** Text should be in roman. Text variables are not exactly proper thing to do but they are fine in our wiki. | ||
* Constants should be in roman. But this is often broken on things like <math>e</math> and <math>\pi</math>. | * Constants that never change should be in roman. But this is often broken on things like <math>e</math> and <math>\pi</math>. | ||
** Constants that are not exactly constant are in italic. For example charge of electron is "constant" but the measured value is not absolute and can change and is therefore in italic <math>e</math>. | ** Constants that are not exactly constant are in italic. For example charge of electron is "constant" but the measured value is not absolute and can change and is therefore in italic <math>e</math>. | ||
* Sub and superscripts that represent quantities should be italic. Otherwise they should be roman. For example <math> V_{\rm max}</math> (max is roman) but <math> V_{n+1}</math> (n is italic). | * Sub and superscripts that represent quantities should be italic. Otherwise they should be roman. For example <math> V_{\rm max}</math> (max is roman) but <math> V_{n+1}</math> (n is italic). | ||
| Line 48: | Line 48: | ||
** But multi letter named functions are in roman. For example <math> \mathrm{func}(x) </math>. | ** But multi letter named functions are in roman. For example <math> \mathrm{func}(x) </math>. | ||
* Units are in roman and separated from numbers by a unbreakable thin space "\,". <math> h = \frac{ E }{ m \times 9.81 \ {\rm m/s^2} } </math> (<nowiki><math> h = \frac{ E }{ m \times 9.81 \ {\rm m/s^2} } </math></nowiki>) | * Units are in roman and separated from numbers by a unbreakable thin space "\,". <math> h = \frac{ E }{ m \times 9.81 \ {\rm m/s^2} } </math> (<nowiki><math> h = \frac{ E }{ m \times 9.81 \ {\rm m/s^2} } </math></nowiki>) | ||
* Do not use "*" symbol for multiplication. Use \times insted. <math> 3 \times 2 = 6 </math> | * Do not use "*" symbol for multiplication. Use "\times" insted. <math> 3 \times 2 = 6 </math> | ||