|
From: Andre W. <wo...@us...> - 2005-08-31 12:37:56
|
Hi, On 31.08.05, Magnus Lie Hetland wrote: > I have only looked at the source for the arrows (implemented my own > bent arrows in MetaPost at one time, to get sharp points :)... But > here is the package, anyway: > > http://www.student.nada.kth.se/~f91-tek/cm_arrows.html Thanks for this link. Quite interesting. > I've used the brace code. One nice thing is that you can place the > middle "notch" (or whatever) wherever you want along the path. Yes, Michael's code can do that as well. It also allows you to tilt the middle notch ... ;-) > Hm. Perhaps the arrow code could be useful too? After all, if we > typeset text with TeX, having arrows that look consistent with the > arrows in Computer Modern may not be a bad thing. (Perhaps a really > parametrizable arrow class -- so the CM style could just be a special > case?) Right. At some point we could invest some time in makeing TeX-style braces and arrows to better fit the computer modern style. Meanwhile we do have arrows and we do have serveral solutions for braces, especially some which are completely (but weakly) curved when used along a straight line ... which looks quite nice. So this tells us, that (at least some) braces fit into the concept of decorators for arbitrary paths. Hence they could be implemented to be decorators and nothing else. Still it seems natural, that there are some brace-path-creation facilities, which are available as plain path constructors/creators/factories (whatever you name it). Especially Michaels curved braces, which are (currently?!;-)) available for a straigh "baseline" only, do better fit to be a path creator than to be a decorator. It could live in a newly created paths module, where for the sake of uniformity things like path.circle and path.rect should be moved into as well. André -- by _ _ _ Dr. André Wobst / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ |