4

Is there a way to list all known pgfkeys (i.e., those that are currently set)?

Concretely, I'm looking for a way to get the value of the tikz scale option. I was hoping there would be a pgfkey for that. But it seems more useful to ask the general question of listing all pgfkeys.

  • \pgfkeysvalueof? – Manuel Jan 15 '16 at 23:46
  • @Manuel the problem is that I don't know the key I'm looking for. I'd like to list all keys and their values. The idea was to set scale=5, list all keys and search for 5, to see if there's a key set to the scale. – Keelan Jan 15 '16 at 23:47
  • Concretely, I'm looking for a way to get the value of the tikz scale option… I thought you knew :) I don't understand what you want. – Manuel Jan 15 '16 at 23:51
  • @Manuel I want to get a list of all pgfkeys that are currently in the tree. Sorry for the confusion. – Keelan Jan 15 '16 at 23:52
  • I don't know that, but may be you could hack at the correct place and make TikZ add the data to an array every time it sets a key. – Manuel Jan 16 '16 at 0:48

Browse other questions tagged or ask your own question.