I'd go directly to unicode-math:
\documentclass[a4paper]{article}
\usepackage{mathtools} % loads amsmath that should go before unicode-math
\usepackage{unicode-math}
\setmainfont[Numbers=OldStyle]{Palatino Linotype}
\setsansfont{Optima}
\setmonofont{Consolas}
\setmathfont{Asana Math}
Asana Math is based on the MathPaZo fonts.
If you really need brackets and parentheses from the MathPaZo fonts, it's doable:
\DeclareSymbolFont{brackets} {OT1}{zplm}{m}{n}
\SetSymbolFont{brackets}{bold} {OT1}{zplm}{b}{n}
\DeclareSymbolFont{largebrackets} {OMX}{zplm}{m}{n}
\SetSymbolFont{largebrackets}{bold}{OMX}{zplm}{m}{n}
\DeclareMathDelimiter{(}{\mathopen} {brackets}{"28}{largebrackets}{"00}
\DeclareMathDelimiter{)}{\mathclose}{brackets}{"29}{largebrackets}{"01}
\DeclareMathDelimiter{[}{\mathopen} {brackets}{"5B}{largebrackets}{"02}
\DeclareMathDelimiter{]}{\mathclose}{brackets}{"5D}{largebrackets}{"03}
For the Knuth calligraphic font, add
\setmathfont[range={\mathcal,\mathbfcal},StylisticSet=1]{XITS Math}
For a "better" \vDash
symbol, add
\setmathfont[range=\vDash]{XITS Math}
The "not belonging to" symbol should always be specified with \notin
rather than with \not\in
.
Finally, for the AMS blackboard bold:
\DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
\protected\def\mathbb#1{{\mathchar\numexpr256*\symAMSb+`#1\relax}}
You might consider to use the newtxmath
package for a math version of Times font face (in LaTeX)
\usepackage{newtxmath}
or switch to the XITS Math font (in XeLaTeX)
\usepackage{unicode-math}
\setmainfont{Times New Roman}
\setmathfont{XITS Math}
Best Answer
The Chalkboard font doesn't contain a full set of Greek characters, nor does it have many symbols. So you'll need to use a different font for the math parts. Probably your best bet is the AMS Euler font. See Handwritten font with math support.
By the way, when using XeLaTeX, you shouldn't load
xunicode
andxltxtra
but just loadfontspec
(ormathspec
). Thexltxtra
package is generally no longer required unless you need the specific functionality it offers (like typesetting the XeTeX logo). Thexunicode
package is loaded byfontspec
and it's best not to load it yourself.