-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misplaced label text caused by rotation #17
Comments
Can't reproduce your result (only "A" has "11%"). Can you provide a complete example? It seems the the text positioning issue is caused by the rotation \documentclass{article}
\usepackage{pgf-pie}
\begin{document}
\noindent
\foreach \i in {0,10,...,90} {%
\begin{tikzpicture}
\pie[hide number=true,text=inside,sum=auto,rotate=\i,radius=2]{
11/A,
4/B,
1/C,
4/D
}
\end{tikzpicture}
}
\end{document} |
The percent issue I found to be this stupid renewcommand on \pie that somehow made its way into our LaTeX document. I can close the issue if you want and open a separate one for the rotation issue, or rename this? (whichever you prefer) |
hide number
not working
Issue renamed. The problem is caused by the newline I've prepare a patch, see master...muzimuzhi:pgf-pie:optional-newline, but first the workflow file |
Nice catch haha, I'll test it next time I'm on my laptop. And thanks for the quick response and fix :) this library is a lifesaver tbh |
lgtm, thanks again |
Let's keep this open until a fix for it is released. |
Just came across that problem, fixed it and wanted to provide a quick PR. But now I realize this issue and a fix already exist. What prevents this from being released? |
(also, any idea why is the text aligned so weirdly loool)
The text was updated successfully, but these errors were encountered: