Invoking lualatex
, I managed to make all plain text displayed with the Open Dyslexic font (latest release 0.910.12-rc2 installed) by following the steps described here. After reading this thread, I have the following MWE:
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math} %% Why is this package needed?
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{OpenDyslexic}
\setmathfont{OpenDyslexic} %% Unfortunately not enough
\begin{document}
Any dyslexia math fonts out there?
Given $\Delta = b^2 - 4 ac$, we have
\[ r_{\pm} = \frac{- b \pm \sqrt{\Delta}}{2a}.\]
\end{document}
However, all mathematical parts are still displayed with the usual TeX math fonts. Indeed, I have the following warnings:
Package fontspec Warning: Font "OpenDyslexic" does not contain requested
(fontspec) Script "Math".
Package fontspec Warning: OpenType feature 'Style=MathScript' (ssty) not
(fontspec) available for font 'OpenDyslexic' with script
(fontspec) 'CustomDefault' and language 'Default'.
Package fontspec Warning: OpenType feature 'Style=MathScriptScript' (ssty) not
(fontspec) available for font 'OpenDyslexic' with script
(fontspec)
Before a direct support for math or at least a Math variant is available, how can I make use of the existing letters in math mode?
unicode-math
for the\setmathfont
command.