pgf icon indicating copy to clipboard operation
pgf copied to clipboard

Support applying options to multiple examples as suggested in #640 #1339

Open hansonchar opened this issue 1 year ago • 0 comments
trafficstars

Brief outline of the proposed feature

Motivation for this change

The conversation at https://github.com/pgf-tikz/pgf/issues/640 on the possibility of supporting the specification of options that can be applied to multiple examples.

To demonstrate the usage of this feature, I've modified ControlElectric.lua, while simplifying the code by removing unnecessary double quotes at the same time.

** Pull request already approved **

https://github.com/pgf-tikz/pgf/pull/1339

Usage example

For the record: Here are other examples that could make use of this PR:

  • [ ] https://github.com/pgf-tikz/pgf/blob/12f17834c849a659b8829bbc9122bc459f585917/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/doc.lua#L101-L140

  • [ ] https://github.com/pgf-tikz/pgf/blob/12f17834c849a659b8829bbc9122bc459f585917/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/doc.lua#L170-L191

hansonchar avatar Oct 27 '24 20:10 hansonchar