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

UNI wiki allows adding equations in Failed to parse (unknown function "\LaTeX"): {\displaystyle \LaTeX} by using SimpleMathJax. Just place the expression in between <math></math> and it will be rendered.

You will be expected to learn to use Latex from other sources. This page contains only some useful information and formatting guidelines for you to use.

Useful Failed to parse (unknown function "\LaTeX"): {\displaystyle \LaTeX} knowledge

  • Spaces do not do anything. Use plenty of them to make the commands easy to read
    • This here has 17 spaces in it (visible only in editor): <math> a = b + c </math> a=b+c
  • \text{} makes spaces visible and text into roman.
    • <math> \text{This is like normal text} = This is math text </math> This is like normal text=Thisismathtext
    • \mathrm is similar but does not remove spaces. <math> \mathrm{arc sinh} </math> arcsinh
  • \rm will make the whole thing to be in roman instead of italic. Spaces will still be removed.
    • <math> \rm Velocity = S p e e d </math> Velocity=Speed
    • {} can be used to limit its scope. <math> { \rm Roman } = Italic</math> Roman=Italic
  • "\ " adds single space.
    • <math> abb \ b\ b\ b </math> abbbbb
  • "\," adds single thin space
    • <math> abb \,b\,b\,b </math> abbbbb
  • \displaystyle makes tall equations bigger and more beautiful. Will apply on things like sums and fractions.
    • <math> a= \frac{b}{c} + \sum_{k=1}^n a_k b_k </math> a=bc+k=1nakbk
    • <math> \displaystyle a= \frac{b}{c} + \sum_{k=1}^n a_k b_k </math> a=bc+k=1nakbk
  • \large, \Large and \LARGE make text bigger. Like with \rm use {} to limit their scope. These help with things nested in exponents as exponent makes things smaller.
    • <math> a^{\Large \frac{b}{c} } </math> Failed to parse (unknown function "\Large"): {\displaystyle a^{\Large \frac{b}{c} } } . Compare to abc
  • Long equations can be split to multiple separate <math> lines. It will look the same as if it was written in one go.
    • <math> a+a+a+a+a+a+a+a+a+a+a++a+a+a+a+b+b+b+b+b+b++b+b+b+b+b++b+b+b+b+b </math> a+a+a+a+a+a+a+a+a+a+a++a+a+a+a+b+b+b+b+b+b++b+b+b+b+b++b+b+b+b+b
    • <math> a+a+a+a+a+a+a+a+a+a+a++a+a+a+a </math>
      <math> +b+b+b+b+b+b++b+b+b+b+b++b+b+b+b+b </math> a+a+a+a+a+a+a+a+a+a+a++a+a+a+a+b+b+b+b+b+b++b+b+b+b+b++b+b+b+b+b

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 strictly following guidelines.

If you have time you can read 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.
    • 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.
  • Mathematical constants should be in roman. But this is often broken on things like e and π.
    • Constants that are not exactly constant are in italic. For example charge of electron is "constant" but it is a measuread value and the measured value is not absolute and can change and is therefore in italic e.
  • Sub and superscripts that represent quantities should be italic. Otherwise they should be roman. For example Vmax (max is roman) but Vn+1 (n is italic).
  • Mathematical operators and special functions are in roman. Usually this happens automatically. For example sinα (<math> \sin\alpha </math>). But some operators will require manually setting. For example dxdt (<math> \frac{ \mathrm{d} x }{ \mathrm{d} t} </math>) and arcsinhα (<math> \mathrm{arcsinh}\,\alpha </math>).
  • Single letter functions you define are italic. For example f(x).
    • But multi letter named functions are in roman. For example func(x).
  • Units are in roman and separated from numbers by a unbreakable thin space "\,". h=Em×9.81m/s2 (<math> h = \frac{ E }{ m \times 9.81 \ {\rm m/s^2} } </math>)
  • Do not use "*" symbol for multiplication. Use "\times" insted. 3×2=6