summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/vhistory/en_sets.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/vhistory/en_sets.tex')
-rw-r--r--Master/texmf-dist/doc/latex/vhistory/en_sets.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/vhistory/en_sets.tex b/Master/texmf-dist/doc/latex/vhistory/en_sets.tex
index df14b3bdf88..2702db5bfa5 100644
--- a/Master/texmf-dist/doc/latex/vhistory/en_sets.tex
+++ b/Master/texmf-dist/doc/latex/vhistory/en_sets.tex
@@ -72,7 +72,7 @@ If you determine the size of set $L$, the result\sizeofset{\sL}\is{mycounter}---
\paragraph{Testing for membership:}By using the command\\
\mbox{}\hspace{2em}\verb$\iselementofset{$$e$\verb$}{$$S$\verb$}$\\
-you can check, whether $e \in S$ is true. The effort is $O(1)$ because all work is done by the pattern matching of \TeX. The sequence\\
+you can check, whether $e \in S$ is true. The effort is $O(1)$, because all work is done by the pattern matching of \TeX. The sequence\\
\mbox{}\hspace{2em}\verb$\if \iselementofset{Bob}{\sC}Yes\else No\fi$\\
would result in the output ``\if \iselementofset{Bob}{\sC}Yes\else No\fi'', the same test with set $D$ in ``\if \iselementofset{Bob}{\sD}Yes\else No\fi''.
@@ -138,7 +138,7 @@ After execution of the command, $R$ contains the sorted set. The sorting is done
At sorting, the elements are compared as they are, i.\,e. possibly contained macros are not expanded but compared by their name (including the backslash).
-\paragraph{Removing duplicates:} The operations \emph{only} works on sorted sets! You actually will not need it very often because the creation of a set using \verb|\newset| does the work automatically (by using this macro). However, I decided to make this macro available to public; probably sometimes someone really needs it.
+\paragraph{Removing duplicates:} The operations \emph{only} works on sorted sets! You actually will not need it very often, because the creation of a set using \verb|\newset| does the work automatically (by using this macro). However, I decided to make this macro available to public; probably sometimes someone really needs it.
Duplicate removal is called with:\\
\mbox{}\hspace{2em}\verb|\deleteduplicates{|$S$\verb|}{|$R$\verb|}|,\\
with $R$ being the result set and $S$ being the sorted set, whose duplicates shall be removed.
@@ -173,4 +173,4 @@ The given complexity classes can help you to arrange a set of operations in the
\caption{Complexity classes of set operations}%
\label{tab:complexity}%
\end{center}
-\end{table}
+\end{table} \ No newline at end of file