moonmath-manual icon indicating copy to clipboard operation
moonmath-manual copied to clipboard

Generate epub or change PDF font

Open kanor1306 opened this issue 1 year ago • 1 comments

Hi,

I was wondering if you have a set of instructions to generate an EPUB instead of a PDF, or alternatively use a different font in the PDF.

My reason to ask is that I am trying to get a dyslexic friendly version of this book, and usually using the OpenDyslexic font helps (and you can get it automatically in an ebook when using EPUB documents).

Thanks in advance

kanor1306 avatar Sep 30 '23 11:09 kanor1306

@kanor1306 You can do it yourself:

  % set global font to OpenDyslexic
  \usepackage{fontspec} 
  \setmainfont{OpenDyslexic}

  \begin{document}

  % the document here

  \end{document}

However, apparently, pdflatex does not support this. You have to compile it using XeLateX or LuaLaTeX.

timmyjose avatar Oct 22 '23 04:10 timmyjose