From 3f7d192939886a649ead31bc0e10363c409fcd46 Mon Sep 17 00:00:00 2001 From: Jeremy Teitelbaum Date: Mon, 12 Dec 2022 09:13:48 -0500 Subject: [PATCH 1/2] added algorithm environment to theorems.lua --- src/resources/filters/common/theorems.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/resources/filters/common/theorems.lua b/src/resources/filters/common/theorems.lua index 54eebb471a7..9d18c1e49d6 100644 --- a/src/resources/filters/common/theorems.lua +++ b/src/resources/filters/common/theorems.lua @@ -41,7 +41,12 @@ theoremTypes = { exr = { env = "exercise", style = "definition", - title = "Exercise" + title = "Exercise", + }, + alg = { + env = "algorithm", + style = "plain", + title = "Algorithm", } } From b18e0c115a8cd7853b8d226cd28b1bdba0e8036e Mon Sep 17 00:00:00 2001 From: Jeremy Teitelbaum Date: Mon, 12 Dec 2022 09:55:11 -0500 Subject: [PATCH 2/2] added comment to Miscellaneous in changelog-1.3 about this change --- news/changelog-1.3.md | 1 + 1 file changed, 1 insertion(+) diff --git a/news/changelog-1.3.md b/news/changelog-1.3.md index 611ce93485b..6f66926a69c 100644 --- a/news/changelog-1.3.md +++ b/news/changelog-1.3.md @@ -87,3 +87,4 @@ - Add new `kbd` shortcode, to describe keyboard keys ([#3384](https://github.com/quarto-dev/quarto-cli/issues/3384)). See the [pre-release documentation](https://quarto.org/docs/prerelease/1.3.html) for details. - Replace default style for date picker component in OJS ([#2863](https://github.com/quarto-dev/quarto-cli/issues/2863)). - `quarto check` now supports `quarto check versions` for checking binary dependency versions in the case of custom binaries ([#3602](https://github.com/quarto-dev/quarto-cli/issues/3602)). +- Add 'algorithm' as a theorem type. ([#3605](https://github.com/quarto-dev/quarto-cli/discussions/3605)).