Triple integral in mathpazo

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












Using



iiint


seems to work fine to generator a triple integral. However, it doesn't seem to work if I include



includemathpazo


in the preamble. Any solutions for this? I am using the Palatino font for the main text. The MWE is as follows:



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagefouriernc
usepackagemathpazo
usepackage[centertags]amsmath
usepackageamssymb
usepackageamsthm
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iiintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument






share|improve this question





















  • @marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
    – Sid
    Aug 6 at 15:47










  • Please, make a minimal example that produces the error.
    – egreg
    Aug 6 at 15:55














up vote
6
down vote

favorite
1












Using



iiint


seems to work fine to generator a triple integral. However, it doesn't seem to work if I include



includemathpazo


in the preamble. Any solutions for this? I am using the Palatino font for the main text. The MWE is as follows:



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagefouriernc
usepackagemathpazo
usepackage[centertags]amsmath
usepackageamssymb
usepackageamsthm
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iiintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument






share|improve this question





















  • @marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
    – Sid
    Aug 6 at 15:47










  • Please, make a minimal example that produces the error.
    – egreg
    Aug 6 at 15:55












up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





Using



iiint


seems to work fine to generator a triple integral. However, it doesn't seem to work if I include



includemathpazo


in the preamble. Any solutions for this? I am using the Palatino font for the main text. The MWE is as follows:



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagefouriernc
usepackagemathpazo
usepackage[centertags]amsmath
usepackageamssymb
usepackageamsthm
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iiintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument






share|improve this question













Using



iiint


seems to work fine to generator a triple integral. However, it doesn't seem to work if I include



includemathpazo


in the preamble. Any solutions for this? I am using the Palatino font for the main text. The MWE is as follows:



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagefouriernc
usepackagemathpazo
usepackage[centertags]amsmath
usepackageamssymb
usepackageamsthm
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iiintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument








share|improve this question












share|improve this question




share|improve this question








edited Aug 6 at 16:20
























asked Aug 6 at 15:07









Sid

536213




536213











  • @marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
    – Sid
    Aug 6 at 15:47










  • Please, make a minimal example that produces the error.
    – egreg
    Aug 6 at 15:55
















  • @marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
    – Sid
    Aug 6 at 15:47










  • Please, make a minimal example that produces the error.
    – egreg
    Aug 6 at 15:55















@marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
– Sid
Aug 6 at 15:47




@marmot, yes I actually have usepackagemathpazo. I already have amsmath loaded.
– Sid
Aug 6 at 15:47












Please, make a minimal example that produces the error.
– egreg
Aug 6 at 15:55




Please, make a minimal example that produces the error.
– egreg
Aug 6 at 15:55










4 Answers
4






active

oldest

votes

















up vote
8
down vote



accepted










The mathpazo package, which provides Palatino-clone text and math fonts, hasn't been updated in a long time. As you've discovered, it also lacks macros to generate double- and triple-integral symbols.



An up-to-date alternative to mathpazo is the newpxtext and newpxmath pair of packages. A side-benefit of loading newpxmath is that it provides a iiint macro by default -- as well as several other, compatibly styled integral symbols.



Since newpxmath loads the amsmath package automatically (if it hasn't been loaded already), there's no need to load amsmath in separate instruction. Likewise, unless the noamssymbols option is set, the newpxmath package loads the pxfonts version of amssymb -- no need to load the amssymb package separately either



enter image description here



documentclassarticle
usepackagenewpxtext,newpxmath
begindocument
$int oint iint iiint displaystyleint oint iint iiint$

The quick brown fox jumps over the lazy dog.
enddocument



Addendum, posted after the OP provided a full MWE: The newpxmath and newpxtext packages must be loaded after amsmath.



enter image description here



documentclass[a4paper]memoir
usepackage[T1]fontenc
%usepackagefouriernc % not compatible with Palatino
usepackageamsmath % is loaded automatically by 'newpxmath' package
%usepackageamssymb % no need to load this package either
usepackageamsthm
usepackagemathrsfs
usepackagenewpxtext,newpxmath

newcommand*difmathop!mathrmd

begindocument
setcounterchapter2 % just for this example
sectionA Section

This should be a triple integral:
beginequation labeleqn:triple_integral
iiintlimits_V ! dif V , (nablaphi)^2 = 0.
endequation
enddocument





share|improve this answer























  • What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
    – Sid
    Aug 6 at 16:27










  • That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
    – Sid
    Aug 6 at 16:49






  • 1




    @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
    – Mico
    Aug 6 at 16:51







  • 4




    It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
    – Ruixi Zhang
    Aug 6 at 17:07











  • @RuixiZhang - Thanks! I've commented out the instruction in question.
    – Mico
    Aug 6 at 18:59

















up vote
4
down vote













Using xelatex or lualatex makes things easier:



documentclass[a4paper]memoir
usepackageamsthm
usepackageunicode-math
setmainfontTeX Gyre Pagella
setmathfontTeX Gyre Pagella Math

newcommand*difmathop!mathrmd

begindocument
setcounterchapter2 % just for this example
sectionA Section
This should be a triple integral:
beginequation labeleqn:triple_integral
iiintlimits_V ! dif V , (nablaphi)^2 = 0.
endequation
enddocument


enter image description here






share|improve this answer





















  • +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
    – Mico
    Aug 6 at 19:59

















up vote
3
down vote













The error is in loading fouriernc, which is for using New Century Schoolbook, rather than Palatino. Load either it or mathpazo, not both.



The centertags option is active by default for amsmath.



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagemathpazo
usepackageamsmath
usepackageamssymb
usepackageamsthm
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginequation
iiintlimits_V (nablaphi)^2 dif V = 0.
labeleqn:triple_integral
endequation

enddocument


enter image description here



A different option is to use newpx (amsthm should be loaded before it) and amssymb should be removed.



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackageamsthm
usepackagenewpxtext,newpxmath
usepackagemathrsfs

newcommand*difmathop!mathrmd

begindocument

sectionA Section

This should be a triple integral:
beginequation
iiintlimits_V (nablaphi)^2 dif V = 0.
labeleqn:triple_integral
endequation

enddocument


enter image description here






share|improve this answer























  • This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
    – Sid
    Aug 6 at 23:06










  • I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
    – Sid
    Aug 6 at 23:09










  • Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
    – Sid
    Aug 6 at 23:34










  • @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
    – egreg
    Aug 7 at 8:23

















up vote
2
down vote













A good. modern replacement for mathpple/mathpazo/pxfonts/newpxmath is Asana Math, which was originally based on Young Ryu’s pxfonts.



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[centertags]amsmath
usepackageunicode-math

defaultfontfeaturesScale=MatchLowercase
setmainfontTeX Gyre Pagella[Scale = 1.0, Ligatures=Common, TeX]
setmathfontAsana Math
% If you’re using mathrsfs, you probably want to use mathscr, but you also
% load amssymb. The following line sets up a mathcal and mathbfcal similar
% to the ones from ammsymb, in addition to mathscr and mathbfscr similar to
% rsfs.
setmathfont[range=cal,bfcal, Alternate]Asana Math

% URW Classico is a free clone of Optima, which matches the free clones of
% Palatino well.
%setsansfontURWClassico[
% UprightFont = *-Regular ,
% BoldFont = *-Bold ,
% ItalicFont = *-Italic ,
% BoldItalicFont = *-BoldItalic ,
% Extension = .ttf ]

%setmonofontInconsolata % A humanist monospaced font.

newcommand*difmathopmathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iiintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument


Asana Math Sample



For comparison, mathpazo with a double integral:



documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
usepackage[T1]fontenc
usepackagetextcomp
usepackage[utf8]inputenc % The default since 2018.

usepackage[centertags]amsmath
usepackageamssymb
usepackagemathrsfs
usepackagemathpazo

newcommand*difmathopmathrmd

begindocument

sectionA Section

This should be a triple integral:
beginalign
iintlimits_V dif V , (nablaphi)^2 = 0.
labeleqn:triple_integral
endalign

enddocument


mathpazo example



My recommendation is to use unicode-math whenever you can, and legacy font packages when you have to. Any modern math font has more symbols with more consistency and more flexibility than any combination of legacy packages. If you’re stuck with PDFTeX, I suggest replacing usepackagemathpazo with usepackagenewpxtext, newpxmath.






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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f444852%2ftriple-integral-in-mathpazo%23new-answer', 'question_page');

    );

    Post as a guest






























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    8
    down vote



    accepted










    The mathpazo package, which provides Palatino-clone text and math fonts, hasn't been updated in a long time. As you've discovered, it also lacks macros to generate double- and triple-integral symbols.



    An up-to-date alternative to mathpazo is the newpxtext and newpxmath pair of packages. A side-benefit of loading newpxmath is that it provides a iiint macro by default -- as well as several other, compatibly styled integral symbols.



    Since newpxmath loads the amsmath package automatically (if it hasn't been loaded already), there's no need to load amsmath in separate instruction. Likewise, unless the noamssymbols option is set, the newpxmath package loads the pxfonts version of amssymb -- no need to load the amssymb package separately either



    enter image description here



    documentclassarticle
    usepackagenewpxtext,newpxmath
    begindocument
    $int oint iint iiint displaystyleint oint iint iiint$

    The quick brown fox jumps over the lazy dog.
    enddocument



    Addendum, posted after the OP provided a full MWE: The newpxmath and newpxtext packages must be loaded after amsmath.



    enter image description here



    documentclass[a4paper]memoir
    usepackage[T1]fontenc
    %usepackagefouriernc % not compatible with Palatino
    usepackageamsmath % is loaded automatically by 'newpxmath' package
    %usepackageamssymb % no need to load this package either
    usepackageamsthm
    usepackagemathrsfs
    usepackagenewpxtext,newpxmath

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section

    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument





    share|improve this answer























    • What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
      – Sid
      Aug 6 at 16:27










    • That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
      – Sid
      Aug 6 at 16:49






    • 1




      @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
      – Mico
      Aug 6 at 16:51







    • 4




      It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
      – Ruixi Zhang
      Aug 6 at 17:07











    • @RuixiZhang - Thanks! I've commented out the instruction in question.
      – Mico
      Aug 6 at 18:59














    up vote
    8
    down vote



    accepted










    The mathpazo package, which provides Palatino-clone text and math fonts, hasn't been updated in a long time. As you've discovered, it also lacks macros to generate double- and triple-integral symbols.



    An up-to-date alternative to mathpazo is the newpxtext and newpxmath pair of packages. A side-benefit of loading newpxmath is that it provides a iiint macro by default -- as well as several other, compatibly styled integral symbols.



    Since newpxmath loads the amsmath package automatically (if it hasn't been loaded already), there's no need to load amsmath in separate instruction. Likewise, unless the noamssymbols option is set, the newpxmath package loads the pxfonts version of amssymb -- no need to load the amssymb package separately either



    enter image description here



    documentclassarticle
    usepackagenewpxtext,newpxmath
    begindocument
    $int oint iint iiint displaystyleint oint iint iiint$

    The quick brown fox jumps over the lazy dog.
    enddocument



    Addendum, posted after the OP provided a full MWE: The newpxmath and newpxtext packages must be loaded after amsmath.



    enter image description here



    documentclass[a4paper]memoir
    usepackage[T1]fontenc
    %usepackagefouriernc % not compatible with Palatino
    usepackageamsmath % is loaded automatically by 'newpxmath' package
    %usepackageamssymb % no need to load this package either
    usepackageamsthm
    usepackagemathrsfs
    usepackagenewpxtext,newpxmath

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section

    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument





    share|improve this answer























    • What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
      – Sid
      Aug 6 at 16:27










    • That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
      – Sid
      Aug 6 at 16:49






    • 1




      @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
      – Mico
      Aug 6 at 16:51







    • 4




      It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
      – Ruixi Zhang
      Aug 6 at 17:07











    • @RuixiZhang - Thanks! I've commented out the instruction in question.
      – Mico
      Aug 6 at 18:59












    up vote
    8
    down vote



    accepted







    up vote
    8
    down vote



    accepted






    The mathpazo package, which provides Palatino-clone text and math fonts, hasn't been updated in a long time. As you've discovered, it also lacks macros to generate double- and triple-integral symbols.



    An up-to-date alternative to mathpazo is the newpxtext and newpxmath pair of packages. A side-benefit of loading newpxmath is that it provides a iiint macro by default -- as well as several other, compatibly styled integral symbols.



    Since newpxmath loads the amsmath package automatically (if it hasn't been loaded already), there's no need to load amsmath in separate instruction. Likewise, unless the noamssymbols option is set, the newpxmath package loads the pxfonts version of amssymb -- no need to load the amssymb package separately either



    enter image description here



    documentclassarticle
    usepackagenewpxtext,newpxmath
    begindocument
    $int oint iint iiint displaystyleint oint iint iiint$

    The quick brown fox jumps over the lazy dog.
    enddocument



    Addendum, posted after the OP provided a full MWE: The newpxmath and newpxtext packages must be loaded after amsmath.



    enter image description here



    documentclass[a4paper]memoir
    usepackage[T1]fontenc
    %usepackagefouriernc % not compatible with Palatino
    usepackageamsmath % is loaded automatically by 'newpxmath' package
    %usepackageamssymb % no need to load this package either
    usepackageamsthm
    usepackagemathrsfs
    usepackagenewpxtext,newpxmath

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section

    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument





    share|improve this answer















    The mathpazo package, which provides Palatino-clone text and math fonts, hasn't been updated in a long time. As you've discovered, it also lacks macros to generate double- and triple-integral symbols.



    An up-to-date alternative to mathpazo is the newpxtext and newpxmath pair of packages. A side-benefit of loading newpxmath is that it provides a iiint macro by default -- as well as several other, compatibly styled integral symbols.



    Since newpxmath loads the amsmath package automatically (if it hasn't been loaded already), there's no need to load amsmath in separate instruction. Likewise, unless the noamssymbols option is set, the newpxmath package loads the pxfonts version of amssymb -- no need to load the amssymb package separately either



    enter image description here



    documentclassarticle
    usepackagenewpxtext,newpxmath
    begindocument
    $int oint iint iiint displaystyleint oint iint iiint$

    The quick brown fox jumps over the lazy dog.
    enddocument



    Addendum, posted after the OP provided a full MWE: The newpxmath and newpxtext packages must be loaded after amsmath.



    enter image description here



    documentclass[a4paper]memoir
    usepackage[T1]fontenc
    %usepackagefouriernc % not compatible with Palatino
    usepackageamsmath % is loaded automatically by 'newpxmath' package
    %usepackageamssymb % no need to load this package either
    usepackageamsthm
    usepackagemathrsfs
    usepackagenewpxtext,newpxmath

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section

    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument






    share|improve this answer















    share|improve this answer



    share|improve this answer








    edited Aug 6 at 19:57


























    answered Aug 6 at 15:59









    Mico

    260k30353728




    260k30353728











    • What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
      – Sid
      Aug 6 at 16:27










    • That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
      – Sid
      Aug 6 at 16:49






    • 1




      @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
      – Mico
      Aug 6 at 16:51







    • 4




      It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
      – Ruixi Zhang
      Aug 6 at 17:07











    • @RuixiZhang - Thanks! I've commented out the instruction in question.
      – Mico
      Aug 6 at 18:59
















    • What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
      – Sid
      Aug 6 at 16:27










    • That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
      – Sid
      Aug 6 at 16:49






    • 1




      @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
      – Mico
      Aug 6 at 16:51







    • 4




      It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
      – Ruixi Zhang
      Aug 6 at 17:07











    • @RuixiZhang - Thanks! I've commented out the instruction in question.
      – Mico
      Aug 6 at 18:59















    What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
    – Sid
    Aug 6 at 16:27




    What you provide works. However, if I adjust the MWE above to replace mathpazo with the packages you suggest, I get an error in compilation: "Option clash for package amsmath".
    – Sid
    Aug 6 at 16:27












    That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
    – Sid
    Aug 6 at 16:49




    That works great. Just a final question on this: Why is fouriernc not compatible with Palatino? I am not well versed with the font packages on LaTeX.
    – Sid
    Aug 6 at 16:49




    1




    1




    @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
    – Mico
    Aug 6 at 16:51





    @Sid - I meant to write, "visually not compatible". Fourier is rather different from Palatino. I can see no reason for trying to mix-and-mismatch them.
    – Mico
    Aug 6 at 16:51





    4




    4




    It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
    – Ruixi Zhang
    Aug 6 at 17:07





    It is worth mentioning that amssymb should not be loaded if newpxmath is used, as the newpxmath package option amssymbols loads pxfonts version of the AMS symbols. This assumes, of course, that the user wants to use Palatino-compatible math font.
    – Ruixi Zhang
    Aug 6 at 17:07













    @RuixiZhang - Thanks! I've commented out the instruction in question.
    – Mico
    Aug 6 at 18:59




    @RuixiZhang - Thanks! I've commented out the instruction in question.
    – Mico
    Aug 6 at 18:59










    up vote
    4
    down vote













    Using xelatex or lualatex makes things easier:



    documentclass[a4paper]memoir
    usepackageamsthm
    usepackageunicode-math
    setmainfontTeX Gyre Pagella
    setmathfontTeX Gyre Pagella Math

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section
    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument


    enter image description here






    share|improve this answer





















    • +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
      – Mico
      Aug 6 at 19:59














    up vote
    4
    down vote













    Using xelatex or lualatex makes things easier:



    documentclass[a4paper]memoir
    usepackageamsthm
    usepackageunicode-math
    setmainfontTeX Gyre Pagella
    setmathfontTeX Gyre Pagella Math

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section
    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument


    enter image description here






    share|improve this answer





















    • +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
      – Mico
      Aug 6 at 19:59












    up vote
    4
    down vote










    up vote
    4
    down vote









    Using xelatex or lualatex makes things easier:



    documentclass[a4paper]memoir
    usepackageamsthm
    usepackageunicode-math
    setmainfontTeX Gyre Pagella
    setmathfontTeX Gyre Pagella Math

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section
    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument


    enter image description here






    share|improve this answer













    Using xelatex or lualatex makes things easier:



    documentclass[a4paper]memoir
    usepackageamsthm
    usepackageunicode-math
    setmainfontTeX Gyre Pagella
    setmathfontTeX Gyre Pagella Math

    newcommand*difmathop!mathrmd

    begindocument
    setcounterchapter2 % just for this example
    sectionA Section
    This should be a triple integral:
    beginequation labeleqn:triple_integral
    iiintlimits_V ! dif V , (nablaphi)^2 = 0.
    endequation
    enddocument


    enter image description here







    share|improve this answer













    share|improve this answer



    share|improve this answer











    answered Aug 6 at 19:56









    Herbert

    260k21393701




    260k21393701











    • +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
      – Mico
      Aug 6 at 19:59
















    • +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
      – Mico
      Aug 6 at 19:59















    +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
    – Mico
    Aug 6 at 19:59




    +1. You may want to be a tad more explicit what it is about LuaLaTeX or XeLaTeX that "makes things easier".
    – Mico
    Aug 6 at 19:59










    up vote
    3
    down vote













    The error is in loading fouriernc, which is for using New Century Schoolbook, rather than Palatino. Load either it or mathpazo, not both.



    The centertags option is active by default for amsmath.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackagemathpazo
    usepackageamsmath
    usepackageamssymb
    usepackageamsthm
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here



    A different option is to use newpx (amsthm should be loaded before it) and amssymb should be removed.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackageamsthm
    usepackagenewpxtext,newpxmath
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here






    share|improve this answer























    • This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
      – Sid
      Aug 6 at 23:06










    • I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
      – Sid
      Aug 6 at 23:09










    • Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
      – Sid
      Aug 6 at 23:34










    • @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
      – egreg
      Aug 7 at 8:23














    up vote
    3
    down vote













    The error is in loading fouriernc, which is for using New Century Schoolbook, rather than Palatino. Load either it or mathpazo, not both.



    The centertags option is active by default for amsmath.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackagemathpazo
    usepackageamsmath
    usepackageamssymb
    usepackageamsthm
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here



    A different option is to use newpx (amsthm should be loaded before it) and amssymb should be removed.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackageamsthm
    usepackagenewpxtext,newpxmath
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here






    share|improve this answer























    • This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
      – Sid
      Aug 6 at 23:06










    • I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
      – Sid
      Aug 6 at 23:09










    • Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
      – Sid
      Aug 6 at 23:34










    • @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
      – egreg
      Aug 7 at 8:23












    up vote
    3
    down vote










    up vote
    3
    down vote









    The error is in loading fouriernc, which is for using New Century Schoolbook, rather than Palatino. Load either it or mathpazo, not both.



    The centertags option is active by default for amsmath.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackagemathpazo
    usepackageamsmath
    usepackageamssymb
    usepackageamsthm
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here



    A different option is to use newpx (amsthm should be loaded before it) and amssymb should be removed.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackageamsthm
    usepackagenewpxtext,newpxmath
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here






    share|improve this answer















    The error is in loading fouriernc, which is for using New Century Schoolbook, rather than Palatino. Load either it or mathpazo, not both.



    The centertags option is active by default for amsmath.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackagemathpazo
    usepackageamsmath
    usepackageamssymb
    usepackageamsthm
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here



    A different option is to use newpx (amsthm should be loaded before it) and amssymb should be removed.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackageamsthm
    usepackagenewpxtext,newpxmath
    usepackagemathrsfs

    newcommand*difmathop!mathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginequation
    iiintlimits_V (nablaphi)^2 dif V = 0.
    labeleqn:triple_integral
    endequation

    enddocument


    enter image description here







    share|improve this answer















    share|improve this answer



    share|improve this answer








    edited Aug 6 at 19:49


























    answered Aug 6 at 19:42









    egreg

    676k8317983040




    676k8317983040











    • This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
      – Sid
      Aug 6 at 23:06










    • I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
      – Sid
      Aug 6 at 23:09










    • Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
      – Sid
      Aug 6 at 23:34










    • @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
      – egreg
      Aug 7 at 8:23
















    • This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
      – Sid
      Aug 6 at 23:06










    • I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
      – Sid
      Aug 6 at 23:09










    • Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
      – Sid
      Aug 6 at 23:34










    • @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
      – egreg
      Aug 7 at 8:23















    This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
    – Sid
    Aug 6 at 23:06




    This compiles fine. However, I reduced the MWE too minimally. I must be loading another package that is conflicting with these updates since the integral signs are still missing. I have update my MWE to contain more information.
    – Sid
    Aug 6 at 23:06












    I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
    – Sid
    Aug 6 at 23:09




    I had an usepackagefourier sneaking in the preamble too. This I believe was the conflict since the integral signs do appear now.
    – Sid
    Aug 6 at 23:09












    Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
    – Sid
    Aug 6 at 23:34




    Omitting usepackageamsthm leads to the appearance of erroneous 'plain plain plain definition plain plain' string of words at the beginning to the thesis. I can only assume it plays some additional role to that covered by newpxmath
    – Sid
    Aug 6 at 23:34












    @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
    – egreg
    Aug 7 at 8:23




    @Sid You can omit amsmath, not amsthm, as shown in my code. Of course, fourier should be removed, too, as its effect is similar to that of fouriernc.
    – egreg
    Aug 7 at 8:23










    up vote
    2
    down vote













    A good. modern replacement for mathpple/mathpazo/pxfonts/newpxmath is Asana Math, which was originally based on Young Ryu’s pxfonts.



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[centertags]amsmath
    usepackageunicode-math

    defaultfontfeaturesScale=MatchLowercase
    setmainfontTeX Gyre Pagella[Scale = 1.0, Ligatures=Common, TeX]
    setmathfontAsana Math
    % If you’re using mathrsfs, you probably want to use mathscr, but you also
    % load amssymb. The following line sets up a mathcal and mathbfcal similar
    % to the ones from ammsymb, in addition to mathscr and mathbfscr similar to
    % rsfs.
    setmathfont[range=cal,bfcal, Alternate]Asana Math

    % URW Classico is a free clone of Optima, which matches the free clones of
    % Palatino well.
    %setsansfontURWClassico[
    % UprightFont = *-Regular ,
    % BoldFont = *-Bold ,
    % ItalicFont = *-Italic ,
    % BoldItalicFont = *-BoldItalic ,
    % Extension = .ttf ]

    %setmonofontInconsolata % A humanist monospaced font.

    newcommand*difmathopmathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginalign
    iiintlimits_V dif V , (nablaphi)^2 = 0.
    labeleqn:triple_integral
    endalign

    enddocument


    Asana Math Sample



    For comparison, mathpazo with a double integral:



    documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
    usepackage[T1]fontenc
    usepackagetextcomp
    usepackage[utf8]inputenc % The default since 2018.

    usepackage[centertags]amsmath
    usepackageamssymb
    usepackagemathrsfs
    usepackagemathpazo

    newcommand*difmathopmathrmd

    begindocument

    sectionA Section

    This should be a triple integral:
    beginalign
    iintlimits_V dif V , (nablaphi)^2 = 0.
    labeleqn:triple_integral
    endalign

    enddocument


    mathpazo example



    My recommendation is to use unicode-math whenever you can, and legacy font packages when you have to. Any modern math font has more symbols with more consistency and more flexibility than any combination of legacy packages. If you’re stuck with PDFTeX, I suggest replacing usepackagemathpazo with usepackagenewpxtext, newpxmath.






    share|improve this answer



























      up vote
      2
      down vote













      A good. modern replacement for mathpple/mathpazo/pxfonts/newpxmath is Asana Math, which was originally based on Young Ryu’s pxfonts.



      documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
      usepackage[centertags]amsmath
      usepackageunicode-math

      defaultfontfeaturesScale=MatchLowercase
      setmainfontTeX Gyre Pagella[Scale = 1.0, Ligatures=Common, TeX]
      setmathfontAsana Math
      % If you’re using mathrsfs, you probably want to use mathscr, but you also
      % load amssymb. The following line sets up a mathcal and mathbfcal similar
      % to the ones from ammsymb, in addition to mathscr and mathbfscr similar to
      % rsfs.
      setmathfont[range=cal,bfcal, Alternate]Asana Math

      % URW Classico is a free clone of Optima, which matches the free clones of
      % Palatino well.
      %setsansfontURWClassico[
      % UprightFont = *-Regular ,
      % BoldFont = *-Bold ,
      % ItalicFont = *-Italic ,
      % BoldItalicFont = *-BoldItalic ,
      % Extension = .ttf ]

      %setmonofontInconsolata % A humanist monospaced font.

      newcommand*difmathopmathrmd

      begindocument

      sectionA Section

      This should be a triple integral:
      beginalign
      iiintlimits_V dif V , (nablaphi)^2 = 0.
      labeleqn:triple_integral
      endalign

      enddocument


      Asana Math Sample



      For comparison, mathpazo with a double integral:



      documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
      usepackage[T1]fontenc
      usepackagetextcomp
      usepackage[utf8]inputenc % The default since 2018.

      usepackage[centertags]amsmath
      usepackageamssymb
      usepackagemathrsfs
      usepackagemathpazo

      newcommand*difmathopmathrmd

      begindocument

      sectionA Section

      This should be a triple integral:
      beginalign
      iintlimits_V dif V , (nablaphi)^2 = 0.
      labeleqn:triple_integral
      endalign

      enddocument


      mathpazo example



      My recommendation is to use unicode-math whenever you can, and legacy font packages when you have to. Any modern math font has more symbols with more consistency and more flexibility than any combination of legacy packages. If you’re stuck with PDFTeX, I suggest replacing usepackagemathpazo with usepackagenewpxtext, newpxmath.






      share|improve this answer

























        up vote
        2
        down vote










        up vote
        2
        down vote









        A good. modern replacement for mathpple/mathpazo/pxfonts/newpxmath is Asana Math, which was originally based on Young Ryu’s pxfonts.



        documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
        usepackage[centertags]amsmath
        usepackageunicode-math

        defaultfontfeaturesScale=MatchLowercase
        setmainfontTeX Gyre Pagella[Scale = 1.0, Ligatures=Common, TeX]
        setmathfontAsana Math
        % If you’re using mathrsfs, you probably want to use mathscr, but you also
        % load amssymb. The following line sets up a mathcal and mathbfcal similar
        % to the ones from ammsymb, in addition to mathscr and mathbfscr similar to
        % rsfs.
        setmathfont[range=cal,bfcal, Alternate]Asana Math

        % URW Classico is a free clone of Optima, which matches the free clones of
        % Palatino well.
        %setsansfontURWClassico[
        % UprightFont = *-Regular ,
        % BoldFont = *-Bold ,
        % ItalicFont = *-Italic ,
        % BoldItalicFont = *-BoldItalic ,
        % Extension = .ttf ]

        %setmonofontInconsolata % A humanist monospaced font.

        newcommand*difmathopmathrmd

        begindocument

        sectionA Section

        This should be a triple integral:
        beginalign
        iiintlimits_V dif V , (nablaphi)^2 = 0.
        labeleqn:triple_integral
        endalign

        enddocument


        Asana Math Sample



        For comparison, mathpazo with a double integral:



        documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
        usepackage[T1]fontenc
        usepackagetextcomp
        usepackage[utf8]inputenc % The default since 2018.

        usepackage[centertags]amsmath
        usepackageamssymb
        usepackagemathrsfs
        usepackagemathpazo

        newcommand*difmathopmathrmd

        begindocument

        sectionA Section

        This should be a triple integral:
        beginalign
        iintlimits_V dif V , (nablaphi)^2 = 0.
        labeleqn:triple_integral
        endalign

        enddocument


        mathpazo example



        My recommendation is to use unicode-math whenever you can, and legacy font packages when you have to. Any modern math font has more symbols with more consistency and more flexibility than any combination of legacy packages. If you’re stuck with PDFTeX, I suggest replacing usepackagemathpazo with usepackagenewpxtext, newpxmath.






        share|improve this answer















        A good. modern replacement for mathpple/mathpazo/pxfonts/newpxmath is Asana Math, which was originally based on Young Ryu’s pxfonts.



        documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
        usepackage[centertags]amsmath
        usepackageunicode-math

        defaultfontfeaturesScale=MatchLowercase
        setmainfontTeX Gyre Pagella[Scale = 1.0, Ligatures=Common, TeX]
        setmathfontAsana Math
        % If you’re using mathrsfs, you probably want to use mathscr, but you also
        % load amssymb. The following line sets up a mathcal and mathbfcal similar
        % to the ones from ammsymb, in addition to mathscr and mathbfscr similar to
        % rsfs.
        setmathfont[range=cal,bfcal, Alternate]Asana Math

        % URW Classico is a free clone of Optima, which matches the free clones of
        % Palatino well.
        %setsansfontURWClassico[
        % UprightFont = *-Regular ,
        % BoldFont = *-Bold ,
        % ItalicFont = *-Italic ,
        % BoldItalicFont = *-BoldItalic ,
        % Extension = .ttf ]

        %setmonofontInconsolata % A humanist monospaced font.

        newcommand*difmathopmathrmd

        begindocument

        sectionA Section

        This should be a triple integral:
        beginalign
        iiintlimits_V dif V , (nablaphi)^2 = 0.
        labeleqn:triple_integral
        endalign

        enddocument


        Asana Math Sample



        For comparison, mathpazo with a double integral:



        documentclass[a4paper,10pt,reqno,oldfontcommands]memoir
        usepackage[T1]fontenc
        usepackagetextcomp
        usepackage[utf8]inputenc % The default since 2018.

        usepackage[centertags]amsmath
        usepackageamssymb
        usepackagemathrsfs
        usepackagemathpazo

        newcommand*difmathopmathrmd

        begindocument

        sectionA Section

        This should be a triple integral:
        beginalign
        iintlimits_V dif V , (nablaphi)^2 = 0.
        labeleqn:triple_integral
        endalign

        enddocument


        mathpazo example



        My recommendation is to use unicode-math whenever you can, and legacy font packages when you have to. Any modern math font has more symbols with more consistency and more flexibility than any combination of legacy packages. If you’re stuck with PDFTeX, I suggest replacing usepackagemathpazo with usepackagenewpxtext, newpxmath.







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Aug 6 at 22:06


























        answered Aug 6 at 22:01









        Davislor

        3,387620




        3,387620






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f444852%2ftriple-integral-in-mathpazo%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What is the equation of a 3D cone with generalised tilt?

            Color the edges and diagonals of a regular polygon

            Relationship between determinant of matrix and determinant of adjoint?