{pgfkeys} concerns a flexible key management system in TikZ/PGF.

learn more… | top users | synonyms

11
votes
0answers
2k views

MacTeX pgfkeys/tikz package fails [closed]

the document listed below, (taken from here: texample.net) fails on my system (running MacTeX 2011) with the error: Package pgfkeys Error: I do not know the key '/tikz/drop shadow' and I am going to ...
28
votes
2answers
750 views

How do I debug pgfkeys?

I'm sure if you're reading this question you are already familiar with my love for pgfkeys. However, it is absolutely impossible to debug: \tracingmacros is a total mess, with every key expanding to ...
6
votes
1answer
173 views

How to make a pgf default action create a different key

I know very little pgf, but I'm trying to learn...so bear with me (please). I would like to have a default action on a pgf path so that if I try to access any unknown key, without giving it a value, ...
7
votes
1answer
399 views

How does \pgfkeysvalueof work?

With this minimal example \documentclass{report} \usepackage{tikz} \begin{document} \tikzset{ line width = 5cm, CC/.initial = 7cm } It doesn't works :\pgfkeysvalueof{/tikz/line width} It works : ...
4
votes
3answers
326 views

PGFkeys problem. Meta arrow tips with parameters works only when I use different line width. Why?

The solution given here has a problem. Let re-write a minimum example \documentclass{standalone} \usepackage{tikz} \makeatletter \tikzset{arrow length/.initial = 6pt, arrow angle/.initial ...
6
votes
1answer
423 views

How do you pass unknown keys as options to a TikZ picture?

I try to write a command that accepts options, using pgfkeys. Unknown keys are collected in a style, that I try to use as global options for a tikzpicture environement. A minimal example would be: ...
5
votes
1answer
296 views

Nested macro envocation - syntax error?

I get a Argument of \\drs has an extra }. when I try to process the following: \documentclass{article} \usepackage{tikz} \newcommand{\drs}[2][lambda/.initial={}]{% \{% {\pgfkeys{/drs/.cd, #1, ...
10
votes
2answers
931 views

Using pgfkeys as an argument to a macro

I would like to use pgfkeys in a macro but find the documentation a bit hard to get started with. The following code should illustrate the problem I am trying to solve: \documentclass{article} ...
5
votes
1answer
862 views

Line with transparence changing with TikZ

I'd like to have a colored line that starts with transparent 100 and ends with trasparent, let's say, 30. I tried this code: \documentclass{standalone} \usepackage{tikz} ...
5
votes
1answer
437 views

TikZ. Access node's name within a .code handler.

I'd like to place variable number of additional nodes on the border of the rectangle. I suggest it to look in a somewhat following way: \node[name=R, my rectangle=top:3 bottom:1 left:2 right:1] {Node ...
14
votes
2answers
635 views

Is there a way to set a *global* key value using `pgfkeys`?

The simple answer to this question appears to be "No"; quoting from the pgf manual: The setting of a key is always local to the current TeX group. However, this is very annoying because it means ...
5
votes
3answers
1k views

Problem drawing Kiviat diagram

From this post, I started to play with TikZ/PGF to draw a Kiviat Diagram froma a file .dat Suppose to have two file table1.dat and table2.dat live these %table1 column1 column2 8.109115e-001 ...
12
votes
2answers
10k views

Weird tikz/pgfkeys error while trying example from the tikz manual.

I am still learning to use tikz from the manual. I got an error for this code: \documentclass[twocolumn,english]{article} \usepackage{tikz} \begin{document} \begin{figure} \centering ...
7
votes
3answers
540 views

Passing options to a macro

Background We're developing an automated graph drawing framework for TikZ with LuaTeX. The TeX interface on the pgf layer is nearly done, the next step will be the TikZ Layer. The maker of TikZ, Till ...
7
votes
1answer
1k views

Example on how to use pgfkeys and pgfopts for class or package

Is there a tutorial on how to create a package or class with pgfkeys/pgfopts that goes beyond this pdf? keyval.pdf In particular I would be interested on how I can create package/class options and ...