Unicode-math and declaring symbol fontgrabbing a single Greek glyph from an alternative font in math mode?What Unicode Font is Best Suited for Math Symbols using Font-Locking under Emacs?Unicode-math and ReEmulating amsmath's varGamma…varOmega with unicode-mathUnicode-math and fractionsMissing varepsilon symbol using unicode-math and XeLaTeXSymbol sslash with XeLaTeX (and unicode-math)Pencil symbol with xelatex (and unicode-math)Unicode-Math and not

Does it make sense to use strict equality constraint in optimization?

Destructuring a list containing two items to use it as arguments to a binary function

Can any number of squares sum to a square?

Am I obligated to pass on domain knowledge after being let go?

Is it harder to enter an atmosphere perpendicular or at an angle

Simulating these special dice on more regular dice

Pros and cons of playing correspondence chess

Do sine waves (pure tones) have overtones?

Roll for Initiative!

Is it possible to stall a plane so badly that the nose refuses to go down due to lack of airspeed?

What is the logic for the map maker classifying the map this way, specifically in Canada?

Is harmony based on intervals rather than chords?

Can I weaken a coil spring consisting of spring steel?

Did the Mueller report find that Trump committed any felonies?

How do professors and lecturers learn to teach?

Making one list from two lists by grouping them in a special way

Dynamical Rotating pendulum

Unpaid suspension due to management error

Group Delay for Hilbert Transformer and Resulting Dispersion

Reconstructed PIE grammar? Could we be able to speak in Proto-European?

femme - why pronounced but not spelt as "famme"

What spells could cure a stroke?

How to move two parenting objects together?

Query more than 50000 records



Unicode-math and declaring symbol font


grabbing a single Greek glyph from an alternative font in math mode?What Unicode Font is Best Suited for Math Symbols using Font-Locking under Emacs?Unicode-math and ReEmulating amsmath's varGamma…varOmega with unicode-mathUnicode-math and fractionsMissing varepsilon symbol using unicode-math and XeLaTeXSymbol sslash with XeLaTeX (and unicode-math)Pencil symbol with xelatex (and unicode-math)Unicode-Math and not






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









4


















I would like to set the math font as Garamond-Math (here) except that greek letters should come from a different font (for an illustration, computer modern in the example below.). But it seems declaring the new font does not work.



How to achieve this?



documentclassarticle
usepackageamsmath
usepackageamsthm
usepackage[math-style=ISO, bold-style=ISO]unicode-math
setmathfontGaramond-Math.otf

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DeclareSymbolFontgsOMLcmmmit
DeclareMathSymbolalphamathalphags11
DeclareMathSymbolbetamathalphags12
DeclareMathSymbolgammamathalphags13

begindocument
[2aalpha=theta]
enddocument









share|improve this question

































    4


















    I would like to set the math font as Garamond-Math (here) except that greek letters should come from a different font (for an illustration, computer modern in the example below.). But it seems declaring the new font does not work.



    How to achieve this?



    documentclassarticle
    usepackageamsmath
    usepackageamsthm
    usepackage[math-style=ISO, bold-style=ISO]unicode-math
    setmathfontGaramond-Math.otf

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    DeclareSymbolFontgsOMLcmmmit
    DeclareMathSymbolalphamathalphags11
    DeclareMathSymbolbetamathalphags12
    DeclareMathSymbolgammamathalphags13

    begindocument
    [2aalpha=theta]
    enddocument









    share|improve this question





























      4













      4









      4








      I would like to set the math font as Garamond-Math (here) except that greek letters should come from a different font (for an illustration, computer modern in the example below.). But it seems declaring the new font does not work.



      How to achieve this?



      documentclassarticle
      usepackageamsmath
      usepackageamsthm
      usepackage[math-style=ISO, bold-style=ISO]unicode-math
      setmathfontGaramond-Math.otf

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      DeclareSymbolFontgsOMLcmmmit
      DeclareMathSymbolalphamathalphags11
      DeclareMathSymbolbetamathalphags12
      DeclareMathSymbolgammamathalphags13

      begindocument
      [2aalpha=theta]
      enddocument









      share|improve this question
















      I would like to set the math font as Garamond-Math (here) except that greek letters should come from a different font (for an illustration, computer modern in the example below.). But it seems declaring the new font does not work.



      How to achieve this?



      documentclassarticle
      usepackageamsmath
      usepackageamsthm
      usepackage[math-style=ISO, bold-style=ISO]unicode-math
      setmathfontGaramond-Math.otf

      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
      DeclareSymbolFontgsOMLcmmmit
      DeclareMathSymbolalphamathalphags11
      DeclareMathSymbolbetamathalphags12
      DeclareMathSymbolgammamathalphags13

      begindocument
      [2aalpha=theta]
      enddocument






      xetex symbols unicode-math






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 28 at 14:58







      mert

















      asked Sep 28 at 12:50









      mertmert

      1,3611 gold badge9 silver badges15 bronze badges




      1,3611 gold badge9 silver badges15 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          4



















          unicode-math does many things AtBeginDocument, you can delay your declarations:



          documentclassarticle
          usepackageunicode-math
          setmathfontGaramond-Math.otf

          DeclareSymbolFontgsOMLcmmmit
          newcommand*RedeclareMathSymbol[4]%
          let#1relax
          DeclareMathSymbol#1#2#3#4%


          AtBeginDocument%
          RedeclareMathSymbolalphamathalphags11%
          RedeclareMathSymbolbetamathalphags12%


          begindocument
          [2aalpha=betatheta]
          enddocument


          mixing fonts






          share|improve this answer
































            4



















            It doesn't work because unicode-math sets the font tables at begin document.



            You should use the range feature instead:



            documentclassarticle
            usepackageamsmath
            usepackageamsthm
            usepackage[math-style=ISO, bold-style=ISO]unicode-math

            setmathfontGaramond-Math.otf
            setmathfontlatinmodern-math.otf[
            Scale=MatchLowercase,
            range=it/greek,Greek,
            ]
            setmathfontGaramond-Math.otf[range=int]


            begindocument

            [2aalpha=theta]

            enddocument


            enter image description here






            share|improve this answer


























              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/4.0/"u003ecc by-sa 4.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%2f510139%2funicode-math-and-declaring-symbol-font%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown


























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4



















              unicode-math does many things AtBeginDocument, you can delay your declarations:



              documentclassarticle
              usepackageunicode-math
              setmathfontGaramond-Math.otf

              DeclareSymbolFontgsOMLcmmmit
              newcommand*RedeclareMathSymbol[4]%
              let#1relax
              DeclareMathSymbol#1#2#3#4%


              AtBeginDocument%
              RedeclareMathSymbolalphamathalphags11%
              RedeclareMathSymbolbetamathalphags12%


              begindocument
              [2aalpha=betatheta]
              enddocument


              mixing fonts






              share|improve this answer





























                4



















                unicode-math does many things AtBeginDocument, you can delay your declarations:



                documentclassarticle
                usepackageunicode-math
                setmathfontGaramond-Math.otf

                DeclareSymbolFontgsOMLcmmmit
                newcommand*RedeclareMathSymbol[4]%
                let#1relax
                DeclareMathSymbol#1#2#3#4%


                AtBeginDocument%
                RedeclareMathSymbolalphamathalphags11%
                RedeclareMathSymbolbetamathalphags12%


                begindocument
                [2aalpha=betatheta]
                enddocument


                mixing fonts






                share|improve this answer



























                  4















                  4











                  4









                  unicode-math does many things AtBeginDocument, you can delay your declarations:



                  documentclassarticle
                  usepackageunicode-math
                  setmathfontGaramond-Math.otf

                  DeclareSymbolFontgsOMLcmmmit
                  newcommand*RedeclareMathSymbol[4]%
                  let#1relax
                  DeclareMathSymbol#1#2#3#4%


                  AtBeginDocument%
                  RedeclareMathSymbolalphamathalphags11%
                  RedeclareMathSymbolbetamathalphags12%


                  begindocument
                  [2aalpha=betatheta]
                  enddocument


                  mixing fonts






                  share|improve this answer














                  unicode-math does many things AtBeginDocument, you can delay your declarations:



                  documentclassarticle
                  usepackageunicode-math
                  setmathfontGaramond-Math.otf

                  DeclareSymbolFontgsOMLcmmmit
                  newcommand*RedeclareMathSymbol[4]%
                  let#1relax
                  DeclareMathSymbol#1#2#3#4%


                  AtBeginDocument%
                  RedeclareMathSymbolalphamathalphags11%
                  RedeclareMathSymbolbetamathalphags12%


                  begindocument
                  [2aalpha=betatheta]
                  enddocument


                  mixing fonts







                  share|improve this answer













                  share|improve this answer




                  share|improve this answer










                  answered Sep 28 at 15:39









                  Ruixi ZhangRuixi Zhang

                  7,1457 silver badges27 bronze badges




                  7,1457 silver badges27 bronze badges


























                      4



















                      It doesn't work because unicode-math sets the font tables at begin document.



                      You should use the range feature instead:



                      documentclassarticle
                      usepackageamsmath
                      usepackageamsthm
                      usepackage[math-style=ISO, bold-style=ISO]unicode-math

                      setmathfontGaramond-Math.otf
                      setmathfontlatinmodern-math.otf[
                      Scale=MatchLowercase,
                      range=it/greek,Greek,
                      ]
                      setmathfontGaramond-Math.otf[range=int]


                      begindocument

                      [2aalpha=theta]

                      enddocument


                      enter image description here






                      share|improve this answer





























                        4



















                        It doesn't work because unicode-math sets the font tables at begin document.



                        You should use the range feature instead:



                        documentclassarticle
                        usepackageamsmath
                        usepackageamsthm
                        usepackage[math-style=ISO, bold-style=ISO]unicode-math

                        setmathfontGaramond-Math.otf
                        setmathfontlatinmodern-math.otf[
                        Scale=MatchLowercase,
                        range=it/greek,Greek,
                        ]
                        setmathfontGaramond-Math.otf[range=int]


                        begindocument

                        [2aalpha=theta]

                        enddocument


                        enter image description here






                        share|improve this answer



























                          4















                          4











                          4









                          It doesn't work because unicode-math sets the font tables at begin document.



                          You should use the range feature instead:



                          documentclassarticle
                          usepackageamsmath
                          usepackageamsthm
                          usepackage[math-style=ISO, bold-style=ISO]unicode-math

                          setmathfontGaramond-Math.otf
                          setmathfontlatinmodern-math.otf[
                          Scale=MatchLowercase,
                          range=it/greek,Greek,
                          ]
                          setmathfontGaramond-Math.otf[range=int]


                          begindocument

                          [2aalpha=theta]

                          enddocument


                          enter image description here






                          share|improve this answer














                          It doesn't work because unicode-math sets the font tables at begin document.



                          You should use the range feature instead:



                          documentclassarticle
                          usepackageamsmath
                          usepackageamsthm
                          usepackage[math-style=ISO, bold-style=ISO]unicode-math

                          setmathfontGaramond-Math.otf
                          setmathfontlatinmodern-math.otf[
                          Scale=MatchLowercase,
                          range=it/greek,Greek,
                          ]
                          setmathfontGaramond-Math.otf[range=int]


                          begindocument

                          [2aalpha=theta]

                          enddocument


                          enter image description here







                          share|improve this answer













                          share|improve this answer




                          share|improve this answer










                          answered Sep 28 at 15:37









                          egregegreg

                          788k95 gold badges2053 silver badges3424 bronze badges




                          788k95 gold badges2053 silver badges3424 bronze badges































                              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%2f510139%2funicode-math-and-declaring-symbol-font%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

                              Tamil (spriik) Luke uk diar | Nawigatjuun

                              Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                              Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?