People in these comments keep mentioning a responsive PDF, but PDF is supposed to be a presentation format. Wouldn’t HTML and CSS serve the purpose fine?
You can't represent vector graphics, complex math, or anything non-standard in HTML+CSS. Even if you could, you couldn't rely on the user seeing it correctly.