# \uproot

Used inside a \root...\of expression to shift the root index upward relative to the radical.

https://texform.dev/latex/commands/uproot

## Metadata

| Field | Value |
| --- | --- |
| Topic | [Fractions and roots](https://texform.dev/latex/topics/fractions-roots) |
| Packages | base |
| Allowed mode | math |
| Tags | presentation |
| Commonality | low |
| Kind | prefix |

## Syntax

### base

Argument specification: `m:I`

Used inside a \root...\of expression to shift the root index upward relative to the radical.

## Examples

```latex
\root\uproot{2}3\of{x}
```

[Open in Playground](https://play.texform.dev/?input=%5Croot%5Cuproot%7B2%7D3%5Cof%7Bx%7D)

## Renderer support

| Package | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- |
| base | full | none | none |

## Usage frequency

<0.01% of formulas in the measured corpus contain this entry, rank 228 of 263 entries with frequency data.

## In TeXForm

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

### [base/uproot-drop](https://texform.dev/rules/base/uproot-drop)

Drop the uproot index-position hint in cleanup-oriented normalization.

Level: corpus. Fidelity: reading.

```latex
\uproot{#1}
```

→

```latex

```

```latex
\sqrt[\uproot{2}3]{k}
```

→

```latex
\sqrt[3]{k}
```

## Equivalent forms

```latex
\uproot2
```

exact. Exact for single-token nonnegative integers, since MoveRoot uses GetArgument and therefore accepts an unbraced token argument as well as a braced group.

## See also

- [\\leftroot](https://texform.dev/latex/commands/leftroot)

## Test cases

### base

| Input | Case | MathJax | KaTeX | XeTeX |
| --- | --- | --- | --- | --- |
| \sqrt[\uproot{2} 3]{a} | Positive: ctx:in-root | Pass | Fail | Fail |
