Math typesetting
04-19-2021, 06:37 PM (This post was last modified: 11-05-2021 11:07 AM by Mike (Austria).)
Post: #1
 Mike (Austria) Junior Member Posts: 11 Joined: Sep 2018
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.
04-20-2021, 02:06 AM
Post: #2
 Joe Horn Senior Member Posts: 2,004 Joined: Dec 2013
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-
04-20-2021, 12:26 PM
Post: #3
 David Hayden Senior Member Posts: 461 Joined: Dec 2013
RE: Math typesetting
To see how the above equations are created, click the "quote" button, just be sure not to create a spurious post.
 « Next Oldest | Next Newest »

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