Graphics, Figures & TablesTangent coordinates in TikZ

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Tangent coordinates in TikZ

Post by shadgrind »

Has anyone here had any trouble using the tangent coordinate system in TikZ? I can't get the last picture in this example to look right. It's the one with the two tangent lines to a circle. The problem for me seems to be that I can get one tangent line right but not the second one. Here's a picture of what I get with that same exact code from the example:
Image
Notice that it gets the top tangent line but misplaces the bottom tangent line so that it's not tangent at all. All the other pictures in that example work fine for me, by the way.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

mas
Posts: 226
Joined: Thu Dec 04, 2008 4:39 am

Re: Tangent coordinates in TikZ

Post by mas »

Tried the example and it is working as shown. Why not do a diff on your source and the original and check for any issues?

Regards,

sridhar

OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Re: Tangent coordinates in TikZ

Post by shadgrind »

As I mentioned before, the code I used is the exact same code as the original, i.e. there is no difference.
User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Re: Tangent coordinates in TikZ

Post by shadgrind »

OK, it looks like it's the version of TikZ that I'm using that is causing the problem. I'm using the 2009-06-02 CVS version, but in the normal 2.0.0 version it works. I filed a bug for the CVS version.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Tangent coordinates in TikZ

Post by localghost »

shadgrind wrote:[...] I'm using the 2009-06-02 CVS version, but in the normal 2.0.0 version it works. [...]
That's an important information which should have been mentioned right at the beginning. It would have saved time and effort.


Best regards and welcome to the board
Thorsten
User avatar
shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Tangent coordinates in TikZ

Post by shadgrind »

OK, this issue has been fixed with the 2009-09-05 CVS build. I just tried it out and tangent coordinates work properly now. Glad to see the TikZ developers fix bugs in a timely fashion. Yay! :)
Post Reply