I don’t know of any handwritten font specifically designed for math, or legacy LaTeX encodings. However, the unicode-math
project lets you mix and match any OpenType and TrueType fonts.
Here, I’ve kitbashed the letters from VAG Handwritten and filled in numbers and some math symbols from Tillana. Any symbols not in these fall back to GFS Neohellenic Math.
\documentclass{article}
\usepackage[math-style=upright]{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
% Tillana is a free font by the Indian Type Foundry, available at:
% https://github.com/itfoundry/tillana/
% VAG Handwritten is a free font by VAG Design, available at:
% https://www.fontsquirrel.com/fonts/VAG-HandWritten
\setmainfont{VAG-HandWritten.otf}
\setmathfont{GFS Neohellenic Math}
\setmathfont[range={"03C0, "2013-"2014, "2018-"201A, "201C-"201E, "2021-"2022,
"2026, "2030, "2039-"203A, "2044, "20AC, "20BA, "20BD,
"2113, "2122, "2126, "212E, "2202, "2206, "220F, "2211,
"2212, "2215, "221A, "221E, "222B, "2246, "2260, "2264,
"2265, "25CA}
]{Tillana-Regular.ttf}
\setmathfont[range=bfup/{Latin,latin,num}
]{Tillana-Semibold.ttf}
\setmathfont[range={"00-"FF,
up/{Latin,latin,Greek,greek},
\increment}
]{VAG-HandWritten.otf}
\setmathfont[range=up/num
]{Tillana-Regular.ttf}
\begin{document}
\[ \lim_{t \to \infty} \frac{\partial}{\partial t}
\int_0^{2 \muppi} \frac{t^2}{2} \mathop{\symup{d}t} \leq
\sum_{i=1}^N \frac{\muppi i}{\sqrt 2} \approx \increment \symbfup{v}t \]
\[ \frac{\sin \theta}{\Theta} =
\frac{\sin \varphi}{\Phi} =
\frac{\sin \gamma}{\Gamma} \]
\end{document}
The widely-available handwritten font with the biggest repertoire of symbols is—you might want to sit down for this, don’t get mad at me, I’m just the messenger—Comic Sans. And some physicists do use it for their presentation slides. You might also have a look at Pecita. But you can sub in any handwritten Greek font of your choice with a command like
\setmathfont[range=up/{Latin,latin,Greek,greek,num}]{Some Font}
Best Answer
Example with
mathastext
:Here is with Chalkduster, hence Unicode engines, which is not at all
mathastext
ballpark.I added
defaultmathsizes
option to keep standard sizes for scriptsize (even if mathastext is "subdued", without this option it will make use of larger size in subscripts and superscripts).Caution: you probably want to use mathspec or unicode-math which should provide the needed things. I have little experience with them (I rarely use unicode engines). Notice that user level interface is very often in LaTeX2e made "preamble-only", for example
\DeclareMathSymbol
macro, hence one has to use TeX engine primitives.The above would produce strange output when compiled with lualatex if the
\MTdonotfixfonts
were omitted (with xelatex, this macro does nothing). Perhaps the\MTfixmathfonts
macro dating back to 2016/05/03 of mathastext is obsoleted due to change with font handling on lua side. (untested, I don't use LuaTeX)As one can see, the square root sign was left untouched (I guess one needs a genuine OpenType math font for all such extensible symbols). And the ELEMENT OF
∈
seems to be missing from Chalkduster. (it seems to have glyphs in a private area I don't know how to access)Attention to
no-math
option forfontspec
. (I vaguely rememberpolyglossia
loads fontspec so this many need in that case some\PassOptionsToPackage
right after\documentclass
).