How to use MathJax Optentype fonts with XeLaTeX? The 2019 Stack Overflow Developer Survey Results Are InWhat math fonts are available that work in xelatex?Switching math fonts with unicode-mathHow to combine LaTeX fonts with system fonts in XeLaTeXIncomplete generation of Greek letters with Unicode and XeLaTeXSymbol sslash with XeLaTeX (and unicode-math)Bold italic math fonts with unicode-math (xelatex)Pencil symbol with xelatex (and unicode-math)Using multiple math fonts causes characters and spacing problems with delimitersXeLaTeX and Math Fonts from Main FontUse sans serif math operators with Roboto
Can a flute soloist sit?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
How to support a colleague who finds meetings extremely tiring?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Why does the nucleus not repel itself?
Is bread bad for ducks?
Why not take a picture of a closer black hole?
Does HR tell a hiring manager about salary negotiations?
How much of the clove should I use when using big garlic heads?
How do you keep chess fun when your opponent constantly beats you?
How to type a long/em dash `—`
Geography at the pixel level
How can I define good in a religion that claims no moral authority?
How come people say “Would of”?
How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Getting crown tickets for Statue of Liberty
How to display lines in a file like ls displays files in a directory?
Is it possible for absolutely everyone to attain enlightenment?
What do I do when my TA workload is more than expected?
How did passengers keep warm on sail ships?
Keeping a retro style to sci-fi spaceships?
Ubuntu Server install with full GUI
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
How to use MathJax Optentype fonts with XeLaTeX?
The 2019 Stack Overflow Developer Survey Results Are InWhat math fonts are available that work in xelatex?Switching math fonts with unicode-mathHow to combine LaTeX fonts with system fonts in XeLaTeXIncomplete generation of Greek letters with Unicode and XeLaTeXSymbol sslash with XeLaTeX (and unicode-math)Bold italic math fonts with unicode-math (xelatex)Pencil symbol with xelatex (and unicode-math)Using multiple math fonts causes characters and spacing problems with delimitersXeLaTeX and Math Fonts from Main FontUse sans serif math operators with Roboto
I want to use MathJax
opentype text and math fonts in my document. All the following fonts can be downloaded from this GitHub MathJax page.
MathJax_AMS-Regular.otf MathJax_SansSerif-Bold.otf
MathJax_Caligraphic-Bold.otf MathJax_SansSerif-Italic.otf
MathJax_Caligraphic-Regular.otf MathJax_SansSerif-Regular.otf
MathJax_Fraktur-Bold.otf MathJax_Script-Regular.otf
MathJax_Fraktur-Regular.otf MathJax_Size1-Regular.otf
MathJax_Main-Bold.otf MathJax_Size2-Regular.otf
MathJax_Main-Italic.otf MathJax_Size3-Regular.otf
MathJax_Main-Regular.otf MathJax_Size4-Regular.otf
MathJax_Math-BoldItalic.otf MathJax_Typewriter-Regular.otf
MathJax_Math-Italic.otf MathJax_WinChrome-Regular.otf
MathJax_Math-Regular.otf MathJax_WinIE6-Regular.otf
For text, I was able to get things working, but for math it is too tricky. I tried mathspec
and unicode-math
without success. I used XeLaTeX before with other math fonts successfully, but it doesn't work properly with this font. Some people went farther and succeeded in compiling the MathJax fonts even with pdfLaTeX and got awesome results. It will be fine for me to just make it work with XeLaTeX.
Here is my attempt with unsatisfying output:
documentclass[a4paper,12pt]article
usepackageamsmath
usepackagemathspec
setmainfontMathJax_Main-Regular.otf[
UprightFont = MathJax_Main-Regular,
ItalicFont = MathJax_Main-Italic,
BoldFont = MathJax_Main-Bold
]
setmathrmMathJax_Main-Regular.otf % for sin cos ln max ..
setmathsfont(Digits)MathJax_Main-Regular.otf
setmathsfont(Latin,Greek)MathJax_Math-Italic.otf
setboldmathrmMathJax_Math-BoldItalic.otf
usepackagebm
begindocument
sectionMathjax fonts
subsectionMain fonts
Roman: `The quick brown fox jumps over the lazy dog.' 0123456789\
Italic: textit`The quick brown fox jumps over the lazy dog.' 0123456789\
Bold: textbf`The quick brown fox jumps over the lazy dog.' 0123456789
subsectionMath
Numbers: $123,456.7890$\
Alphabet: $abcdefghijklmnopqrstuvwxyz$ $ABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Calligraphic: $mathcalABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Accents: $hat f vec f ddot f dot f bar fcheck f tilde f acute f grave f breve f$\
Greek: $alpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega$
$Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$\
Operators: $costheta$, $ln x$, $a bmod n$, etc.\
Big operators:
[ f(x) = sum_n = -infty^infty c_ne^jnx ]
[ c_n = frac12int_-pi^pif(x)e^-jnx,mathrm dx ]
%
Bold italic: $bmabcdefghijklmnopqrstuvwxyz$\
Bold rm: $mathbfABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Bold italic: $bmalpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$
enddocument
xetex unicode-math mathspec math-fonts
add a comment |
I want to use MathJax
opentype text and math fonts in my document. All the following fonts can be downloaded from this GitHub MathJax page.
MathJax_AMS-Regular.otf MathJax_SansSerif-Bold.otf
MathJax_Caligraphic-Bold.otf MathJax_SansSerif-Italic.otf
MathJax_Caligraphic-Regular.otf MathJax_SansSerif-Regular.otf
MathJax_Fraktur-Bold.otf MathJax_Script-Regular.otf
MathJax_Fraktur-Regular.otf MathJax_Size1-Regular.otf
MathJax_Main-Bold.otf MathJax_Size2-Regular.otf
MathJax_Main-Italic.otf MathJax_Size3-Regular.otf
MathJax_Main-Regular.otf MathJax_Size4-Regular.otf
MathJax_Math-BoldItalic.otf MathJax_Typewriter-Regular.otf
MathJax_Math-Italic.otf MathJax_WinChrome-Regular.otf
MathJax_Math-Regular.otf MathJax_WinIE6-Regular.otf
For text, I was able to get things working, but for math it is too tricky. I tried mathspec
and unicode-math
without success. I used XeLaTeX before with other math fonts successfully, but it doesn't work properly with this font. Some people went farther and succeeded in compiling the MathJax fonts even with pdfLaTeX and got awesome results. It will be fine for me to just make it work with XeLaTeX.
Here is my attempt with unsatisfying output:
documentclass[a4paper,12pt]article
usepackageamsmath
usepackagemathspec
setmainfontMathJax_Main-Regular.otf[
UprightFont = MathJax_Main-Regular,
ItalicFont = MathJax_Main-Italic,
BoldFont = MathJax_Main-Bold
]
setmathrmMathJax_Main-Regular.otf % for sin cos ln max ..
setmathsfont(Digits)MathJax_Main-Regular.otf
setmathsfont(Latin,Greek)MathJax_Math-Italic.otf
setboldmathrmMathJax_Math-BoldItalic.otf
usepackagebm
begindocument
sectionMathjax fonts
subsectionMain fonts
Roman: `The quick brown fox jumps over the lazy dog.' 0123456789\
Italic: textit`The quick brown fox jumps over the lazy dog.' 0123456789\
Bold: textbf`The quick brown fox jumps over the lazy dog.' 0123456789
subsectionMath
Numbers: $123,456.7890$\
Alphabet: $abcdefghijklmnopqrstuvwxyz$ $ABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Calligraphic: $mathcalABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Accents: $hat f vec f ddot f dot f bar fcheck f tilde f acute f grave f breve f$\
Greek: $alpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega$
$Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$\
Operators: $costheta$, $ln x$, $a bmod n$, etc.\
Big operators:
[ f(x) = sum_n = -infty^infty c_ne^jnx ]
[ c_n = frac12int_-pi^pif(x)e^-jnx,mathrm dx ]
%
Bold italic: $bmabcdefghijklmnopqrstuvwxyz$\
Bold rm: $mathbfABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Bold italic: $bmalpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$
enddocument
xetex unicode-math mathspec math-fonts
add a comment |
I want to use MathJax
opentype text and math fonts in my document. All the following fonts can be downloaded from this GitHub MathJax page.
MathJax_AMS-Regular.otf MathJax_SansSerif-Bold.otf
MathJax_Caligraphic-Bold.otf MathJax_SansSerif-Italic.otf
MathJax_Caligraphic-Regular.otf MathJax_SansSerif-Regular.otf
MathJax_Fraktur-Bold.otf MathJax_Script-Regular.otf
MathJax_Fraktur-Regular.otf MathJax_Size1-Regular.otf
MathJax_Main-Bold.otf MathJax_Size2-Regular.otf
MathJax_Main-Italic.otf MathJax_Size3-Regular.otf
MathJax_Main-Regular.otf MathJax_Size4-Regular.otf
MathJax_Math-BoldItalic.otf MathJax_Typewriter-Regular.otf
MathJax_Math-Italic.otf MathJax_WinChrome-Regular.otf
MathJax_Math-Regular.otf MathJax_WinIE6-Regular.otf
For text, I was able to get things working, but for math it is too tricky. I tried mathspec
and unicode-math
without success. I used XeLaTeX before with other math fonts successfully, but it doesn't work properly with this font. Some people went farther and succeeded in compiling the MathJax fonts even with pdfLaTeX and got awesome results. It will be fine for me to just make it work with XeLaTeX.
Here is my attempt with unsatisfying output:
documentclass[a4paper,12pt]article
usepackageamsmath
usepackagemathspec
setmainfontMathJax_Main-Regular.otf[
UprightFont = MathJax_Main-Regular,
ItalicFont = MathJax_Main-Italic,
BoldFont = MathJax_Main-Bold
]
setmathrmMathJax_Main-Regular.otf % for sin cos ln max ..
setmathsfont(Digits)MathJax_Main-Regular.otf
setmathsfont(Latin,Greek)MathJax_Math-Italic.otf
setboldmathrmMathJax_Math-BoldItalic.otf
usepackagebm
begindocument
sectionMathjax fonts
subsectionMain fonts
Roman: `The quick brown fox jumps over the lazy dog.' 0123456789\
Italic: textit`The quick brown fox jumps over the lazy dog.' 0123456789\
Bold: textbf`The quick brown fox jumps over the lazy dog.' 0123456789
subsectionMath
Numbers: $123,456.7890$\
Alphabet: $abcdefghijklmnopqrstuvwxyz$ $ABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Calligraphic: $mathcalABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Accents: $hat f vec f ddot f dot f bar fcheck f tilde f acute f grave f breve f$\
Greek: $alpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega$
$Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$\
Operators: $costheta$, $ln x$, $a bmod n$, etc.\
Big operators:
[ f(x) = sum_n = -infty^infty c_ne^jnx ]
[ c_n = frac12int_-pi^pif(x)e^-jnx,mathrm dx ]
%
Bold italic: $bmabcdefghijklmnopqrstuvwxyz$\
Bold rm: $mathbfABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Bold italic: $bmalpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$
enddocument
xetex unicode-math mathspec math-fonts
I want to use MathJax
opentype text and math fonts in my document. All the following fonts can be downloaded from this GitHub MathJax page.
MathJax_AMS-Regular.otf MathJax_SansSerif-Bold.otf
MathJax_Caligraphic-Bold.otf MathJax_SansSerif-Italic.otf
MathJax_Caligraphic-Regular.otf MathJax_SansSerif-Regular.otf
MathJax_Fraktur-Bold.otf MathJax_Script-Regular.otf
MathJax_Fraktur-Regular.otf MathJax_Size1-Regular.otf
MathJax_Main-Bold.otf MathJax_Size2-Regular.otf
MathJax_Main-Italic.otf MathJax_Size3-Regular.otf
MathJax_Main-Regular.otf MathJax_Size4-Regular.otf
MathJax_Math-BoldItalic.otf MathJax_Typewriter-Regular.otf
MathJax_Math-Italic.otf MathJax_WinChrome-Regular.otf
MathJax_Math-Regular.otf MathJax_WinIE6-Regular.otf
For text, I was able to get things working, but for math it is too tricky. I tried mathspec
and unicode-math
without success. I used XeLaTeX before with other math fonts successfully, but it doesn't work properly with this font. Some people went farther and succeeded in compiling the MathJax fonts even with pdfLaTeX and got awesome results. It will be fine for me to just make it work with XeLaTeX.
Here is my attempt with unsatisfying output:
documentclass[a4paper,12pt]article
usepackageamsmath
usepackagemathspec
setmainfontMathJax_Main-Regular.otf[
UprightFont = MathJax_Main-Regular,
ItalicFont = MathJax_Main-Italic,
BoldFont = MathJax_Main-Bold
]
setmathrmMathJax_Main-Regular.otf % for sin cos ln max ..
setmathsfont(Digits)MathJax_Main-Regular.otf
setmathsfont(Latin,Greek)MathJax_Math-Italic.otf
setboldmathrmMathJax_Math-BoldItalic.otf
usepackagebm
begindocument
sectionMathjax fonts
subsectionMain fonts
Roman: `The quick brown fox jumps over the lazy dog.' 0123456789\
Italic: textit`The quick brown fox jumps over the lazy dog.' 0123456789\
Bold: textbf`The quick brown fox jumps over the lazy dog.' 0123456789
subsectionMath
Numbers: $123,456.7890$\
Alphabet: $abcdefghijklmnopqrstuvwxyz$ $ABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Calligraphic: $mathcalABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Accents: $hat f vec f ddot f dot f bar fcheck f tilde f acute f grave f breve f$\
Greek: $alpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega$
$Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$\
Operators: $costheta$, $ln x$, $a bmod n$, etc.\
Big operators:
[ f(x) = sum_n = -infty^infty c_ne^jnx ]
[ c_n = frac12int_-pi^pif(x)e^-jnx,mathrm dx ]
%
Bold italic: $bmabcdefghijklmnopqrstuvwxyz$\
Bold rm: $mathbfABCDEFGHIJKLMNOPQRSTUVWXYZ$\
Bold italic: $bmalpha beta gamma delta epsilon varepsilon zeta eta theta vartheta iota kappa lambda mu nu xi pi varpi rho varrho sigma varsigma tau upsilon phi varphi chi psi omega Gamma Delta Theta Lambda Xi Pi Sigma Upsilon Phi Psi Omega$
enddocument
xetex unicode-math mathspec math-fonts
xetex unicode-math mathspec math-fonts
asked 1 min ago
AboAmmarAboAmmar
34.5k32985
34.5k32985
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484424%2fhow-to-use-mathjax-optentype-fonts-with-xelatex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484424%2fhow-to-use-mathjax-optentype-fonts-with-xelatex%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown