From f76ee8501ba854f015e87053a4d8c1c50c8f9859 Mon Sep 17 00:00:00 2001 From: cbbcbail Date: Fri, 19 Jul 2024 11:17:20 -0600 Subject: [PATCH] latex math equation rendering bug --- jupyter/Fig1-designProcess.ipynb | 10 ++++++++-- jupyter/_config.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/jupyter/Fig1-designProcess.ipynb b/jupyter/Fig1-designProcess.ipynb index 0978239..8bb3322 100644 --- a/jupyter/Fig1-designProcess.ipynb +++ b/jupyter/Fig1-designProcess.ipynb @@ -69,8 +69,14 @@ "### Convex Hull Objective\n", "\n", "Applying this objective allows us to select the smallest subset that covers the convex hull of the original dataset.\n", - "$$\\min_{S \\in \\mathbb{S}} \\space \\|S\\|$$\n", - "$$\\text{s.t.} \\space \\text{Hull}(S) = 0$$" + "\n", + "$$\n", + "\\min_{S \\in \\mathbb{S}} \\ \\|S\\|\n", + "$$\n", + "\n", + "$$\n", + "\\text{s.t.} \\ \\text{Hull}(S) = 0\n", + "$$" ] }, { diff --git a/jupyter/_config.yml b/jupyter/_config.yml index 6d3a522..c32bdbe 100644 --- a/jupyter/_config.yml +++ b/jupyter/_config.yml @@ -18,4 +18,11 @@ repository: # Online location of your book # Docs: https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository html: use_issues_button: true - use_repository_button: true \ No newline at end of file + use_repository_button: true + +# Enable MyST extensions +# Docs: https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html +parse: + myst_enable_extensions: + - dollarmath + - colon_fence