The free drawing program Inkscape is available for Windows, Mac, and Linux. There are extensions (plug-ins) for Inkscape that allows you to write LaTeX math in Insckape and have it generate math expressions as drawing objects – I use WriteTeX.
The manual for the latest version of LyX also indicates that it is possible to write LaTeX syntax in text fields in Inkscape, import the resulting SVG file into LyX, and have it typeset as LaTeX math in LyX. I haven’t figured out how to do that, but that would be the ideal solution (in the sense that one could make LaTeX text in figures have the body font size of the main text...). Inkscape uses SVG (Structured Vector Graphics) as native file format. This works mostly fine. To prepare functions, etc.: use a math script language (e.g., MATLAB, Python, Julia; the two latter are free – personally, I use Julia) and produce a plot, then save it as an svg file, importat it into Inkspace, and modify it to your hearts desire... changing colors, line types, line thickness, axes color, etc., and add text if you need. -B From: [email protected] <[email protected]> On Behalf Of David Johnson Sent: Tuesday, April 23, 2019 17:40 To: Gour <[email protected]> Cc: [email protected] Subject: Re: preparing math exams I have used TGIF for years, and it works well. I don't know if it is available for wondows or mac, but in linux it's widely available. On Tue, Apr 23, 2019 at 11:06 AM Gour <[email protected]<mailto:[email protected]>> wrote: Hello, I wonder what do you use to prepare math exams for primary school (e.g. 5th to 8th grade) which involves drawing lines, segments, angles, polygons, circles, drwaing functions etc.? For rational numbers etc. I suppose that LateX/LyX's math-input-language is more than enough... In the past I was using LyX to prepare books, but math was not involved, but now I might have a need for it. Sincerely, Gour -- As a lamp in a windless place does not waver, so the transcendentalist, whose mind is controlled, remains always steady in his meditation on the transcendent self. -- David L. Johnson Department of Mathematics Lehigh University
