From 645ff26f8d0ae83024190158999b2859945f0b12 Mon Sep 17 00:00:00 2001 From: Francis Gagnon <34136215+franckgaga@users.noreply.github.com> Date: Sat, 29 Nov 2025 15:59:16 -0500 Subject: [PATCH 1/3] Fix LaTeX alignement in example of `VectorNonlinearOracle` docstring --- src/sets.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sets.jl b/src/sets.jl index 105148219c..d5a819ecff 100644 --- a/src/sets.jl +++ b/src/sets.jl @@ -2741,10 +2741,10 @@ Any mix of lower and upper-triangular indices is valid. Elements `(i, j)` and To model the set: ```math -\\begin{align} -0 \\le & x^2 \\le 1 -0 \\le & y^2 + x \\cdot z^3 - w \\le 0 -\\end{align} +\\begin{aligned} +0 &\\le x^2 & \\le 1 \\\\ +0 &\\le y^2 + z^3 - w & \\le 0 +\end{aligned} ``` do ```jldoctest From 68c89c34ed3af422b3d9ae405312275ac4905b4b Mon Sep 17 00:00:00 2001 From: Francis Gagnon <34136215+franckgaga@users.noreply.github.com> Date: Sat, 29 Nov 2025 17:06:27 -0500 Subject: [PATCH 2/3] Correct the alignement on the new set (commit `f87585c`) --- src/sets.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sets.jl b/src/sets.jl index d5a819ecff..bd13dea223 100644 --- a/src/sets.jl +++ b/src/sets.jl @@ -2742,8 +2742,8 @@ Any mix of lower and upper-triangular indices is valid. Elements `(i, j)` and To model the set: ```math \\begin{aligned} -0 &\\le x^2 & \\le 1 \\\\ -0 &\\le y^2 + z^3 - w & \\le 0 +0 &\\le x^2 & \\le 1 \\\\ +0 &\\le y^2 + x \\cdot z^3 - w & \\le 0 \end{aligned} ``` do From 1ba8cabd5ce429c01091bbd338569a5b3b924d8e Mon Sep 17 00:00:00 2001 From: Francis Gagnon <34136215+franckgaga@users.noreply.github.com> Date: Sat, 29 Nov 2025 17:08:10 -0500 Subject: [PATCH 3/3] Forgot a double `\` --- src/sets.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sets.jl b/src/sets.jl index bd13dea223..915966ace8 100644 --- a/src/sets.jl +++ b/src/sets.jl @@ -2744,7 +2744,7 @@ To model the set: \\begin{aligned} 0 &\\le x^2 & \\le 1 \\\\ 0 &\\le y^2 + x \\cdot z^3 - w & \\le 0 -\end{aligned} +\\end{aligned} ``` do ```jldoctest