From cbbebed39392f379271223173ef9a81d655d4027 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Tue, 22 Nov 2022 11:29:56 +0100 Subject: [PATCH 1/2] Let latexify decide on `cdot` --- src/latexify_recipes.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/latexify_recipes.jl b/src/latexify_recipes.jl index 17b5ba5d5..91533a816 100644 --- a/src/latexify_recipes.jl +++ b/src/latexify_recipes.jl @@ -40,7 +40,6 @@ recipe(n) = latexify_derivatives(cleanup_exprs(_toexpr(n))) @latexrecipe function f(n::Num) env --> :equation - cdot --> false return recipe(n) end From 587f1003c0c3a3019a4028455f69adce260cb45c Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Tue, 22 Nov 2022 12:01:25 +0100 Subject: [PATCH 2/2] update test result --- test/latexify_refs/frac2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/latexify_refs/frac2.txt b/test/latexify_refs/frac2.txt index d243cc50e..92809f929 100644 --- a/test/latexify_refs/frac2.txt +++ b/test/latexify_refs/frac2.txt @@ -1,3 +1,3 @@ \begin{equation} -\frac{\left( z - z^{2} \right) \left( 3 x - 7 z^{23} y \right)}{x} +\\frac{\\left( z - z^{2} \\right) \\cdot \\left( 3 \\cdot x - 7 \\cdot z^{23} \\cdot y \\right)}{x} \end{equation}