📅  最后修改于: 2023-12-03 15:13:13.614000             🧑  作者: Mango
\root … \of
-TeX CommandThe \root...\of
command in TeX is used to typeset a mathematical expression with a radical as the root of that expression. This command is useful when you want to show a square or cube root, or generally any root of a number. It is similar to the more commonly used \sqrt
command, but allows for more flexibility in the positioning of the root.
The command has the following syntax:
\root n \of {expression}
where n
is an integer representing the degree of the root.
n
: an integer representing the degree of the root. For example, if n=2
, the command will typeset a square root.expression
: the expression to be rooted.The \root...\of
command can be used in math mode, and most commonly appears in the context of a fraction or exponent. Here are some examples of usage:
\[\sqrt{a^2+b^2}\]
can be written as
\[\root 2 \of {a^2+b^2}\]
\[\sqrt[3]{x}\]
can be written as
\[\root 3 \of x\]
\[\sqrt[4]{2}\]
can be written as
\[\root 4 \of 2\]
\[\sqrt{\sqrt{\sqrt{a}}}\]
can be written as
\[\root 2 \of {\root 2 \of {\root 2 \of a}}\]
The \root...\of
command in TeX is a versatile command for typesetting mathematical expressions with roots of arbitrary degree. It allows for more flexibility in the positioning of the root compared to the \sqrt
command, and can be used in many different contexts.