[latex3-commits] [git/LaTeX3-latex3-latex3] master: Formatting (see #515) [ci skip] (cd4092b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Jan 7 09:22:24 CET 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/cd4092bd2c22a596a085bc20112500b5e14bfe8b
>---------------------------------------------------------------
commit cd4092bd2c22a596a085bc20112500b5e14bfe8b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Jan 7 08:22:24 2019 +0000
Formatting (see #515) [ci skip]
>---------------------------------------------------------------
cd4092bd2c22a596a085bc20112500b5e14bfe8b
l3kernel/l3fp.dtx | 14 ++++++++------
l3packages/xfp/xfp.dtx | 12 +++++++-----
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/l3kernel/l3fp.dtx b/l3kernel/l3fp.dtx
index 38ae8db..3989edc 100644
--- a/l3kernel/l3fp.dtx
+++ b/l3kernel/l3fp.dtx
@@ -94,13 +94,15 @@
% \item Extrema: $\max(x_{1},x_{2},\ldots)$, $\min(x_{1},x_{2},\ldots)$,
% $\operatorname{abs}(x)$.
% \item Rounding functions ($n=0$ by default, $t=\nan$ by default):
-% $\operatorname{trunc}(x,n)$ rounds towards zero,
-% $\operatorname{floor}(x,n)$ rounds towards~$-\infty$,
-% $\operatorname{ceil}(x,n)$ rounds towards~$+\infty$,
-% $\operatorname{round}(x,n,t)$ rounds to the closest value, with
+% \begin{itemize}
+% \item $\operatorname{trunc}(x,n)$ rounds towards zero,
+% \item $\operatorname{floor}(x,n)$ rounds towards~$-\infty$,
+% \item $\operatorname{ceil}(x,n)$ rounds towards~$+\infty$,
+% \item $\operatorname{round}(x,n,t)$ rounds to the closest value, with
% ties rounded to an even value by default, towards zero if $t=0$,
-% towards $+\infty$ if $t>0$ and towards $-\infty$ if $t<0$. And
-% \emph{(not yet)} modulo, and \enquote{quantize}.
+% towards $+\infty$ if $t>0$ and towards $-\infty$ if $t<0$.
+% \end{itemize}
+% And \emph{(not yet)} modulo, and \enquote{quantize}.
% \item Random numbers: $\mathop{rand}()$, $\mathop{randint}(m,n)$.
% \item Constants: \texttt{pi}, \texttt{deg} (one degree in radians).
% \item Dimensions, automatically expressed in points, \emph{e.g.},
diff --git a/l3packages/xfp/xfp.dtx b/l3packages/xfp/xfp.dtx
index ceef62a..c8ae444 100644
--- a/l3packages/xfp/xfp.dtx
+++ b/l3packages/xfp/xfp.dtx
@@ -109,13 +109,15 @@
% in degrees.
% \item Extrema: $\max(x_{1},x_{2},\ldots)$, $\min(x_{1},x_{2},\ldots)$,
% $\operatorname{abs}(x)$.
-% \item Rounding functions ($n=0$ by default, $t=\nan$ by default):
-% $\operatorname{trunc}(x,n)$ rounds towards zero,
-% $\operatorname{floor}(x,n)$ rounds towards~$-\infty$,
-% $\operatorname{ceil}(x,n)$ rounds towards~$+\infty$,
-% $\operatorname{round}(x,n,t)$ rounds to the closest value, with
+% \item Rounding functions ($n=0$ by default, $t=\nan$ by default:
+% \begin{itemize}
+% \item $\operatorname{trunc}(x,n)$ rounds towards zero,
+% \item $\operatorname{floor}(x,n)$ rounds towards~$-\infty$,
+% \item $\operatorname{ceil}(x,n)$ rounds towards~$+\infty$,
+% \item $\operatorname{round}(x,n,t)$ rounds to the closest value, with
% ties rounded to an even value by default, towards zero if $t=0$,
% towards $+\infty$ if $t>0$ and towards $-\infty$ if $t<0$.
+% \end{itemize}
% \item Random numbers: $\mathop{rand}()$, $\mathop{randint}(m,n)$.
% \item Constants: \texttt{pi}, \texttt{deg} (one degree in radians).
% \item Dimensions, automatically expressed in points, \emph{e.g.},
More information about the latex3-commits
mailing list