Skip to content

Commit c463320

Browse files
committed
Fix all overfull \hboxes throughout standard.
Fixes #1540, part of #693.
1 parent 94eedbf commit c463320

File tree

9 files changed

+214
-140
lines changed

9 files changed

+214
-140
lines changed

source/algorithms.tex

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,28 +2092,42 @@
20922092
\complexity
20932093
\begin{itemize}
20942094
\item
2095-
For the overloads with no \tcode{ExecutionPolicy}, no applications of the
2096-
corresponding predicate if
2095+
For the overloads with no \tcode{ExecutionPolicy},
2096+
\begin{itemize}
2097+
\item
2098+
if
20972099
\tcode{InputIterator1}
20982100
and
20992101
\tcode{InputIterator2}
2100-
meet the requirements of random access iterators and
2101-
\tcode{last1 - first1 != last2 - first2};
2102-
otherwise, at most
2102+
meet the requirements of random access iterators~(\ref{random.access.iterators})
2103+
and
2104+
\tcode{last1 - first1 != last2 - first2},
2105+
then
2106+
no applications of the corresponding predicate; otherwise,
2107+
2108+
\item
2109+
at most
21032110
$\min(\tcode{last1 - first1}, \tcode{last2 - first2})$
21042111
applications of the corresponding predicate.
2112+
\end{itemize}
21052113

21062114
\item
2107-
For the overloads with no \tcode{ExecutionPolicy}, no applications of the
2108-
corresponding predicate if
2115+
For the overloads with no \tcode{ExecutionPolicy},
2116+
\begin{itemize}
2117+
\item
2118+
if
21092119
\tcode{ForwardIterator1}
21102120
and
21112121
\tcode{ForwardIterator2}
21122122
meet the requirements of random access iterators and
2113-
\tcode{last1 - first1 != last2 - first2};
2114-
otherwise, \bigoh{\min(\tcode{last1 - first1}, \tcode{last2 - first2})} applications
2123+
\tcode{last1 - first1 != last2 - first2}, then
2124+
no applications of the corresponding predicate; otherwise,
2125+
2126+
\item
2127+
\bigoh{\min(\tcode{last1 - first1}, \tcode{last2 - first2})} applications
21152128
of the corresponding predicate.
21162129
\end{itemize}
2130+
\end{itemize}
21172131
\end{itemdescr}
21182132

21192133
\rSec2[alg.is_permutation]{Is permutation}
@@ -2156,7 +2170,7 @@
21562170

21572171
\pnum
21582172
\complexity No applications of the corresponding predicate if \tcode{ForwardIterator1}
2159-
and \tcode{ForwardIter\-ator2} meet the requirements of random access iterators and
2173+
and \tcode{Forward\-Iter\-ator2} meet the requirements of random access iterators and
21602174
\tcode{last1 - first1 != last2 - first2}.
21612175
Otherwise, exactly \tcode{last1 - first1} applications of the
21622176
corresponding predicate if \tcode{equal(\brk{}first1, last1, first2, last2)}

source/back.tex

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,44 @@
66
corresponding section number and page number, in alphabetical order by label.\\}
77
\twocolglossary
88
\renewcommand{\leftmark}{\glossaryname}
9+
{
10+
\raggedright
911
\printglossary[xrefindex]
12+
}
1013

1114
\clearpage
1215
\renewcommand{\leftmark}{\indexname}
16+
{
17+
\raggedright
1318
\printindex[generalindex]
19+
}
1420

1521
\clearpage
1622
\renewcommand{\indexname}{Index of grammar productions}
1723
\renewcommand{\preindexhook}{The first page number for each entry is the page in the
1824
general text where the grammar production is defined. The second page number is the
1925
corresponding page in the Grammar summary (Annex~\ref{gram}).\\}
2026
\renewcommand{\leftmark}{\indexname}
27+
{
28+
\raggedright
2129
\printindex[grammarindex]
30+
}
2231

2332
\clearpage
2433
\renewcommand{\preindexhook}{}
2534
\renewcommand{\indexname}{Index of library names}
2635
\renewcommand{\leftmark}{\indexname}
36+
{
37+
\raggedright
2738
\printindex[libraryindex]
39+
}
2840

2941
\clearpage
3042
\renewcommand{\preindexhook}{The entries in this section are rough descriptions; exact
3143
specifications are at the indicated page in the general text.\\}
3244
\renewcommand{\indexname}{Index of implementation-defined behavior}
3345
\renewcommand{\leftmark}{\indexname}
46+
{
47+
\raggedright
3448
\printindex[impldefindex]
49+
}

0 commit comments

Comments
 (0)