Permalink
Browse files

Update khan-exercises local-only copy of KaTeX

Summary:
To match that used by Perseus, as of D27981. Note that the local-only copy of KaTeX is used by the
mobile apps.

Test Plan: Coming in the mobile integration diff.

Auditors: emily
  • Loading branch information...
1 parent 3800f01 commit 797d4ddcadc04f3eb796a96c609b9b941497188e @crm416 crm416 committed Jun 8, 2016
Showing with 5,462 additions and 4,527 deletions.
  1. BIN local-only/katex/fonts/KaTeX_AMS-Regular.eot
  2. BIN local-only/katex/fonts/KaTeX_AMS-Regular.ttf
  3. BIN local-only/katex/fonts/KaTeX_AMS-Regular.woff
  4. BIN local-only/katex/fonts/KaTeX_AMS-Regular.woff2
  5. BIN local-only/katex/fonts/KaTeX_Caligraphic-Bold.eot
  6. BIN local-only/katex/fonts/KaTeX_Caligraphic-Bold.ttf
  7. BIN local-only/katex/fonts/KaTeX_Caligraphic-Bold.woff
  8. BIN local-only/katex/fonts/KaTeX_Caligraphic-Bold.woff2
  9. BIN local-only/katex/fonts/KaTeX_Caligraphic-Regular.eot
  10. BIN local-only/katex/fonts/KaTeX_Caligraphic-Regular.ttf
  11. BIN local-only/katex/fonts/KaTeX_Caligraphic-Regular.woff
  12. BIN local-only/katex/fonts/KaTeX_Caligraphic-Regular.woff2
  13. BIN local-only/katex/fonts/KaTeX_Fraktur-Bold.eot
  14. BIN local-only/katex/fonts/KaTeX_Fraktur-Bold.ttf
  15. BIN local-only/katex/fonts/KaTeX_Fraktur-Bold.woff
  16. BIN local-only/katex/fonts/KaTeX_Fraktur-Bold.woff2
  17. BIN local-only/katex/fonts/KaTeX_Fraktur-Regular.eot
  18. BIN local-only/katex/fonts/KaTeX_Fraktur-Regular.ttf
  19. BIN local-only/katex/fonts/KaTeX_Fraktur-Regular.woff
  20. BIN local-only/katex/fonts/KaTeX_Fraktur-Regular.woff2
  21. BIN local-only/katex/fonts/KaTeX_Main-Bold.eot
  22. BIN local-only/katex/fonts/KaTeX_Main-Bold.ttf
  23. BIN local-only/katex/fonts/KaTeX_Main-Bold.woff
  24. BIN local-only/katex/fonts/KaTeX_Main-Bold.woff2
  25. BIN local-only/katex/fonts/KaTeX_Main-Italic.eot
  26. BIN local-only/katex/fonts/KaTeX_Main-Italic.ttf
  27. BIN local-only/katex/fonts/KaTeX_Main-Italic.woff
  28. BIN local-only/katex/fonts/KaTeX_Main-Italic.woff2
  29. BIN local-only/katex/fonts/KaTeX_Main-Regular.eot
  30. BIN local-only/katex/fonts/KaTeX_Main-Regular.ttf
  31. BIN local-only/katex/fonts/KaTeX_Main-Regular.woff
  32. BIN local-only/katex/fonts/KaTeX_Main-Regular.woff2
  33. BIN local-only/katex/fonts/KaTeX_Math-BoldItalic.eot
  34. BIN local-only/katex/fonts/KaTeX_Math-BoldItalic.ttf
  35. BIN local-only/katex/fonts/KaTeX_Math-BoldItalic.woff
  36. BIN local-only/katex/fonts/KaTeX_Math-BoldItalic.woff2
  37. BIN local-only/katex/fonts/KaTeX_Math-Italic.eot
  38. BIN local-only/katex/fonts/KaTeX_Math-Italic.ttf
  39. BIN local-only/katex/fonts/KaTeX_Math-Italic.woff
  40. BIN local-only/katex/fonts/KaTeX_Math-Italic.woff2
  41. BIN local-only/katex/fonts/KaTeX_Math-Regular.eot
  42. BIN local-only/katex/fonts/KaTeX_Math-Regular.ttf
  43. BIN local-only/katex/fonts/KaTeX_Math-Regular.woff
  44. BIN local-only/katex/fonts/KaTeX_Math-Regular.woff2
  45. BIN local-only/katex/fonts/KaTeX_SansSerif-Bold.eot
  46. BIN local-only/katex/fonts/KaTeX_SansSerif-Bold.ttf
  47. BIN local-only/katex/fonts/KaTeX_SansSerif-Bold.woff
  48. BIN local-only/katex/fonts/KaTeX_SansSerif-Bold.woff2
  49. BIN local-only/katex/fonts/KaTeX_SansSerif-Italic.eot
  50. BIN local-only/katex/fonts/KaTeX_SansSerif-Italic.ttf
  51. BIN local-only/katex/fonts/KaTeX_SansSerif-Italic.woff
  52. BIN local-only/katex/fonts/KaTeX_SansSerif-Italic.woff2
  53. BIN local-only/katex/fonts/KaTeX_SansSerif-Regular.eot
  54. BIN local-only/katex/fonts/KaTeX_SansSerif-Regular.ttf
  55. BIN local-only/katex/fonts/KaTeX_SansSerif-Regular.woff
  56. BIN local-only/katex/fonts/KaTeX_SansSerif-Regular.woff2
  57. BIN local-only/katex/fonts/KaTeX_Script-Regular.eot
  58. BIN local-only/katex/fonts/KaTeX_Script-Regular.ttf
  59. BIN local-only/katex/fonts/KaTeX_Script-Regular.woff
  60. BIN local-only/katex/fonts/KaTeX_Script-Regular.woff2
  61. BIN local-only/katex/fonts/KaTeX_Size1-Regular.eot
  62. BIN local-only/katex/fonts/KaTeX_Size1-Regular.ttf
  63. BIN local-only/katex/fonts/KaTeX_Size1-Regular.woff
  64. BIN local-only/katex/fonts/KaTeX_Size1-Regular.woff2
  65. BIN local-only/katex/fonts/KaTeX_Size2-Regular.eot
  66. BIN local-only/katex/fonts/KaTeX_Size2-Regular.ttf
  67. BIN local-only/katex/fonts/KaTeX_Size2-Regular.woff
  68. BIN local-only/katex/fonts/KaTeX_Size2-Regular.woff2
  69. BIN local-only/katex/fonts/KaTeX_Size3-Regular.eot
  70. BIN local-only/katex/fonts/KaTeX_Size3-Regular.ttf
  71. BIN local-only/katex/fonts/KaTeX_Size3-Regular.woff
  72. BIN local-only/katex/fonts/KaTeX_Size3-Regular.woff2
  73. BIN local-only/katex/fonts/KaTeX_Size4-Regular.eot
  74. BIN local-only/katex/fonts/KaTeX_Size4-Regular.ttf
  75. BIN local-only/katex/fonts/KaTeX_Size4-Regular.woff
  76. BIN local-only/katex/fonts/KaTeX_Size4-Regular.woff2
  77. BIN local-only/katex/fonts/KaTeX_Typewriter-Regular.eot
  78. BIN local-only/katex/fonts/KaTeX_Typewriter-Regular.ttf
  79. BIN local-only/katex/fonts/KaTeX_Typewriter-Regular.woff
  80. BIN local-only/katex/fonts/KaTeX_Typewriter-Regular.woff2
  81. +61 −41 local-only/katex/katex.css
  82. +5,401 −4,486 local-only/katex/katex.js
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
@@ -56,40 +56,12 @@
}
@font-face {
font-family: 'KaTeX_Math';
- src: url('fonts/KaTeX_Math-BoldItalic.eot');
- src: url('fonts/KaTeX_Math-BoldItalic.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_Math-BoldItalic.woff2') format('woff2'), url('fonts/KaTeX_Math-BoldItalic.woff') format('woff'), url('fonts/KaTeX_Math-BoldItalic.ttf') format('ttf');
- font-weight: bold;
- font-style: italic;
-}
-@font-face {
- font-family: 'KaTeX_Math';
src: url('fonts/KaTeX_Math-Italic.eot');
src: url('fonts/KaTeX_Math-Italic.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_Math-Italic.woff2') format('woff2'), url('fonts/KaTeX_Math-Italic.woff') format('woff'), url('fonts/KaTeX_Math-Italic.ttf') format('ttf');
font-weight: normal;
font-style: italic;
}
@font-face {
- font-family: 'KaTeX_Math';
- src: url('fonts/KaTeX_Math-Regular.eot');
- src: url('fonts/KaTeX_Math-Regular.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_Math-Regular.woff2') format('woff2'), url('fonts/KaTeX_Math-Regular.woff') format('woff'), url('fonts/KaTeX_Math-Regular.ttf') format('ttf');
- font-weight: normal;
- font-style: normal;
-}
-@font-face {
- font-family: 'KaTeX_SansSerif';
- src: url('fonts/KaTeX_SansSerif-Bold.eot');
- src: url('fonts/KaTeX_SansSerif-Bold.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_SansSerif-Bold.woff2') format('woff2'), url('fonts/KaTeX_SansSerif-Bold.woff') format('woff'), url('fonts/KaTeX_SansSerif-Bold.ttf') format('ttf');
- font-weight: bold;
- font-style: normal;
-}
-@font-face {
- font-family: 'KaTeX_SansSerif';
- src: url('fonts/KaTeX_SansSerif-Italic.eot');
- src: url('fonts/KaTeX_SansSerif-Italic.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_SansSerif-Italic.woff2') format('woff2'), url('fonts/KaTeX_SansSerif-Italic.woff') format('woff'), url('fonts/KaTeX_SansSerif-Italic.ttf') format('ttf');
- font-weight: normal;
- font-style: italic;
-}
-@font-face {
font-family: 'KaTeX_SansSerif';
src: url('fonts/KaTeX_SansSerif-Regular.eot');
src: url('fonts/KaTeX_SansSerif-Regular.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_SansSerif-Regular.woff2') format('woff2'), url('fonts/KaTeX_SansSerif-Regular.woff') format('woff'), url('fonts/KaTeX_SansSerif-Regular.ttf') format('ttf');
@@ -145,26 +117,24 @@
}
.katex-display > .katex {
display: inline-block;
-}
-math.katex {
- font-size: 1.21em;
- line-height: 1.2;
+ text-align: initial;
}
.katex {
font: normal 1.21em KaTeX_Main;
line-height: 1.2;
white-space: nowrap;
+ text-indent: 0;
}
.katex .katex-html {
display: inline-block;
}
.katex .katex-mathml {
- position: absolute !important;
+ position: absolute;
clip: rect(1px, 1px, 1px, 1px);
- padding: 0 !important;
- border: 0 !important;
- height: 1px !important;
- width: 1px !important;
+ padding: 0;
+ border: 0;
+ height: 1px;
+ width: 1px;
overflow: hidden;
}
.katex .base {
@@ -177,9 +147,35 @@ math.katex {
font-family: KaTeX_Math;
font-style: italic;
}
+.katex .mathbf {
+ font-family: KaTeX_Main;
+ font-weight: bold;
+}
.katex .amsrm {
font-family: KaTeX_AMS;
}
+.katex .mathbb {
+ font-family: KaTeX_AMS;
+}
+.katex .mathcal {
+ font-family: KaTeX_Caligraphic;
+}
+.katex .mathfrak {
+ font-family: KaTeX_Fraktur;
+}
+.katex .mathtt {
+ font-family: KaTeX_Typewriter;
+}
+.katex .mathscr {
+ font-family: KaTeX_Script;
+}
+.katex .mathsf {
+ font-family: KaTeX_SansSerif;
+}
+.katex .mainit {
+ font-family: KaTeX_Main;
+ font-style: italic;
+}
.katex .textstyle > .mord + .mop {
margin-left: 0.16667em;
}
@@ -426,19 +422,22 @@ math.katex {
}
.katex .rule {
display: inline-block;
- border-style: solid;
+ border: solid 0;
position: relative;
}
-.katex .overline .overline-line {
+.katex .overline .overline-line,
+.katex .underline .underline-line {
width: 100%;
}
-.katex .overline .overline-line:before {
+.katex .overline .overline-line:before,
+.katex .underline .underline-line:before {
border-bottom-style: solid;
border-bottom-width: 1px;
content: "";
display: block;
}
-.katex .overline .overline-line:after {
+.katex .overline .overline-line:after,
+.katex .underline .underline-line:after {
border-bottom-style: solid;
border-bottom-width: 0.04em;
content: "";
@@ -464,6 +463,10 @@ math.katex {
display: block;
margin-top: -1px;
}
+.katex .sqrt > .root {
+ margin-left: 0.27777778em;
+ margin-right: -0.55555556em;
+}
.katex .sizing,
.katex .fontsize-ensurer {
display: inline-block;
@@ -912,3 +915,20 @@ math.katex {
position: relative;
left: 0.326em;
}
+.katex .mtable .vertical-separator {
+ display: inline-block;
+ margin: 0 -0.025em;
+ border-right: 0.05em solid black;
+}
+.katex .mtable .arraycolsep {
+ display: inline-block;
+}
+.katex .mtable .col-align-c > .vlist {
+ text-align: center;
+}
+.katex .mtable .col-align-l > .vlist {
+ text-align: left;
+}
+.katex .mtable .col-align-r > .vlist {
+ text-align: right;
+}
Oops, something went wrong.

0 comments on commit 797d4dd

Please sign in to comment.