59,450 reputation
3102191
bio website github.com/Qrrbrbirlbel/pgf
location
age
visits member for 2 years, 2 months
seen Sep 6 at 15:58

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].

Jun
24
comment Making TikZ path into a hyperlink
@LaurenPearce (If you respond to one particular comment, please include @<username> in your comment (as did I) so that the user gets notified.) I posted an answer that can be used for simple rectangular paths. For making the line itself hyper-active I could see a solution that uses decorations and places small boxes along the line, which would work with any arbitrary paths.
Jun
24
answered Making TikZ path into a hyperlink
Jun
24
comment Making TikZ path into a hyperlink
I assume it would be not okay if the lower right cut-out part of the rectangle is an active link also, right?
Jun
24
comment Draw line from a point to another line (along x-axis or y-axis) in TikZ
@henry 1st: Because you and me are the only users commenting here and I am the author of this answer, so I get notified anyway. 2nd, 3rd and 4th: No hard feelings, I’m sure somebody will find my answer helpful. I only hope that you do not make yourself more work than needed.
Jun
24
comment show part of tikzpicture
The \clip paths discussed here clip also half of the line away. Even better is to use the <overlay> syntax for the \draws or visible on style that makes the path temporarily invisible.
Jun
24
comment Understanding TikZ node placement
The anchors are placed at the border of the line (which has a width), this is done by a default outer sep (outer xsep/outer ysep) of .5\pgflinewidth. Setting these to +0pt places the anchors in the middle of the line. See also [1]. The right key automatically also sets anchor=west (which is usually what you want), so you need to do right=2mm of sw.center,anchor=center. The on grid option makes this the default behavior. See also [2] and [3].
Jun
24
comment Draw line from a point to another line (along x-axis or y-axis) in TikZ
@henry If you’re willing to show what your intended output is, I’ll give some ideas on how to use it (better?). I find it very confusing that you draw a circle, then place an empty (and rectangular!) node at the some place (that is later referenced) and than manually (xshift/yshift) place another node to label that dot. The same can achieved with one node with an outer sep (or shorten paths as in my example) and a label. I think this is clearer then your code but you have by no means to use this code. :) The bigger the MWE, the more I’ll invest in what results in what.
Jun
24
comment Draw line from a point to another line (along x-axis or y-axis) in TikZ
@henry Well, that doesn’t change anything. Even with your code the coordinates (intersection of C--A|-C and A--B) and (intersection of C--B-|C and A--B) still result in the same coordinates on the line from A to B. What you do with these coordinates I leave to you. (This works only with straight lines, otherwise use the intersections library.)
Jun
24
answered Draw line from a point to another line (along x-axis or y-axis) in TikZ
Jun
24
comment LaTeX Hierarchy Chart
Similar output with forest: Square edges in forest package
Jun
24
comment Table row height, text vertical center and color
A few notes beforehand: The \bgroup/\egroup is not needed as the center environment itself already groups its content. The use of \small is wrong. It is a switch so you don’t use \small{<something>} but (to keep it local) {\small <something>}. In this case, though, you could just add \small before \begin{tabular} and it makes the whole table in that size.
Jun
24
revised Table row height, text vertical center and color
deleted 77 characters in body; edited tags
Jun
23
comment TikZ: Accessing coordinates from coded points
What do you mean? You can use (\p2) as well as \x2 and \y2 (in the canvas) after you add \p2 = (P2), though I would add this first, so that you can use \p2 in the calculation of the other nodes, too. — Or do you mean something like \clip (P1) rectangle (P2);?
Jun
23
comment Capitalising first letter of each word in section headings using book class
Similar problem: How to define a command that bolds the first letter of each word in the input argument?
Jun
23
revised TikZ intersection command not returning desired result
deleted 203 characters in body
Jun
23
answered TikZ intersection command not returning desired result
Jun
23
reviewed Close Usage of LaTeX?
Jun
23
comment economic circuit
The other examples looks like something that can also be done in TikZ very easily. It is also possible to (ab)use tikz-cd for that … A \matrix or the positioning library are helpful tools.
Jun
23
awarded  Nice Answer
Jun
23
awarded  Nice Answer