29,245 reputation
253100
bio website
location
age
visits member for 10 months
seen 20 mins ago
stats profile views 801

(my about me is currently blank)


2h
comment How to rotate a TikZ label
Another solution would be to overwrite the automatically computed anchor (e.g. label={[rotate=-90,anchor=west]below:a long text}, note the change of direction), though in this case, I probably would prefer “real” nodes for their flexibility.
2h
comment How can I set the tikz label anchor explicitly?
For having the same effect on labels of coordinates one must add \let\tikz@compute@direction\pgfutil@gobble to the (improved) anchor key.
2h
comment How to rotate a TikZ label
(I’d use xshift or yshift for correcting the label placement instead of fiddeling with the text depth, especially if you want to use (drawing/filling/referencing) the label later.) The rotate key rotates around the anchor of the label which is automatically set to west as you use right (or east) for the label’s direction. Instead of labeling an empty node, one should label a coordinate, an additional label distance can be provided: \path (2.5,1) coordinate [label={[rotate=-90]right:{a long text}}];
1d
revised Checking if a string contains # with its original catcode
markup-fix (space/␣)
2d
comment Add annotations at right margin of plot
The execute at end plot visualization code may not get executed twice, but the add node at x style gets with the + and without the mentioned options. To test it, add \newcounter{test} to the preamble and /utils/exec=\stepcounter{test}\errmessage{\arabic{test}} to the add node at x style. If you use the style twice ([add node at x={3}{B4LYP},add node at x={4}{B3LYP}]), you will get something similar to what @Jellby reported.
2d
comment Add annotations at right margin of plot
Without the options cycle list name=linestyles* and clip mode=individual the execute at end plot visualization gets executes twice.
2d
comment Modifying `*` and `o` style tikz arrows so that they are centered at the end of line
A similar problem arises with the | and the [/] arrows (well, actually, all arrows are defined this way): TikZ arrow tip is displaced
2d
comment Add annotations at right margin of plot
Related: Align pinned nodes in PGFplots
2d
answered How can I \Aboxed a Matrix?
2d
comment How can I \Aboxed a Matrix?
Enclose the pmatrix in the \Aboxed version in a pair of braces { }. The \Aboxed macro works by scanning its argument for &, the { } hide those from it.
May
19
comment How to surround portions of a tree with boxes
How do you create your trees? Can you show us your code? For TikZ-based solution the fit library will help.
May
19
revised trees wiki excerpt
edited body
May
19
comment How do I embed an external image within tikzpicture?
\pgftext is not a TikZ command. The \node thing from @Jubobs should work. \pgftext[at={\pgfpoint{0pt}{0pt}}]{…} and \pgftext[x=100pt, y=0pt]{…} are possible \pgftext solutions. (The at … stuff you wrote is just ignored by TikZ as usual.)
May
19
comment Broken tikz chains
Well, you don’t have a definition for the terminal nor the nonterminal style. The example (or another one) in the PGf manual, p. 61, defines them.
May
19
comment homemade glyph in lualatex
The kerning is wrong: \normalk x = \kf x. Maybe: \ooalign{\hss\kern.05em\lower.7ex\hbox{\tiny f}\hss\cr k} or \rlap{\kern.18em\raise.7ex\hbox{\tiny f}}k
May
18
comment How to draw bent arrows going to a new line in long formulas (ex. chain complexes)
@kan I have included a (hopefully) improved version of your answer. It uses text width instead of minimum size (which would have also changed the height). Is this the improvement you were talking about in your comment? Of course, OP’s way of using an empty column (containing only {} so that a node is created) is another possibility (I’d suggest to use &[+0pt]), sadly one has to keep track of all the columns.
May
18
revised How to draw bent arrows going to a new line in long formulas (ex. chain complexes)
edited tags
May
18
revised How to draw bent arrows going to a new line in long formulas (ex. chain complexes)
added 2778 characters in body
May
18
comment Which package should I use for doing a connecting homomorphism diagram like this in latex
Ah, that was supposed to be xy-pic (the \xymatrix macro is what you are looking for). There are a few tikz-cd questions here that are very similar to your image (especially the long arrow): How to draw bent arrows going to a new line in long formulas (ex. chain complexes), How do you draw the "snake" arrow for the connecting homomorphism in the snake lemma? and Tikz-cd and snake lemma: "loseness" and centered figures.
May
18
revised how to make this circles?
edited body