Since patch 2.5 is finally out, I decided to release a little tutorial on menus I wrote some time ago. It will especially describe the new menu commands coming with patch 2.5.
To fully understand this tutorial you should at least know how arrays work, because they are the basis for menus.
Other than that, there is not much to know.
-----------------------------------------------
Download: Tutorial - Creating menus (85 Kbyte)
Alternative link: Creating beautiful menus in X3: Terran Conflict (Egosoft X3 wiki)
-----------------------------------------------
If requested, I might add pictures to the tutorial, but I hope it is understandable anyways.
-----------------------------------------------
Library scripts
lib.scrat.format
A library for formatting your menus more easily.
lib.scrat.expand
A library for adding expandable menu selections to your script.
Examle animation:

Both are explained and available here.
Alternative link:
Creating menus + two library scripts (Egosoft X3 wiki)
Please report, ask questions and give feedback.
-----------------------------------------------
For any comment, idea, mistake feel free to post in this thread.
Greetings,
ScRaT