Insertion of Roman numerals
insert:
\RNum{2}
You can get the Roman numeral 2. The
premise is that there is this sentence at the beginning of the article:
\newcommand{\RNum}[1]{\uppercase\expandafter{\romannumeral #1\relax}}
Insertion of formulas: superscript and subscript
$$
x_k^i
$$
Subscripts and subscripts can be inserted at the same time, the
effect is as follows
xki x_k^ixki
Commonly used Greek letters tao, tau, t, fai, phi
write:
$\tau$
Effect:
τ \tauτ
writing:
$\phi$
Effect:
ϕ \phiϕ
There is a blogger who has done a good job in organizing the Greek letters, and recommends: thewriting of the Greek letters in latex
Score input
enter:
$$
a_k^i=\frac{num}{den}
$$
Effect:
aki = numden a_k^i=\frac{num}{den}aki=d e nn u m
Points input
enter:
$$
\int_{min}^{max}f(x)dx
$$
The effect is as follows:
∫ minmaxf (x) dx \int_{min}^{max}f(x)dx∫m i nmaxf(x)dx
Writing
enter:
$$
x^{\prime}
$$
Effect:
x ′ x^{\prime}x′
Use cases to implement multi-line formulas in braces
Method one
input:
$$f(x)=
\begin{cases}
x& \text{x>0}\\
0& \text{x=0}\\
-x& \text{x<0}
\end{cases}$$
效果:
f ( x ) = { x x>0 0 x=0 − x x<0 f(x)= \begin{cases} x& \text{x>0}\\ 0& \text{x=0}\\ -x& \text{x<0} \end{cases} f(x)=⎩⎪⎨⎪⎧x0−xx>0x=0x<0
Method two
input:
\begin{equation}
\left\{
\begin{array}{lr}
v=v+1& \\
s=s+1& v_k^i\leq{v_k^{\prime}}\\
\end{array}
\right.
\end{equation}
效果:
{ v = v + 1 s = s + 1 v k i ≤ v k ′ \left\{ \begin{array}{lr} v=v+1& \\ s=s+1& v_k^i\leq{v_k^{\prime}}\\ \end{array} \right. {
v=v+1s=s+1vki≤vk′
Less than or equal to and greater than or equal to
enter:
$\geq$
$\leq$
Effect:
≥ \geq≥
≤ \leq ≤
Square root
enter:
$$
y=\sqrt{x}
$$
Effect:
y = xy=\sqrt{x}Y=x
multiplication
Dot multiplication
input:
$$
a\cdot b
$$
Effect:
a ⋅ ba\cdot ba⋅b
Cross product
Input:
$$
a\times b
$$
Effect:
a × ba\times ba×b
curly braces
enter:
$\lbrace x \rbrace$
Effect:
{x} \lbrace x \rbrace{
x }
Continuously update, slowly accumulate