Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Hirmuolio Pine/sandbox3: Difference between revisions

From EVE University Wiki
Hirmuolio Pine (talk | contribs)
Hirmuolio Pine (talk | contribs)
No edit summary
Line 1: Line 1:


Extra reading: [http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf]
 


== Useful <math>\LaTeX</math> knowledge ==
== Useful <math>\LaTeX</math> knowledge ==
Line 34: Line 34:
== Style ==
== Style ==


Style guidelines for math vary by location and field. Don't worry about them too much. Being consistent, unambiguous and readable is more important than to follow guidelines.
Style guidelines for math vary by location and field. Don't worry about them too much. Being consistent, unambiguous and readable is more important than strictly following guidelines.
 
If you have time you can read [http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf%20www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf Type setting mathematics for science and technology according to ISO 31/XI]. Some of the main points are listed below:


* Variables and letters that represent values should be in italic.
* Variables and letters that represent values should be in italic.
* Text should be in roman. Text variables are not exactly proper thing to do but they are fine in our wiki.
** Multiletter variables are bad idea and should be avoided. If they are more like words (for example acronyms) use roman, otherwise use italic.
* Constant should be in roman. But this is often broken on things like <math>e</math> and <math>\pi</math>.
** Text should be in roman. Text variables are not exactly proper thing to do but they are fine in our wiki.
** Constants that are not exactly constant are in italic. For example charge of electron is "constant" but the measured value can change and is therefore in italic <math>e</math>.
* Constants should be in roman. But this is often broken on things like <math>e</math> and <math>\pi</math>.
* Multiletter variables are bad idea and should be avoided. If they are more like words (for example acronyms) use roman, otherwise use italic.
** 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).
* Mathematical operators and special functions are in roman. Usually this happens automatically. For example <math> \sin\alpha </math> (<nowiki><math> \sin\alpha </math></nowiki>). But some operators will require manually setting. For example <math> \frac{ \mathrm{d} x }{ \mathrm{d} t} </math> (<nowiki><math> \frac{ \mathrm{d} x }{ \mathrm{d} t} </math></nowiki>) and <math> \mathrm{arcsinh}\,\alpha </math> (<nowiki><math> \mathrm{arcsinh}\,\alpha </math></nowiki>).
* Mathematical operators and special functions are in roman. Usually this happens automatically. For example <math> \sin\alpha </math> (<nowiki><math> \sin\alpha </math></nowiki>). But some operators will require manually setting. For example <math> \frac{ \mathrm{d} x }{ \mathrm{d} t} </math> (<nowiki><math> \frac{ \mathrm{d} x }{ \mathrm{d} t} </math></nowiki>) and <math> \mathrm{arcsinh}\,\alpha </math> (<nowiki><math> \mathrm{arcsinh}\,\alpha </math></nowiki>).
* Single letter functions you define are italic. <math> f(x) </math>
* Single letter functions you define are italic. For example <math> f(x) </math>.
* But multi letter named functions are in roman. <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 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 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>