Fontspec isn't changing digits in math modeConflict between color, graphicx and libertineXeTeX/mathspec, more than one math digits fontUsing a handwriting font from myscriptfont.comUsing mathspec to change digits font in math mode isn't workingXeLaTeX/beamer/fontspec/unicode-math: Change font of all math digitsBest practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?Issue with TOC alignment when using fontspec and titletoc with font size >10ptCan we stop recommending fontspec as first choice in case lualatex is used?Wrong font for digits in math-modeWho changed my Chinese character?
How can "mimic phobia" be cured or prevented?
Is it possible to have a strip of cold climate in the middle of a planet?
Does the Location of Line-Dash-Wedge Notations Matter?
What is Cash Advance APR?
Freedom of speech and where it applies
What is the evidence for the "tyranny of the majority problem" in a direct democracy context?
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
Problem with TransformedDistribution
Find the Primitive Roots Mod 31
Open a doc from terminal, but not by its name
How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?
Did Swami Prabhupada reject Advaita?
How to indicate a cut out for a product window
Why Shazam when there is already Superman?
Is it improper etiquette to ask your opponent what his/her rating is before the game?
How could a planet have erratic days?
250 Floor Tower
Does Doodling or Improvising on the Piano Have Any Benefits?
Are the IPv6 address space and IPv4 address space completely disjoint?
How to explain what's wrong with this application of the chain rule?
Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?
How to create ADT in Haskell?
dpdt switch to spst switch
Is it better practice to read straight from sheet music rather than memorize it?
Fontspec isn't changing digits in math mode
Conflict between color, graphicx and libertineXeTeX/mathspec, more than one math digits fontUsing a handwriting font from myscriptfont.comUsing mathspec to change digits font in math mode isn't workingXeLaTeX/beamer/fontspec/unicode-math: Change font of all math digitsBest practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?Issue with TOC alignment when using fontspec and titletoc with font size >10ptCan we stop recommending fontspec as first choice in case lualatex is used?Wrong font for digits in math-modeWho changed my Chinese character?
I had been using the following in my preamble:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagefontspec
setmainfont[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
until I noticed that this produced the following ugly result with the wrong digits font:
I have come up with a temporary solution using mathspec:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagemathspec
setallmainfonts(Digits,Latin)[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
and this indeed fixes the problem:
The issue is that mathspec requires me to use XeTeX, which is incompatible with my current workflow—I need to use LuaTex. Is there a way to fix this issue without invoking mathspec?
fonts xetex luatex fontspec mathspec
add a comment |
I had been using the following in my preamble:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagefontspec
setmainfont[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
until I noticed that this produced the following ugly result with the wrong digits font:
I have come up with a temporary solution using mathspec:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagemathspec
setallmainfonts(Digits,Latin)[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
and this indeed fixes the problem:
The issue is that mathspec requires me to use XeTeX, which is incompatible with my current workflow—I need to use LuaTex. Is there a way to fix this issue without invoking mathspec?
fonts xetex luatex fontspec mathspec
add a comment |
I had been using the following in my preamble:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagefontspec
setmainfont[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
until I noticed that this produced the following ugly result with the wrong digits font:
I have come up with a temporary solution using mathspec:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagemathspec
setallmainfonts(Digits,Latin)[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
and this indeed fixes the problem:
The issue is that mathspec requires me to use XeTeX, which is incompatible with my current workflow—I need to use LuaTex. Is there a way to fix this issue without invoking mathspec?
fonts xetex luatex fontspec mathspec
I had been using the following in my preamble:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagefontspec
setmainfont[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
until I noticed that this produced the following ugly result with the wrong digits font:
I have come up with a temporary solution using mathspec:
documentclassarticle[12pt]
usepackage[lite,subscriptcorrection,zswash,slantedGreek,nofontinfo]mtpro2
usepackagemathspec
setallmainfonts(Digits,Latin)[Ligatures=TeX,Rare]Times New Roman
begindocument
This is a 123 test $123$.
enddocument
and this indeed fixes the problem:
The issue is that mathspec requires me to use XeTeX, which is incompatible with my current workflow—I need to use LuaTex. Is there a way to fix this issue without invoking mathspec?
fonts xetex luatex fontspec mathspec
fonts xetex luatex fontspec mathspec
asked 14 mins ago
occamsrazoroccamsrazor
183
183
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f481124%2ffontspec-isnt-changing-digits-in-math-mode%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f481124%2ffontspec-isnt-changing-digits-in-math-mode%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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