Hướng Dẫn Soạn Thảo Công Thức Toán
MOlympiad sử dụng trình soạn thảo $\LaTeX$ được biên dịch bởi Mathjax. Công thức toán học soạn thảo bởi lệnh được bao quanh bởi dấu $. Có hai loại công thức toán học cơ bản:
- Block formulas (hiển thị trên một dòng riêng biệt với văn bản chữ thông thường) được bao quanh bởi dấu $$. Ví dụ,
$$x=\frac{-b \pm \sqrt{b^2-4ac}}{2a}$$
sẽ biên dịch $$ x = \frac {-b \pm \sqrt {b^2 - 4ac}} {2a} $$ - Inline formulas (hiển thị cùng dòng với văn bản chữ thông thường) được bao quanh bởi dấu $. Ví dụ,
$f(x)=ax^2+bx+c$
sẽ biên dịch $f(x)=ax^2+bx+c$.
How To Format Mathematics?
This site has the ability to insert $\LaTeX$ math code into both posts and comments, e.g. $\int_{-\infty}^{+\infty}e^{-\pi x^2}dx=1$, math text rended by MathJax. The format for this is$Your-LaTeX-code$
. Note that double dollar signs $$
create $\LaTeX$ displays. In summary, there are two basic types of formula - Block formulas are surrounded by double dollar signs. For example,
$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
renders, on a separate line, as $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$ - Inline formulas are surrounded by single dollar signs. For example,
$f(x) = ax^2 + bx + c$
renders as $f(x) = ax^2 + bx + c$.