I do not understand why in some figures they put $t_{1-\alpha/2}$. Why is the subscript $1-\alpha/2$ used?
I know that $t_{\alpha/2}$ and $-t_{\alpha/2}$ are used to construct confidence intervals.
You want a total area in your rejection region of $\alpha$.
If your rejection region is two-tailed, that means there's an area of $\alpha/2$ in each tail.
The upper tail critical value that has and area of $\alpha/2$ above it has an area of $1-\alpha/2$ below it.
The t- critical value that has an area of $1-\alpha/2$ below it is denoted as the $t_{1-\alpha/2}$ value.
For a two-sided confidence interval you want a probability (and hence, area) of $1-\alpha$ between the two bounds, and so $\alpha/2$ in each tails. That is, the same calculations apply.