Post Reply 
Math typesetting
04-19-2021, 06:37 PM (This post was last modified: 11-05-2021 11:07 AM by Mike (Austria).)
Post: #1
Math typesetting
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.
Find all posts by this user
Quote this message in a reply
04-20-2021, 02:06 AM
Post: #2
RE: Math typesetting
\(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.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
04-20-2021, 12:26 PM
Post: #3
RE: Math typesetting
To see how the above equations are created, click the "quote" button, just be sure not to create a spurious post.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)