Triple integral in mathpazo
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
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
mathpazo integral
add a comment |Â
up vote
6
down vote
favorite
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
mathpazo integral
@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
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
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
mathpazo integral
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
mathpazo integral
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
add a comment |Â
@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
add a comment |Â
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
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
.
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
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 thatamssymb
should not be loaded ifnewpxmath
is used, as thenewpxmath
package optionamssymbols
loadspxfonts
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
 |Â
show 2 more comments
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
+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
add a comment |Â
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
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
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
Omittingusepackageamsthm
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 bynewpxmath
â Sid
Aug 6 at 23:34
@Sid You can omitamsmath
, notamsthm
, as shown in my code. Of course,fourier
should be removed, too, as its effect is similar to that offouriernc
.
â egreg
Aug 7 at 8:23
add a comment |Â
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
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
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
.
add a comment |Â
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
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
.
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
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 thatamssymb
should not be loaded ifnewpxmath
is used, as thenewpxmath
package optionamssymbols
loadspxfonts
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
 |Â
show 2 more comments
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
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
.
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
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 thatamssymb
should not be loaded ifnewpxmath
is used, as thenewpxmath
package optionamssymbols
loadspxfonts
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
 |Â
show 2 more comments
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
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
.
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
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
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
.
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
edited Aug 6 at 19:57
answered Aug 6 at 15:59
Mico
260k30352727
260k30352727
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 thatamssymb
should not be loaded ifnewpxmath
is used, as thenewpxmath
package optionamssymbols
loadspxfonts
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
 |Â
show 2 more comments
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 thatamssymb
should not be loaded ifnewpxmath
is used, as thenewpxmath
package optionamssymbols
loadspxfonts
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
 |Â
show 2 more comments
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
+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
add a comment |Â
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
+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
add a comment |Â
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
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
answered Aug 6 at 19:56
Herbert
259k21393701
259k21393701
+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
add a comment |Â
+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
add a comment |Â
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
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
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
Omittingusepackageamsthm
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 bynewpxmath
â Sid
Aug 6 at 23:34
@Sid You can omitamsmath
, notamsthm
, as shown in my code. Of course,fourier
should be removed, too, as its effect is similar to that offouriernc
.
â egreg
Aug 7 at 8:23
add a comment |Â
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
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
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
Omittingusepackageamsthm
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 bynewpxmath
â Sid
Aug 6 at 23:34
@Sid You can omitamsmath
, notamsthm
, as shown in my code. Of course,fourier
should be removed, too, as its effect is similar to that offouriernc
.
â egreg
Aug 7 at 8:23
add a comment |Â
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
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
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
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
edited Aug 6 at 19:49
answered Aug 6 at 19:42
egreg
674k8317933034
674k8317933034
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
Omittingusepackageamsthm
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 bynewpxmath
â Sid
Aug 6 at 23:34
@Sid You can omitamsmath
, notamsthm
, as shown in my code. Of course,fourier
should be removed, too, as its effect is similar to that offouriernc
.
â egreg
Aug 7 at 8:23
add a comment |Â
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
Omittingusepackageamsthm
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 bynewpxmath
â Sid
Aug 6 at 23:34
@Sid You can omitamsmath
, notamsthm
, as shown in my code. Of course,fourier
should be removed, too, as its effect is similar to that offouriernc
.
â 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
add a comment |Â
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
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
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
.
add a comment |Â
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
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
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
.
add a comment |Â
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
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
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
.
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
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
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
.
edited Aug 6 at 22:06
answered Aug 6 at 22:01
Davislor
3,307620
3,307620
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
@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