11 questions linked to/from Arguments for TikZ style
1k views

### What do the pgfkeys key handlers .get and .store in do?

When I need to retrieve the value of a key in a macro, I use the key handlers .get and .store in. Here is what is written in the pgfkeys documentation: Key handler key /.get= macro Executes a \...
8k views

### Simple example of pgfkeys

I'm struggling to get my head around the pgfkeys package. I currently use the keycommand package, which I find very easy to understand: it's just ordinary LaTeX commands with named rather than ...
881 views

### When to use a regular .initial key or a .store in key?

The excellent pgfkeys package provides, among others, two kinds of keys: regular "value-centric" keys that can be declared with /.initial, and "macro-centric" keys are declared with /.store in. Here ...
5k views

### Add arrows to a smooth tikz function

Using this answer here I have been able to draw smooth curves using tikz Easy curves in TikZ but I also wanted arrows along my curves, after a bit of fiddling I came up with the following \...
1k views

### Key that takes a list of other keys as argument and sets them

I would like to define a key, let's call it mystyle, which has several subkeys, like mystyle/A and mystyle/B, and I'd like to be able to choose which of these subkeys to set by calling mystyle=A, ...
3k views

### Arguments of tikzset inside a beamer document

I am trying to use tikzset with an argument in a beamer document, and I am having an error I do not understand. \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame}{My try} \...
2k views

### A simple (indented) integration contour with Tikz

I would like to draw an integration contour which is pretty easy I think, but I am a newbie at the Tikz package. The integration contour goes from -iinfinity to +iinfinity parallel to the Imaginary ...
1k views

### Setting global styles with multiple parameters for tikz calendar

I'd like to create a style with parameters for use with the TikZ calendar library. Here's a working example similar to what I want: \documentclass[10pt]{article} \usepackage{tikz} \usetikzlibrary{...
211 views

### TikZ: Can a \foreach command run inside decoration = {markings,?

Can I use \foreach inside of decoration = {markings, ...? \documentclass[convert = false, tikz]{standalone} \usetikzlibrary{decorations.markings} \usetikzlibrary{arrows} \begin{document} \begin{...