58,845 reputation
3102190
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].

Jun
26
comment Configure multiline autocompletion in TeXStudio
The shortcuts %<some text%> can be very helpful which will be turned into jump marks that can reached by using Ctrl+Left and Ctrl+Right (one for the caption, one for the label, one for the head and one for the body of the tables).
Jun
26
answered Long equals in tikz
Jun
26
answered tikz circuit library annotation based on shape dimensions
Jun
26
comment tikz circuit library annotation based on shape dimensions
Sadly, this is not how it works. The keys are only set correctly during the drawing of the nodes, after that you cannot rely on their values. If worst comes to worst the values are in no relation to the nodes as they may not even get used to calculate the node’s dimension. Let me propose two solutions …
Jun
26
revised Help creating solid cylinders along a path in Tikz for crystal lattice diagram
edited tags
Jun
26
comment tikz circuit library annotation based on shape dimensions
You can't access the circuit symbol size key because it is a style and does not have any sub-keys. The keys can actually accessed by \pgfkeysvalueof{/pgf/minimum width}. But I'm not sure this is what you need in your context. Can you show a minimal working example?
Jun
26
comment Relative paths with TeXstudio under Windows (portable installation)
Hmm, I think the path is relative to where the tex file is not where TeXstudio is. TeXstudio runs this in the folder of the tex file ... or does it work if you save the file properly?
Jun
26
comment Drawing primitive shapes with TikZ
For TikZ, 3d isn't primitive.
Jun
26
revised How to connect nodes with TikZ?
added 52 characters in body
Jun
26
reviewed Reject suggested edit on What professions use TeX/LaTeX besides CS?
Jun
26
comment TikZ: Polar coordinates referencing system
If you want to draw a line to such an coordinates that is relative to another you can (have to) use the shift options: \draw (3,1) -- ([shift={(30:1)}] 1,2);.
Jun
26
answered How to connect nodes with TikZ?
Jun
26
comment Table headers and chain aligment
Re 1: What specifies a “good way”? Why is this a bad way? Re 2: I don’t see the point of using chains here. You can simply say \path[<-*, blue!30] (ex5mx-3-3) edge (ex5mx-3-2) edge (ex5mx-2-2);. If needed, you can specify anchors where the arrows should start/end specifically: \path[<-*, blue!30] (ex5mx-3-3.west) edge (ex5mx-3-2.east) edge (ex5mx-2-2.east);
Jun
26
comment How to make nodes on branchy TikZ chain lay on regular grid (trangular or square) automatically?
Could you clarify your question? What do you mean automatic placement on a regular grid? Have you tried @percusse’s on grid suggestion? That actually does place the nodes on a grid as it only uses the center anchors, as opposed to the west and the east anchors in the default going right option. The below right option uses the south east and north west anchors which can be attributed for the placement of the circular nodes.
Jun
25
comment Alternatives to LaTeX
LaTeX is not only markup but also typesetting. And welcome to TeX.sx!
Jun
25
comment Conversion of pgf code into TikZ code?
@T_T matlab2tikz which is often mentioned on TeX.sx produces TikZ output. Then there is inkscape2tikz. Check texample.net/tikz/examples/tag/code-generation for other examples generated by other software. dot2tex can generate PSTricks as well as PGF and TikZ code. To answer your question: Yes, it is possible to convert PGF to TikZ code (by hand at least) but with an overhead, as TikZ does and is more than just PGF. Your request is very exceptional because for most people it is easier to write TikZ code than it is to write PGF code.
Jun
25
answered TikZ: Can a node be placed at pos = .5 and then a coordinate at the end of the line?
Jun
25
revised table too wide and doesn't fit within textwidth
edited tags
Jun
25
comment table too wide and doesn't fit within textwidth
A few ideas (besides splitting the table up or rotating it): cells with more than one line (possible the long headings) or tabularxX column. Removing the unnecessary vertical lines or reducing \tabcolsep, the space between columns, could also be a solution. Could you add a full minimal working example?
Jun
25
revised Dependent node size in TikZ
added 30 characters in body