Use dedicated fonts for better support of mathematical symbols (#1919)
This commit is contained in:
parent
dc017c2dd3
commit
215982abc2
3 changed files with 12 additions and 9 deletions
|
@ -40,15 +40,17 @@ $table-bg: $secondary-lightest-background;
|
|||
$td-enable-google-fonts: false;
|
||||
|
||||
/*
|
||||
* Replace the default font with Inter.
|
||||
*
|
||||
* The $font-family-sans-serif definition here overrides the default value set by docsy:
|
||||
* https://github.com/matrix-org/docsy/blob/66a4e61d2d34edc7196b9df83a7d09cd4af14b47/assets/scss/_variables.scss#L68
|
||||
* and adds "Inter" to the front.
|
||||
*
|
||||
* The font itself is loaded via stylesheet link layouts/partials/hooks/head-end.html.
|
||||
* The $font-family-sans-serif definition here overrides the default value set by docsy
|
||||
* (https://github.com/matrix-org/docsy/blob/66a4e61d2d34edc7196b9df83a7d09cd4af14b47/assets/scss/_variables.scss#L68)
|
||||
*/
|
||||
$font-family-sans-serif: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
$font-family-sans-serif:
|
||||
// Add "Inter" to the front, making it the default. The font itself is loaded via stylesheet
|
||||
// links in layouts/partials/hooks/head-end.html.
|
||||
"Inter",
|
||||
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
||||
// Insert fonts suited for mathematical symbols on different platforms before "Arial"
|
||||
"STIX Two Math", "Cambria Math", "Noto Sans Math", "Dejavu Sans",
|
||||
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
|
||||
// Disable smooth scrolling as it makes TOC highlighting jump during the transition.
|
||||
$enable-smooth-scroll: false;
|
||||
|
|
1
changelogs/internal/newsfragments/1919.clarification
Normal file
1
changelogs/internal/newsfragments/1919.clarification
Normal file
|
@ -0,0 +1 @@
|
|||
Use dedicated fonts for better support of mathematical symbols.
|
|
@ -50,7 +50,7 @@ chain for each state *S*<sub>*i*</sub>, that is the union of the auth
|
|||
chains for each event in *S*<sub>*i*</sub>, and then taking every event
|
||||
that doesn't appear in every auth chain. If *C*<sub>*i*</sub> is the
|
||||
full auth chain of *S*<sub>*i*</sub>, then the auth difference is
|
||||
∪ *C*<sub>*i*</sub> − ∩ *C*<sub>*i*</sub>.
|
||||
∪ *C*<sub>*i*</sub> − ∩ *C*<sub>*i*</sub>.
|
||||
|
||||
**Full conflicted set.**
|
||||
The *full conflicted set* is the union of the conflicted state set and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue