I have 2 functions Top and Bottom that each have an options list parameter.
Top[quads_, optsTop_: OptionsPattern[]]
Bottom[quads_, optsBottom_: OptionsPattern[]]
Function Top eventually calls function Bottom and passes the options it received directly to the Bottom function. This works like a charm.
However now I want to add some options to the ones received in Top to the call to Bottom. These option lists are not lists so an append doesn't work. However, I have no idea how to to this.
So conceptually I want to call (from within Top)
Bottom[quads, Append[opsTop, more->"more"]]
Bottom[quads, opsTop, more->"more"]orBottom[quads, more->"more", opsTop]. The latter should prefermore->"more"over any specification ofmoreinopsTop(options are treated first in-last out). – Henrik Schumacher Aug 26 '18 at 13:41optsTop : OptionsPattern[](andoptsBottom : OptionsPattern[]) when you defineTop(resp.,Bottom), then you can use Henrik's suggestion to callToporBottomwith any sequence of options. – kglr Aug 26 '18 at 16:59