-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Jan 20, 2024
1 parent
1980e53
commit de010e0
Showing
7,000 changed files
with
289,907 additions
and
6,973 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,49 @@ | |
<!-- The loading of KaTeX is deferred to speed up page rendering --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx" crossorigin="anonymous"></script> | ||
|
||
<style> | ||
code.code-math { | ||
background-color: transparent; | ||
} | ||
</style> | ||
|
||
<script> | ||
'use strict'; | ||
|
||
const macros = { | ||
// '\\foo': '42', | ||
// '\\bar': '\\operatorname{bar}^{#1}', | ||
'\\halfopen': '[#1, #2)', | ||
'\\floor': '\\lfloor #1\\rfloor', | ||
'\\ceil': '\\lceil #1\\rceil', | ||
'\\rounded': '\\lfloor #1\\rceil', | ||
'\\Floor': '\\left\\lfloor #1\\right\\rfloor', | ||
'\\Ceil': '\\left\\lceil #1\\right\\rceil', | ||
'\\Rounded': '\\left\\lfloor #1\\right\\rceil', | ||
'\\angled': '\\langle #1\\rangle', | ||
'\\Angled': '\\left\\langle #1\\right\\rangle', | ||
'\\lcm': '\\operatorname*{lcm}', | ||
'\\gcd': '\\operatorname*{gcd}', | ||
'\\poly': '\\operatorname{poly}', | ||
'\\polylog': '\\operatorname{polylog}', | ||
'\\concat': '\\mathrel{+\\!\\!+}', | ||
'\\mex': '\\operatorname*{mex}', | ||
'\\qed': '\\square', | ||
'\\Q': '\\mathbb{Q}', | ||
'\\dd': '\\mathrm{d}', | ||
'\\ForallL': '{}^{\\forall}#1.\\:#2', | ||
'\\Forall': '{}^{\\forall}#1.\\,\\left[#2\\right]', | ||
'\\ExistsL': '{}^{\\exists}#1.\\:#2', | ||
'\\Exists': '{}^{\\exists}#1.\\,\\left[#2\\right]', | ||
'\\roundp': '(\\kern-.2em[#1]\\kern-.2em)', | ||
'\\bigroundp': '\\big(\\kern-.25em\\big[#1\\big]\\kern-.25em\\big)', | ||
'\\Bigroundp': '\\Big(\\kern-.3em\\Big[#1\\Big]\\kern-.3em\\Big)', | ||
'\\biggroundp': '\\bigg(\\kern-.3em\\bigg[#1\\bigg]\\kern-.3em\\bigg)', | ||
'\\Biggroundp': '\\Bigg(\\kern-.35em\\Bigg[#1\\Bigg]\\kern-.35em\\Bigg)', | ||
'\\hfloor': '\\lfloor\\hspace{-.25em}\\lfloor#1\\rfloor\\hspace{-.25em}\\rfloor', | ||
'\\xgets': '\\xleftarrow{#1}', | ||
'\\eod': '\\blacksquare', // end of \<details\> | ||
'\\lldot': '\\mathop{.\\,.}', | ||
}; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
|
@@ -34,7 +71,7 @@ | |
const content = parent.outerHTML.replaceAll( | ||
/\$<code>([^<]*?)<\/code>\$/g, | ||
((match, inner) => { | ||
return `<code>${katex.renderToString(inner, { macros })}</code>`; | ||
return `<code class="code-math">${katex.renderToString(inner, { macros })}</code>`; | ||
}), | ||
); | ||
|
||
|
@@ -57,6 +94,9 @@ | |
"corro": [ | ||
"borrow" | ||
], | ||
"discussion": [ | ||
"plane-sweep" | ||
], | ||
"ds": [ | ||
"foldable_queue", | ||
"union-find", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,49 @@ | |
<!-- The loading of KaTeX is deferred to speed up page rendering --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx" crossorigin="anonymous"></script> | ||
|
||
<style> | ||
code.code-math { | ||
background-color: transparent; | ||
} | ||
</style> | ||
|
||
<script> | ||
'use strict'; | ||
|
||
const macros = { | ||
// '\\foo': '42', | ||
// '\\bar': '\\operatorname{bar}^{#1}', | ||
'\\halfopen': '[#1, #2)', | ||
'\\floor': '\\lfloor #1\\rfloor', | ||
'\\ceil': '\\lceil #1\\rceil', | ||
'\\rounded': '\\lfloor #1\\rceil', | ||
'\\Floor': '\\left\\lfloor #1\\right\\rfloor', | ||
'\\Ceil': '\\left\\lceil #1\\right\\rceil', | ||
'\\Rounded': '\\left\\lfloor #1\\right\\rceil', | ||
'\\angled': '\\langle #1\\rangle', | ||
'\\Angled': '\\left\\langle #1\\right\\rangle', | ||
'\\lcm': '\\operatorname*{lcm}', | ||
'\\gcd': '\\operatorname*{gcd}', | ||
'\\poly': '\\operatorname{poly}', | ||
'\\polylog': '\\operatorname{polylog}', | ||
'\\concat': '\\mathrel{+\\!\\!+}', | ||
'\\mex': '\\operatorname*{mex}', | ||
'\\qed': '\\square', | ||
'\\Q': '\\mathbb{Q}', | ||
'\\dd': '\\mathrm{d}', | ||
'\\ForallL': '{}^{\\forall}#1.\\:#2', | ||
'\\Forall': '{}^{\\forall}#1.\\,\\left[#2\\right]', | ||
'\\ExistsL': '{}^{\\exists}#1.\\:#2', | ||
'\\Exists': '{}^{\\exists}#1.\\,\\left[#2\\right]', | ||
'\\roundp': '(\\kern-.2em[#1]\\kern-.2em)', | ||
'\\bigroundp': '\\big(\\kern-.25em\\big[#1\\big]\\kern-.25em\\big)', | ||
'\\Bigroundp': '\\Big(\\kern-.3em\\Big[#1\\Big]\\kern-.3em\\Big)', | ||
'\\biggroundp': '\\bigg(\\kern-.3em\\bigg[#1\\bigg]\\kern-.3em\\bigg)', | ||
'\\Biggroundp': '\\Bigg(\\kern-.35em\\Bigg[#1\\Bigg]\\kern-.35em\\Bigg)', | ||
'\\hfloor': '\\lfloor\\hspace{-.25em}\\lfloor#1\\rfloor\\hspace{-.25em}\\rfloor', | ||
'\\xgets': '\\xleftarrow{#1}', | ||
'\\eod': '\\blacksquare', // end of \<details\> | ||
'\\lldot': '\\mathop{.\\,.}', | ||
}; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
|
@@ -34,7 +71,7 @@ | |
const content = parent.outerHTML.replaceAll( | ||
/\$<code>([^<]*?)<\/code>\$/g, | ||
((match, inner) => { | ||
return `<code>${katex.renderToString(inner, { macros })}</code>`; | ||
return `<code class="code-math">${katex.renderToString(inner, { macros })}</code>`; | ||
}), | ||
); | ||
|
||
|
@@ -57,6 +94,9 @@ | |
"corro": [ | ||
"borrow" | ||
], | ||
"discussion": [ | ||
"plane-sweep" | ||
], | ||
"ds": [ | ||
"foldable_queue", | ||
"union-find", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,49 @@ | |
<!-- The loading of KaTeX is deferred to speed up page rendering --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx" crossorigin="anonymous"></script> | ||
|
||
<style> | ||
code.code-math { | ||
background-color: transparent; | ||
} | ||
</style> | ||
|
||
<script> | ||
'use strict'; | ||
|
||
const macros = { | ||
// '\\foo': '42', | ||
// '\\bar': '\\operatorname{bar}^{#1}', | ||
'\\halfopen': '[#1, #2)', | ||
'\\floor': '\\lfloor #1\\rfloor', | ||
'\\ceil': '\\lceil #1\\rceil', | ||
'\\rounded': '\\lfloor #1\\rceil', | ||
'\\Floor': '\\left\\lfloor #1\\right\\rfloor', | ||
'\\Ceil': '\\left\\lceil #1\\right\\rceil', | ||
'\\Rounded': '\\left\\lfloor #1\\right\\rceil', | ||
'\\angled': '\\langle #1\\rangle', | ||
'\\Angled': '\\left\\langle #1\\right\\rangle', | ||
'\\lcm': '\\operatorname*{lcm}', | ||
'\\gcd': '\\operatorname*{gcd}', | ||
'\\poly': '\\operatorname{poly}', | ||
'\\polylog': '\\operatorname{polylog}', | ||
'\\concat': '\\mathrel{+\\!\\!+}', | ||
'\\mex': '\\operatorname*{mex}', | ||
'\\qed': '\\square', | ||
'\\Q': '\\mathbb{Q}', | ||
'\\dd': '\\mathrm{d}', | ||
'\\ForallL': '{}^{\\forall}#1.\\:#2', | ||
'\\Forall': '{}^{\\forall}#1.\\,\\left[#2\\right]', | ||
'\\ExistsL': '{}^{\\exists}#1.\\:#2', | ||
'\\Exists': '{}^{\\exists}#1.\\,\\left[#2\\right]', | ||
'\\roundp': '(\\kern-.2em[#1]\\kern-.2em)', | ||
'\\bigroundp': '\\big(\\kern-.25em\\big[#1\\big]\\kern-.25em\\big)', | ||
'\\Bigroundp': '\\Big(\\kern-.3em\\Big[#1\\Big]\\kern-.3em\\Big)', | ||
'\\biggroundp': '\\bigg(\\kern-.3em\\bigg[#1\\bigg]\\kern-.3em\\bigg)', | ||
'\\Biggroundp': '\\Bigg(\\kern-.35em\\Bigg[#1\\Bigg]\\kern-.35em\\Bigg)', | ||
'\\hfloor': '\\lfloor\\hspace{-.25em}\\lfloor#1\\rfloor\\hspace{-.25em}\\rfloor', | ||
'\\xgets': '\\xleftarrow{#1}', | ||
'\\eod': '\\blacksquare', // end of \<details\> | ||
'\\lldot': '\\mathop{.\\,.}', | ||
}; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
|
@@ -34,7 +71,7 @@ | |
const content = parent.outerHTML.replaceAll( | ||
/\$<code>([^<]*?)<\/code>\$/g, | ||
((match, inner) => { | ||
return `<code>${katex.renderToString(inner, { macros })}</code>`; | ||
return `<code class="code-math">${katex.renderToString(inner, { macros })}</code>`; | ||
}), | ||
); | ||
|
||
|
@@ -57,6 +94,9 @@ | |
"corro": [ | ||
"borrow" | ||
], | ||
"discussion": [ | ||
"plane-sweep" | ||
], | ||
"ds": [ | ||
"foldable_queue", | ||
"union-find", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,49 @@ | |
<!-- The loading of KaTeX is deferred to speed up page rendering --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx" crossorigin="anonymous"></script> | ||
|
||
<style> | ||
code.code-math { | ||
background-color: transparent; | ||
} | ||
</style> | ||
|
||
<script> | ||
'use strict'; | ||
|
||
const macros = { | ||
// '\\foo': '42', | ||
// '\\bar': '\\operatorname{bar}^{#1}', | ||
'\\halfopen': '[#1, #2)', | ||
'\\floor': '\\lfloor #1\\rfloor', | ||
'\\ceil': '\\lceil #1\\rceil', | ||
'\\rounded': '\\lfloor #1\\rceil', | ||
'\\Floor': '\\left\\lfloor #1\\right\\rfloor', | ||
'\\Ceil': '\\left\\lceil #1\\right\\rceil', | ||
'\\Rounded': '\\left\\lfloor #1\\right\\rceil', | ||
'\\angled': '\\langle #1\\rangle', | ||
'\\Angled': '\\left\\langle #1\\right\\rangle', | ||
'\\lcm': '\\operatorname*{lcm}', | ||
'\\gcd': '\\operatorname*{gcd}', | ||
'\\poly': '\\operatorname{poly}', | ||
'\\polylog': '\\operatorname{polylog}', | ||
'\\concat': '\\mathrel{+\\!\\!+}', | ||
'\\mex': '\\operatorname*{mex}', | ||
'\\qed': '\\square', | ||
'\\Q': '\\mathbb{Q}', | ||
'\\dd': '\\mathrm{d}', | ||
'\\ForallL': '{}^{\\forall}#1.\\:#2', | ||
'\\Forall': '{}^{\\forall}#1.\\,\\left[#2\\right]', | ||
'\\ExistsL': '{}^{\\exists}#1.\\:#2', | ||
'\\Exists': '{}^{\\exists}#1.\\,\\left[#2\\right]', | ||
'\\roundp': '(\\kern-.2em[#1]\\kern-.2em)', | ||
'\\bigroundp': '\\big(\\kern-.25em\\big[#1\\big]\\kern-.25em\\big)', | ||
'\\Bigroundp': '\\Big(\\kern-.3em\\Big[#1\\Big]\\kern-.3em\\Big)', | ||
'\\biggroundp': '\\bigg(\\kern-.3em\\bigg[#1\\bigg]\\kern-.3em\\bigg)', | ||
'\\Biggroundp': '\\Bigg(\\kern-.35em\\Bigg[#1\\Bigg]\\kern-.35em\\Bigg)', | ||
'\\hfloor': '\\lfloor\\hspace{-.25em}\\lfloor#1\\rfloor\\hspace{-.25em}\\rfloor', | ||
'\\xgets': '\\xleftarrow{#1}', | ||
'\\eod': '\\blacksquare', // end of \<details\> | ||
'\\lldot': '\\mathop{.\\,.}', | ||
}; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
|
@@ -34,7 +71,7 @@ | |
const content = parent.outerHTML.replaceAll( | ||
/\$<code>([^<]*?)<\/code>\$/g, | ||
((match, inner) => { | ||
return `<code>${katex.renderToString(inner, { macros })}</code>`; | ||
return `<code class="code-math">${katex.renderToString(inner, { macros })}</code>`; | ||
}), | ||
); | ||
|
||
|
@@ -57,6 +94,9 @@ | |
"corro": [ | ||
"borrow" | ||
], | ||
"discussion": [ | ||
"plane-sweep" | ||
], | ||
"ds": [ | ||
"foldable_queue", | ||
"union-find", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,49 @@ | |
<!-- The loading of KaTeX is deferred to speed up page rendering --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js" integrity="sha384-cpW21h6RZv/phavutF+AuVYrr+dA8xD9zs6FwLpaCct6O9ctzYFfFr4dgmgccOTx" crossorigin="anonymous"></script> | ||
|
||
<style> | ||
code.code-math { | ||
background-color: transparent; | ||
} | ||
</style> | ||
|
||
<script> | ||
'use strict'; | ||
|
||
const macros = { | ||
// '\\foo': '42', | ||
// '\\bar': '\\operatorname{bar}^{#1}', | ||
'\\halfopen': '[#1, #2)', | ||
'\\floor': '\\lfloor #1\\rfloor', | ||
'\\ceil': '\\lceil #1\\rceil', | ||
'\\rounded': '\\lfloor #1\\rceil', | ||
'\\Floor': '\\left\\lfloor #1\\right\\rfloor', | ||
'\\Ceil': '\\left\\lceil #1\\right\\rceil', | ||
'\\Rounded': '\\left\\lfloor #1\\right\\rceil', | ||
'\\angled': '\\langle #1\\rangle', | ||
'\\Angled': '\\left\\langle #1\\right\\rangle', | ||
'\\lcm': '\\operatorname*{lcm}', | ||
'\\gcd': '\\operatorname*{gcd}', | ||
'\\poly': '\\operatorname{poly}', | ||
'\\polylog': '\\operatorname{polylog}', | ||
'\\concat': '\\mathrel{+\\!\\!+}', | ||
'\\mex': '\\operatorname*{mex}', | ||
'\\qed': '\\square', | ||
'\\Q': '\\mathbb{Q}', | ||
'\\dd': '\\mathrm{d}', | ||
'\\ForallL': '{}^{\\forall}#1.\\:#2', | ||
'\\Forall': '{}^{\\forall}#1.\\,\\left[#2\\right]', | ||
'\\ExistsL': '{}^{\\exists}#1.\\:#2', | ||
'\\Exists': '{}^{\\exists}#1.\\,\\left[#2\\right]', | ||
'\\roundp': '(\\kern-.2em[#1]\\kern-.2em)', | ||
'\\bigroundp': '\\big(\\kern-.25em\\big[#1\\big]\\kern-.25em\\big)', | ||
'\\Bigroundp': '\\Big(\\kern-.3em\\Big[#1\\Big]\\kern-.3em\\Big)', | ||
'\\biggroundp': '\\bigg(\\kern-.3em\\bigg[#1\\bigg]\\kern-.3em\\bigg)', | ||
'\\Biggroundp': '\\Bigg(\\kern-.35em\\Bigg[#1\\Bigg]\\kern-.35em\\Bigg)', | ||
'\\hfloor': '\\lfloor\\hspace{-.25em}\\lfloor#1\\rfloor\\hspace{-.25em}\\rfloor', | ||
'\\xgets': '\\xleftarrow{#1}', | ||
'\\eod': '\\blacksquare', // end of \<details\> | ||
'\\lldot': '\\mathop{.\\,.}', | ||
}; | ||
|
||
document.addEventListener('DOMContentLoaded', () => { | ||
|
@@ -34,7 +71,7 @@ | |
const content = parent.outerHTML.replaceAll( | ||
/\$<code>([^<]*?)<\/code>\$/g, | ||
((match, inner) => { | ||
return `<code>${katex.renderToString(inner, { macros })}</code>`; | ||
return `<code class="code-math">${katex.renderToString(inner, { macros })}</code>`; | ||
}), | ||
); | ||
|
||
|
@@ -57,6 +94,9 @@ | |
"corro": [ | ||
"borrow" | ||
], | ||
"discussion": [ | ||
"plane-sweep" | ||
], | ||
"ds": [ | ||
"foldable_queue", | ||
"union-find", | ||
|
Oops, something went wrong.