58,745 reputation
3101190
bio website github.com/Qrrbrbirlbel/pgf
location
age
visits member for 2 years
seen Jun 4 at 15:29

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
11
comment Labels in tikzcd?
If you define, say Sloped/.style={sloped, anchor=south} you won’t need shifting and manual rotation (arrows can be any angle). Though, shifting shouldn’t be needed if you use the proper anchor anyway.
Dec
11
comment Fiber-Optic-Style decoration
Do you maybe want a node shape so that it can be used with the circuits family?
Dec
11
comment With TikZ, is it possible to only clip horizontally or vertically?
It may be possible if you create a dummy path so that we know its actual dimension. We can clip then using those dimensions and the (actual) needed vertical/horizontal dimension. The actual drawing then happens after the clipping. — Do you know something beforehand? Say, will the new path fit in the current bounding box (at least in the direction you don’t want to clip)? The PGFPlots package provides a few restrict y to domain filter do achieve this without clipping.
Dec
11
answered Is there a way in TikZ to reflect regular polygons of an arbitrary number of edges?
Dec
10
comment Artin's squiggly arrow?
Can you give us the specification of the arrow? What is important? Otherwise it looks just like a squiggly arrow to me.
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?