Skip to content

More places to use i^\text{th} for i-th #2003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@
\requires \tcode{I < N}. The program is ill-formed if \tcode{I} is out of bounds.

\pnum
\returns A reference to the \tcode{I}th element of \tcode{a},
\returns A reference to the $\tcode{I}^\text{th}$ element of \tcode{a},
where indexing is zero-based.
\end{itemdescr}

Expand Down
2 changes: 1 addition & 1 deletion source/locales.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4568,7 +4568,7 @@
value
\tcode{static_cast<part>(p.field[i])}
determines the
\tcode{i}th
$\tcode{i}^\text{th}$
component of the format\footnote{An array of
\tcode{char},
rather than an array of
Expand Down
8 changes: 4 additions & 4 deletions source/numerics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9243,8 +9243,8 @@
\pnum
\begin{note}
The difference between \tcode{exclusive_scan} and \tcode{inclusive_scan} is
that \tcode{exclusive_scan} excludes the \tcode{i}th input element from the
\tcode{i}th sum. If \tcode{binary_op} is not mathematically associative, the
that \tcode{exclusive_scan} excludes the $i^\text{th}$ input element from the
$i^\text{th}$ sum. If \tcode{binary_op} is not mathematically associative, the
behavior of \tcode{exclusive_scan} may be nondeterministic.
\end{note}
\end{itemdescr}
Expand Down Expand Up @@ -9349,8 +9349,8 @@
\pnum
\begin{note}
The difference between \tcode{exclusive_scan} and \tcode{inclusive_scan} is
that \tcode{inclusive_scan} includes the \tcode{i}th input element in the
\tcode{i}th sum. If \tcode{binary_op} is not mathematically associative, the
that \tcode{inclusive_scan} includes the $i^\text{th}$ input element in the
$i^\text{th}$ sum. If \tcode{binary_op} is not mathematically associative, the
behavior of \tcode{inclusive_scan} may be nondeterministic.
\end{note}
\end{itemdescr}
Expand Down
12 changes: 6 additions & 6 deletions source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4773,21 +4773,21 @@
the class template followed by the template argument list of
the partial specialization enclosed in
\tcode{<>} (or an equivalent template alias specialization).
If the \textit{n}th template parameter is
a template parameter pack, the \textit{n}th template argument is a pack
If the $n^\text{th}$ template parameter is
a template parameter pack, the $n^\text{th}$ template argument is a pack
expansion\iref{temp.variadic} whose pattern is the name of
the template parameter pack.
\end{itemize}

\pnum
The template argument list of a primary template is a
template argument list in which the
\textit{n}th
$n^\text{th}$
template argument has the value of the
\textit{n}th
$n^\text{th}$
template parameter of the class template.
If the \textit{n}th template parameter is a template
parameter pack\iref{temp.variadic}, the \textit{n}th template argument is a pack
If the $n^\text{th}$ template parameter is a template
parameter pack\iref{temp.variadic}, the $n^\text{th}$ template argument is a pack
expansion\iref{temp.variadic} whose pattern is the name of
the template parameter pack.

Expand Down
4 changes: 2 additions & 2 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@

\pnum
\ctype \tcode{TI} is the
type of the \tcode{I}th element of \tcode{Types},
type of the $\tcode{I}^\text{th}$ element of \tcode{Types},
where indexing is zero-based.
\end{itemdescr}

Expand Down Expand Up @@ -1893,7 +1893,7 @@
The program is ill-formed if \tcode{I} is out of bounds.

\pnum
\returns A reference to the \tcode{I}th element of \tcode{t}, where
\returns A reference to the $\tcode{I}^\text{th}$ element of \tcode{t}, where
indexing is zero-based.

\pnum
Expand Down