Reputation
67,963
Next tag badge:
111/100 score
18/20 answers
Badges
4 133 247
Newest
 Enlightened
Impact
~1.5m people reached

Jul
24
revised TikZ-Editor: Preview error
edited tags; edited tags
Jul
24
awarded  Enlightened
Jul
24
awarded  Nice Answer
Jul
24
comment Are there specialized libraries or packages to draw blocked/partitioned/splitting matrices in Tikz?
@Nasser The align environments put each cell in their own group, thus the \tikzset only affects this cell. You need to use \tikzset outside of the align* environment. If it should only affect this equation, you need to group it again, say {\tikzset{set ALDU=small}\begin{align*} … & … \end{align*}}; or use it twice (if it should only affect one of many lines in align). — What other shapes and variations exist? One could define them much more general and with a better user-interface. One could also create new shapes but then you need to restrict yourself to, say, rectangles.
Jul
24
revised When to use a regular .initial key or a .store in key?
edited title
Jul
24
answered When to use a regular .initial key or a .store in key?
Jul
23
comment Using soul with indirect formatting applied
You could add \ApplyStyle to the \SOUL@cmds: \SOUL@cmds\expandafter{\the\SOUL@cmds\\1\ApplyStyle} (or with the interface-macro \soulregister{\ApplyStyle}{1}, see comment below). The 1 denotes in both cases a font-changing macro that takes an argument.
Jul
23
comment Nodes vertical distance in a legend of a tikzpicture
@cacamailg Please see my update. The “Sophisticated solution” is what I was talking about in my previous comment. But don’t use any transformations (besides shifting I think). This could go horrible wrong (but that's true even for the other solutions). I will take a look into the transformations nonetheless.
Jul
23
revised Nodes vertical distance in a legend of a tikzpicture
major update
Jul
23
comment Nodes vertical distance in a legend of a tikzpicture
@cacamailg Yes, that is annoying (and is one of the things I meant with “[i]f \baselineskip is not specifically changed inside the node”). I am afraid there is no easy solution. If you typeset all nodes in \small you could issue \small after \begin{tikzpicture}[…] (which changes also all em and ex dimensions of course). Or you can use ([/utils/exec=\small,line=2,xshift=1cm] n1.base east) (best hidden in another style). If you want to go very sophisticated, you let \baselineskip be stored away and reference it later (could be a special cs). Would this be needed?
Jul
23
revised Are there specialized libraries or packages to draw blocked/partitioned/splitting matrices in Tikz?
deleted 45 characters in body
Jul
23
answered Are there specialized libraries or packages to draw blocked/partitioned/splitting matrices in Tikz?
Jul
23
comment How do you test whether a known key value has been set in pgfkeys
The update I just edited in was wrong. Our solution do basically the same. The pgfkeys package uses a similar approach for testing for “no value given” (i.e. using a key without a =). I included a special version of the -NoValue- text from your xparse solution. One can still do /.expand once=\pgfkeys@notset but if a user uses this they should know what they do (or simply use .unset).
Jul
23
revised How do you test whether a known key value has been set in pgfkeys
included \lccase
Jul
23
comment How do you test whether a known key value has been set in pgfkeys
And by the way, the previous version could be easily tricked with \makeatletter\begin{mytestenv}{mytestkey=\ae@unset@key@value}\end{mytestenv}\ma‌​keatother. You actually need to protect \ae@unset@key@value and not the content of it (which is irrelevant).
Jul
23
comment How do you test whether a known key value has been set in pgfkeys
The edit you made makes the same mistake as my previous version. It expands too much. Try: \begin{mytestenv}{mytestkey={aa}}\end{mytestenv}
Jul
23
revised How do you test whether a known key value has been set in pgfkeys
deleted 21 characters in body
Jul
23
revised How do you test whether a known key value has been set in pgfkeys
added 738 characters in body
Jul
23
revised Nodes vertical distance in a legend of a tikzpicture
CVS version handles polar coordinates differently.
Jul
23
answered How do you test whether a known key value has been set in pgfkeys