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?













0















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:Wrong digits!
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:
Correct digits
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?










share|improve this question


























    0















    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:Wrong digits!
    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:
    Correct digits
    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?










    share|improve this question
























      0












      0








      0








      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:Wrong digits!
      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:
      Correct digits
      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?










      share|improve this question














      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:Wrong digits!
      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:
      Correct digits
      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 mins ago









      occamsrazoroccamsrazor

      183




      183




















          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
          );



          );













          draft saved

          draft discarded


















          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















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          acmart: Multiple authors: all with same affiliation, one author an additional affiliationHow to Write Names of Multiple Authors with Shared Affiliation in ACM 2017 Template?Multiple authors with different primary affiliation, but same additional affiliationSame affiliation for all authors without extra packagesIOS-Book-Article.cls: one author with multiple affiliationacmart: Shared Author AffiliationMultiple authors with different primary affiliation, but same additional affiliationAuthor affiliation with only 1 authorAdding Multiple Authors with Different Affiliation in LaTeX ArticleLaTeX: Multiple authors stays on same lineHow to Label Multiple Authors with Same DescriptionHow to make two authors use the same affiliationTwo authors with same affiliation on finished front page

          How to write “ä” and other umlauts and accented letters in bibliography?Accents in BibTeXSorting references with special characters alphabeticallyUse ae ligature in bibliographyEastern European nameInverted circumflex in BibTexBibTex, non-ascii initials and nameptr fproblems with accent in LatexHow to add a Ø to my bibliography from Jabref?References without accentsTroubles when trying to cite St“omer-Verlet in ”title" field of a bib entryComprehensive list of accented charactersHow to type the letter “i” with two dots (diaeresis) in math mode?Problem with glossary text and accented lettersSpecial character in bibliographyAccented letters, Unicode and LaTeX accentsHow to stop natbib from modifying bibliography styleCitation of a paper with non-standard characters by BibtexWrite accented characters to file using writeHow to group the bibliography alphabetically, if some surnames start with “accented” characters?How can I automatically capitalize significant words in my bibliography?

          How to force a table into page width?How to make table spanning textwidthMaking table width fit into text widthTable with tabular, column type p grabbing available spaceMaking widths of tables equal to width of textblocklatex tabular width the same as the textwidthMake tabular span textwidth exactlySet width of table to be the whole line or a given portion of itIs the tabu package obsolete?What is the difference between tabular, tabular* and tabularx environments?How can i set the width of a table?Making table width fit into text widthTabular and grid typesettingMake table use page widthTable exceeds page widthtable width automatically to page widthHow to shrink table to page widthForce table column to be zero widthTable width exceeds the page widthTable extending beyond the page widthforce longtable to text width