You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrated from SourceForge
Author: symbol-1
Timestamp: 2019-02-03 19:04:41.100000
In the following example it is understandable that the second tikzpicture is the default behavior since it is same as how label works (see attached PDF).
\documentclass[tikz]{standalone}
\begin{document}
{
\makeatletter
\tikzset{
every pin/.append style={
anchor={180+\tikz@label@angle},
anchor/.code={} % locally disable `anchor`
% so that `anchor=@auto,` at line 647 and 677
% do not overwrite anchor
}
}
\tikz{
\draw foreach\ang in{10,20,...,360}
{(0,0)node[pin=\ang:pin]{base node}}
}
}
\tikz{
\draw foreach\ang in{10,20,...,360}
{(0,0)node[pin=\ang:pin]{base node}}
}
\end{document}
My feature request is to make the fitst tikzpicture the default behavior;
or at least make it less hacky.
Currently I have to put anchor/.code={} in my implement because
at tikz.code.tex line 647 and 677 there are hard-coded anchor=@auto,.
Perhaps it is easy/possible to make it an option.
Migrated from SourceForge
Author: symbol-1
Timestamp: 2019-02-03 19:04:41.100000
In the following example it is understandable that the second
tikzpicture
is the default behavior since it is same as howlabel
works (see attached PDF).My feature request is to make the fitst tikzpicture the default behavior;
or at least make it less hacky.
Currently I have to put
anchor/.code={}
in my implement becauseat
tikz.code.tex
line 647 and 677 there are hard-codedanchor=@auto,
.Perhaps it is easy/possible to make it an option.
See also
https://tex.stackexchange.com/questions/260395/labels-at-an-angle-an-unexpected-gap/260833
The text was updated successfully, but these errors were encountered: