[metapost] Beginners question

Patrick Gundlach patrick at gundla.ch
Tue Sep 12 11:08:38 CEST 2023


Hello all,

I try to define a user interface such as:

draw "some text" infont "myfontfamily" withstyle "bold";

where infant ... and withstyle ... are optional ( and the defaults should be "text" and "regular").

(How) Is it possible to achieve this?

Is it advisable do to so? Or should I rather create an interface such as

draw text ("some text", "myfontfamily", "bold")?


Patrick






More information about the metapost mailing list.