mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Affichage de \\neq (katex) n'est pas correct (KaTeX_Main n'est pas chargée?)
Fixes #96
This commit is contained in:
parent
afd97274e0
commit
65f704041a
2 changed files with 21 additions and 5 deletions
|
|
@ -4,11 +4,23 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
<link rel="icon" type="image/svg+xml" href="/logo.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link
|
<link rel="stylesheet"
|
||||||
rel="stylesheet"
|
href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css"
|
||||||
href="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"
|
integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+"
|
||||||
crossorigin="anonymous"
|
crossorigin="anonymous">
|
||||||
/>
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.js"
|
||||||
|
integrity="sha384-7zkQWkzuo3B5mTepMUcHkMB5jZaolc2xDwL6VFqjFALcbeS9Ggm/Yr2r3Dy4lfFg" crossorigin="anonymous"></script>
|
||||||
|
<script>
|
||||||
|
window.WebFontConfig = {
|
||||||
|
custom: {
|
||||||
|
families: ['KaTeX_AMS', 'KaTeX_Caligraphic:n4,n7', 'KaTeX_Fraktur:n4,n7',
|
||||||
|
'KaTeX_Main:n4,n7,i4,i7', 'KaTeX_Math:i4,i7', 'KaTeX_Script',
|
||||||
|
'KaTeX_SansSerif:n4,n7,i4', 'KaTeX_Size1', 'KaTeX_Size2', 'KaTeX_Size3',
|
||||||
|
'KaTeX_Size4', 'KaTeX_Typewriter'],
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js" integrity="sha256-4O4pS1SH31ZqrSO2A/2QJTVjTPqVe+jnYgOWUVr7EEc=" crossorigin="anonymous"></script>
|
||||||
<title>Évalue Ton Savoir</title>
|
<title>Évalue Ton Savoir</title>
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,10 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.katex * {
|
||||||
|
font-family: 'KaTeX_Main' /* to display characters like \neq properly */
|
||||||
|
}
|
||||||
|
|
||||||
.circle {
|
.circle {
|
||||||
height: 2.3rem;
|
height: 2.3rem;
|
||||||
width: 2.3rem;
|
width: 2.3rem;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue