HP Forums

Full Version: Math typesetting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
spaces in inline formulae
\(a\;b\) semicolon
\(a\:b\) colon
\(a\,b\) comma
\(ab\) juxtaposition
\(a\!b\) exclamation
inline frac!
\(a/b\) solidus
\(\frac{a}{b}\) frac
\(\dfrac{a}{b}\) dfrac

mean \( \bar {x} = \frac{1}{n}\,\sum_{i=1}^{n}x_{i} \) and standard deviation \( \mathsf{s}_{x} = \sqrt{ \frac{ \sum x^2 - (\sum x)^2 / n }{ n -1 } } \)

Display formula \[ \zeta(s) = \sum_{n=1}^{\infty}\frac{1}{n^s} \] and more text

Unicode in text: √x a→b x↔y x×y x÷y Σx² 2πr x≤y x≥y

Code:

and in code: √x a→b x↔y x×y x÷y Σx² 2πr x≤y x≥y

Fonts for inline operations display:
default √x a→b x↔y x×y x÷y Σx² 2πr x≤y x≥y
vs. Trebuchet MS √x a→b x↔y x×y x÷y Σx² 2πr x≤y x≥y
vs. Courier √x a→b x↔y x×y x÷y Σx² 2πr x≤y x≥y.
It seems that the font used for code sections is not available inline, but Trebuchet is more legible than default or Courier.

Bullets
  • first item
  • second item
Numbers
  1. unnumbered item
  2. anonymous item
  3. semi last item

The HP Museum
Quote:This is not really a quote, and this is bold and italic and both


Fixed width Courier font alignment V
^

Does not work. Leading blanks are eliminated and so are multiple blanks.

Inline HTML: according to daring fireball HTML tags can be inlined into markdown by separating them by blank lines. This does not work. MyBB markdown is different. Neither do LaTeX tables.
\(x+\dfrac{x}{x+\dfrac{x}{x+\dfrac{x}{x}}}\) = \(x+\cfrac{x}{x+\cfrac{x}{x+\cfrac{x}{x}}}\)

The left expressions uses only dfrac. The right expression uses only cfrac. The only difference in the result is the vertical spacing.
To see how the above equations are created, click the "quote" button, just be sure not to create a spurious post.
Reference URL's