57,600 reputation
398188
bio website github.com/Qrrbrbirlbel/pgf
location
age
visits member for 1 year, 9 months
seen Apr 1 at 3:43

If you are interested in my TeX-related projects, you can find various TikZ libraries over at my GitHub account.

The libraries are:

  • node-families

    The node-families library has been developed in response to “Dependent node size” where the Op asks for automatic re-sizing of related nodes so that they have the same minimum size.

    Use the keys

    • Minimum Width=<family>,
    • Minimum Height=<family>,
    • Text Height=<family> and
    • Text Width=<family>

    to assign a node to a specific family of nodes that shall have the same dimensions. This works on a per-picture basis and uses the .aux file so you will need at least two compilations.

  • paths.ortho ([1] and [2])

    This library is too huge to explain it here. Take a look at my answers [3] and [4].

  • paths.rectangle

    The paths.rectangle library provides two similar timers (the functions that place nodes along paths) for the rectangle path operator. They are explained on the answer that inspired the creation of these timers.

  • patterns.images: See [5].
  • positioning-plus: See [6].

Dec
10
comment Artin's squiggly arrow?
What makes this squiggly arrow so special? With the decorations.pathmorphing library (and arrows) I can do \draw[decorate, decoration={zigzag, segment length=+2pt, amplitude=+.75pt,post length=+4pt}, -stealth'] (a) -- (c); which looks quite good to me.
Dec
10
comment Creating a edge-trigger symbol in LaTeX
All % but the one after { are not necessary, by the way. Instead of guessing a proper scale value you can directly use font-units em and ex to draw something that should scale with the text.
Dec
8
answered How can I get these two nested \foreach loops to work?
Dec
8
comment Can we set the contents of each frame be top aligned?
I don't know about \setbeamertemplate but you can simply use the class option t so that every frame is top-aligned: \documentclass[t]{beamer}.
Dec
8
awarded  Revival
Dec
7
comment tikz parameterized circle node with t-lines inside within a tree diagram
@boris It works for me if given as an option to the TikZ picture, the path, a child or before the children, but not as a node option.
Dec
7
reviewed Close Latex gives error if I put an equation in the title of a section
Dec
7
answered Is this a bug in pgf ? pgfpatharcto
Dec
7
comment tikz parameterized circle node with t-lines inside within a tree diagram
@boris They should overlap eitherway. You need to adjust the sibling distance. Other packages like forest and tikz-qtree use TikZ but place the nodes in a way so that they not overlap. The trees of TikZ are very primitive in that way.
Dec
7
answered tikz parameterized circle node with t-lines inside within a tree diagram
Dec
7
comment load tikz library from relative path
\usetikzlibrary simply adds tikzlibrary in front of the arguments separated by ,. Those files are supposed to be found by TeX. We could patch \usetikzlibrary to test for a . or a / at the start of the filename and parse the string so that it does ../tikzlibraryname.code.tex but that fix needs to be able to be found by TeX or placed directly in the document. If the user changes the placement of the tikzlibraryname.code.tex outside of a path that can be found by TeX they might just be better off to use \input? (So the answer would be "No.")
Dec
7
answered Passing parameters to tikz picture?
Dec
6
comment Passing parameters to tikz picture?
You need to elaborate on how you want to specify the to-be-highlighted node. The best would be its name. In a tree, the names are given a special name after the name of the root (similar to a matrix). The third child of the second child of the root is named root>-2-3. How do you want to highlight the node? Do you simply want to change the border color for example? Do you want to change the font setting? Do you want to move it around or make it bigger?
Dec
6
comment How can I draw this Venn-like diagram using rectangles in TikZ?
text opacity=1?
Dec
5
comment Lines with `shorten >` don't count towards image size
Duplicate?
Dec
4
comment Writing musical pitches
If you use _{#3} instead of _#3 (though I prefer \textsubscript) it would be possible to use \note{F#14} but 4 would be dropped if \node{F14} has been used.
Dec
3
comment Help drawing a very simple number line using TikZ
You can use $\pgfmathprint{int(\x/2)}$ as node text. By the way, why don't you put the node part in the first loop and remove the second one entirely? If you want to follow @azetina's comment, you can use {-3,...,3} but with x=2cm or xscale=2.
Dec
3
comment Help drawing a very simple number line using TikZ
Similar visualization: [1]; different visualization: [2], [3].
Dec
3
comment What are the advantages of TikZ/PGF over PSTricks?
Re: Inconsistent keys. All keys you listed except line width are PGFPlots keys and have nothing to do with PGF/TikZ. This is a disadvantage of PGFPlots (with which I agree). Though, there are even worse examples: minor xtick vs minor x tick style. Maybe PGFPlots just has too many keys …
Dec
3
comment Use \macro within xcolor expression
The /utils/exec key is not mine but defined either by TikZ or PGF and simply executes TeX code as it is given to it. Similar how \pgfextra can be used for TikZ paths which doesn't have PGFPlots equivalent as far as I know. The .pgfmath strcat simply evaluates \pgfmathparse{strcat(<arg>)} and forwards its result to the key. The strcat function is also defined in qrr.misc and concatenates its arguments. The " are needed to use stuff as text and not let it be evaluated by PGFmath (see PGF manual).