Allow partial specification of polycoef attribute of equality constraints.

- Usually the user only wants to tweak `polycoef[1]`, after this change `"0 2"` is equivalent to `"0 2 0 0 0"`.
- Also improve documentation of this attribute.
- Tighten margins of documentation display equations.

PiperOrigin-RevId: 639720742
Change-Id: Ibafa0e093cebe1c1c75bf2e47ff3bd2ad7619414
This commit is contained in:
Yuval Tassa
2024-06-03 03:41:58 -07:00
committed by Copybara-Service
parent 14a3ce5ffa
commit 8fa0fea02d
4 changed files with 58 additions and 8 deletions
+6
View File
@@ -260,6 +260,12 @@ dt .at {
margin-left: 0.5em;
}
/* Reduce top and bottom margins around displayed KaTeX equations */
.katex-display {
margin-top: 0.3em;
margin-bottom: 0.3em;
}
details summary {
font-weight: 600;
}