-
Notifications
You must be signed in to change notification settings - Fork 111
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
Feature request: is coordinate defined #646
Comments
|
Thanks, I did not know the proper terminology for A.north east |
You can use this bit to check for the existence of an anchor. pgf/tex/generic/pgf/modules/pgfmoduleshapes.code.tex Lines 487 to 499 in fcb8edb
The problem is that
There is no way to check whether something is a valid math expression or not prior to evaluation. |
Then it seems best to at least just check for existence on coordinates. Then users will just have to make aliases for anchors if they want to use the test. Wouldn't that be doable? (I have yet to actually need to test on an anchor) |
I have a possible patch ready here hmenke@98b9d6b but I'm wondering whether this is so useful. |
can that test coordinates as well? I don't quite understand it. |
This is just the same definition as you had for |
I figured that this is not really worth providing in the PGF core, because it ca be implemented by a user in literally a single line. |
Often when I do trace images for people, I make a lot of helper coordinates. It is useful to be able to mark them. But I do not want to maintain a list of my defined coordinates, nor do I want to number my coordinates sequentially. At one point I came up with the MWE below. It works for normal coordinates, but not for things like node positions.
So I'm requesting a feature one can use to determine whether a coordinate/.. is defined.
The text was updated successfully, but these errors were encountered: