Linked Questions

2
votes
0answers
482 views

Strange behaviour of pin angles with PGFPlots [duplicate]

Possible Duplicate: How can I force TikZ pin angle? TikZ node pin angle in 2D plot I need to have some marks in a diagram pointing at characteristic points of the plot. To not have the text ...
133
votes
5answers
200k views

TikZ set node label position more precisely

This seems like it should be really easy but I can't seem to find it anywhere... I'd like to be able to fine-tune the positioning of a node label. I'm aware of the \node[label=above/below/etc:{label}...
21
votes
6answers
2k views

Combining |- and !.5! in TikZ

How do I combine the !.5! operator with the -| operator? I want a node that has x-coordinate equal to the average of x coordinates of nodes A and B, and a y-coordinate equal to the average the y ...
30
votes
3answers
24k views

How can I set the TikZ label anchor explicitly?

I want to add a label to a node, but "inside" the node. Something like this: The manual seems to indicate it might be possible, although no actual key is named. The ... anchor point for the label ...
36
votes
2answers
1k views

How do I debug pgfkeys?

I'm sure if you're reading this question you are already familiar with my love for pgfkeys. However, it is absolutely impossible to debug: \tracingmacros is a total mess, with every key expanding to ...
21
votes
3answers
3k views

TikZ parallel Edges between Nodes

I'm looking for a simple way to draw the following picture using TikZ. Namely, I would like to only specify the coordinates of the cities and then to connect them by edges using a \foreach loop. This ...
9
votes
1answer
4k views

Tikz: adjusting pin anchor

I was looking for a possibility to adjust the anchor of the text of a pin. Tikz does not allow this out of the box. This question was already asked on the mailing list pgf-users@lists.sourceforge....
8
votes
2answers
4k views

TikZ node pin angle in 2D plot

I would like to rotate the pin corresponding to the point -3.09% to the left, but when I increase the angle past 87, it snaps to 90 and the minus sign gets in the ticks and even at 87, it doesn't look ...
4
votes
2answers
4k views

How to anchor labels in tikz for baseline alignment

LaTeX handles subscripts and superscripts nicely, automatically correcting for various sizing and placement issues. I am trying to build a function that works like subscripts and superscripts, but ...
1
vote
3answers
1k views

Unable to set the text and its pin in correct orientation in Tikz pie chart

I am modifying the pie chart, which is available here. In case of small slices, text inside the pie chart overlaps to each other. So I am trying to write the text and value outside the chart. Below is ...
4
votes
1answer
1k views

Positioning text at node

This should be a simple question about positioning text with nodes using pgfplots. To make a skew node line with text I'd use \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat = ...
4
votes
1answer
587 views

How can I force the pin angle in a TikZ data visualization?

Please note that I am not using the pin option of a node as in How can I force TikZ pin angle? and TikZ node pin angle in 2D plot, but am instead using the pin in data option in a TikZ data ...
4
votes
2answers
177 views

Labels at an angle: an unexpected gap

I am trying to put some labels at some angles: \documentclass[14pt]{extarticle} \usepackage{tikz} \begin{document} \begin{tikzpicture}[label distance=0.5cm] \node[draw,circle, minimum size=10cm, ...
5
votes
1answer
147 views

TikZ node label is not being placed where I want it

Why is the following MWE not placing the label along the correct angle? \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[every path/.style={line ...
3
votes
0answers
230 views

pin angle not accepted [closed]

I am trying to draw a pin with a 45-degree angle. For some reason, the angle is not accepted and is seen as the pin label: \documentclass[tikz]{standalone} \usetikzlibrary{intersections} \begin{...