#73 New arrows library

Next Release
closed-fixed
nobody
None
6
2014-08-20
2013-01-11
Luigi
No

Let me introduce here the code for a new Tkz library: arrows.new. It allows to draw arrows both in the traditional manner and by directly specifying the tip size, as showed in the documentation attached. The new code is fully compatible with the original one, i.e. the former could easily replace the latter by changing the arrows names and eluding the already-defined checking mechanism, but I'd rather give the developers the choice in what to do.
I'm not a TikZ guru, so this code should be considered as a development vesion and tested by some expert. Furthermore, if you download the code from here, you should be aware that it isn't an official TikZ library, so use it at your own risk.

As for the documentation, since I'm not native English speaking, please check it for mistakes. I arbitrarily put a new section immediately after the original arrows library and added a few links somewhere in the pgfmanual without spoiling the layout. In the attached version of the manual, the modified sentences are highlighted in yellow.

Besides, I'm attaching a test code which is a quick guide on the new syntax and includes also the complete list of the new arrow tips.

Apart from the main code, the one for the new section of the manual and test code, all the suggested changes to the documentation along with the necessary new commands to be added to the pgfmanual-en-macros.tex are included in the file changes.txt.

I wish to thank explicitly the author(s) of the original arrows, who really did the dirty work, Claudio Beccari and Enrico Gregorio for their useful hints, and last but not least, Claudio Fiandrino, my sherpa in this journey.

Discussion

  • Luigi

    Luigi - 2013-01-11

    necessary and suggested changes to the doc

     
  • Luigi

    Luigi - 2013-01-11

    quick guide (source)

     
  • Luigi

    Luigi - 2013-01-11

    quick guide

     
  • Luigi

    Luigi - 2013-01-11

    I can't upload the suggested changes to the pgfmanual because of file size restrictions, so you won't find any highlighted sentence as I uploaded the new section only.

     
  • Luigi

    Luigi - 2013-01-12

    the doc (new section only)

     
  • Till Tantau

    Till Tantau - 2013-08-29
    • status: open --> open-accepted
    • Group: --> Next Release (example)
    • Priority: 5 --> 6
     
  • Till Tantau

    Till Tantau - 2013-08-29

    Many thanks. I have been thinking about how to integrate this. It seems like a good idea that a general "arrow tip size" should be an always present arrow option, which would simplify most of the code. When I have the time, I will address arrow tips in general and then integrate this.

     
  • Till Tantau

    Till Tantau - 2013-09-18

    The whole arrow tip management has been completely rewritten (but not yet documented). I am busy adapting the old definitions; the most important arrow tips are already adapted and one can now configure the size and shapes of arrow tip "to death" and on-the-fly. Many thanks for the code.

     
  • Till Tantau

    Till Tantau - 2013-09-18
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.