Skip to content

Commit

Permalink
Merge pull request #16 from shadinaif/shadinaif/chtml-fix-digits-jeem…
Browse files Browse the repository at this point in the history
…-haa-borders

CommonHTML fixes for digits, Jeem, and Haa
  • Loading branch information
OmarIthawi authored Feb 21, 2019
2 parents 8928c5f + 8ff2658 commit 9bf2a65
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 20 deletions.
7 changes: 4 additions & 3 deletions dist/arabic.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/arabic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions dist/unpacked/arabic.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border: solid transparent;
border-width: 0.45em 0;
border: solid transparent;
border-width: 0.45em 0;
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-R {
border: solid transparent;
border-width: 0.45em 0;
}

.mjx-mn > .mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
Expand All @@ -40,18 +45,20 @@
}

.MJXc-stacked > .mjx-numerator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-top: 0.6em;
padding-top: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph > .mjx-char.MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}


/* HTML-CSS Output Jax CSS */
.MathJax .mfliph {
display: inline-block !important;
Expand Down
2 changes: 1 addition & 1 deletion dist/unpacked/arabic.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
}());

MathJax.Extension.Arabic = {
version: '2.0.0',
version: '2.1.0',
config: MathJax.Hub.CombineConfig("Arabic", {
dict: {
// A macros to force English zero in both languages
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "arabic-mathjax",
"version": "2.0.0",
"version": "2.1.0",
"description": "A docker container for developing my MathJax plugins.",
"main": "gulpfile.js",
"scripts": {
Expand Down
19 changes: 13 additions & 6 deletions src/css/common-html.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
border: solid transparent;
border-width: 0.45em 0;
border: solid transparent;
border-width: 0.45em 0;
}

.mfliph.mar > .mjx-char.MJXc-TeX-unknown-R {
border: solid transparent;
border-width: 0.45em 0;
}

.mjx-mn > .mfliph.mar > .mjx-char.MJXc-TeX-unknown-I {
Expand All @@ -40,14 +45,16 @@
}

.MJXc-stacked > .mjx-numerator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-top: 0.6em;
padding-top: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph.mar > .MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

.MJXc-stacked > .mjx-denominator > span > .mfliph > .mjx-char.MJXc-TeX-unknown-R {
padding-bottom: 0.6em;
padding-bottom: 0.45em;
border: none;
}

2 changes: 1 addition & 1 deletion src/tex.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MathJax.Extension.Arabic = {
version: '2.0.0',
version: '2.1.0',
config: MathJax.Hub.CombineConfig("Arabic", {
dict: {
// A macros to force English zero in both languages
Expand Down

0 comments on commit 9bf2a65

Please sign in to comment.