How to return and access tikz coordinate and real variable from a drawing macro
Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
This MWE draws multiple bicycle chain-link profiles but does not yet have an automated procedure to attach the links end-to-end into a chain segment. Each link is composed of two rollers, which I'll call the first and second. The origin of a link's local x-y coordinate frame is centered on the first roller and its x-axis points toward the second roller. The origin of the next link's reference frame (at the center of its first roller) will be attached to the center of the current link's second roller. The current version of the drawlink macro takes in the absolute x and y coordinates of the link's first roller (origin of its reference frame) as the first two arguments and the absolute rotation of this frame as the third argument. With these three quantities, a link can be drawn in any position and orientation relative to the global frame.
To simplify assembling a chain segment from links, I want to modify the drawlink macro to take in the absolute position of the previous link's second roller and its absolute angle, take in the angle of the current link relative to the previous link, and return the absolute position of the current link's second roller and its absolute angle.
Thus I am looking for a procedure to return the absolute position of the current link's second roller and its absolute angle from the drawlink macro and pass these quantities back into the next call to the drawlink macro, along with the offset angle. Then the drawchain macro will have only to provide relative angles between links and the drawlink macro will handle the rest.
%&latex
documentclassarticle
usepackagetikz
usepackagepgfmath
usetikzlibrarycalc
usetikzlibrarymath
usepackagexstring
defdrawlink(#1,#2,#3,#4)%
%#1 = x-position of first roller center.
%#2 = y-position of first roller center.
%#3 = link rotation angle.
%#4 = link gray saturation: 0 to 100
beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc + #3;
Tn = Thc - #3;
xs = #1 + cos(Tp)*re;
ys = #2 + sin(Tp)*re;
fill[gray!#4] (xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture[x=1mm, y=1mm, scale=0.25]
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
foreach i in 1,...,5
drawlink(i in,0,0,50)
endpgfonlayer
pgfonlayertop
foreach i in 0.5,1.5,...,5.5
drawlink(i in,0,0,100)
endpgfonlayer
endtikzpicture
enddocument
tikz-pgf
add a comment |Â
up vote
5
down vote
favorite
This MWE draws multiple bicycle chain-link profiles but does not yet have an automated procedure to attach the links end-to-end into a chain segment. Each link is composed of two rollers, which I'll call the first and second. The origin of a link's local x-y coordinate frame is centered on the first roller and its x-axis points toward the second roller. The origin of the next link's reference frame (at the center of its first roller) will be attached to the center of the current link's second roller. The current version of the drawlink macro takes in the absolute x and y coordinates of the link's first roller (origin of its reference frame) as the first two arguments and the absolute rotation of this frame as the third argument. With these three quantities, a link can be drawn in any position and orientation relative to the global frame.
To simplify assembling a chain segment from links, I want to modify the drawlink macro to take in the absolute position of the previous link's second roller and its absolute angle, take in the angle of the current link relative to the previous link, and return the absolute position of the current link's second roller and its absolute angle.
Thus I am looking for a procedure to return the absolute position of the current link's second roller and its absolute angle from the drawlink macro and pass these quantities back into the next call to the drawlink macro, along with the offset angle. Then the drawchain macro will have only to provide relative angles between links and the drawlink macro will handle the rest.
%&latex
documentclassarticle
usepackagetikz
usepackagepgfmath
usetikzlibrarycalc
usetikzlibrarymath
usepackagexstring
defdrawlink(#1,#2,#3,#4)%
%#1 = x-position of first roller center.
%#2 = y-position of first roller center.
%#3 = link rotation angle.
%#4 = link gray saturation: 0 to 100
beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc + #3;
Tn = Thc - #3;
xs = #1 + cos(Tp)*re;
ys = #2 + sin(Tp)*re;
fill[gray!#4] (xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture[x=1mm, y=1mm, scale=0.25]
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
foreach i in 1,...,5
drawlink(i in,0,0,50)
endpgfonlayer
pgfonlayertop
foreach i in 0.5,1.5,...,5.5
drawlink(i in,0,0,100)
endpgfonlayer
endtikzpicture
enddocument
tikz-pgf
1
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
This MWE draws multiple bicycle chain-link profiles but does not yet have an automated procedure to attach the links end-to-end into a chain segment. Each link is composed of two rollers, which I'll call the first and second. The origin of a link's local x-y coordinate frame is centered on the first roller and its x-axis points toward the second roller. The origin of the next link's reference frame (at the center of its first roller) will be attached to the center of the current link's second roller. The current version of the drawlink macro takes in the absolute x and y coordinates of the link's first roller (origin of its reference frame) as the first two arguments and the absolute rotation of this frame as the third argument. With these three quantities, a link can be drawn in any position and orientation relative to the global frame.
To simplify assembling a chain segment from links, I want to modify the drawlink macro to take in the absolute position of the previous link's second roller and its absolute angle, take in the angle of the current link relative to the previous link, and return the absolute position of the current link's second roller and its absolute angle.
Thus I am looking for a procedure to return the absolute position of the current link's second roller and its absolute angle from the drawlink macro and pass these quantities back into the next call to the drawlink macro, along with the offset angle. Then the drawchain macro will have only to provide relative angles between links and the drawlink macro will handle the rest.
%&latex
documentclassarticle
usepackagetikz
usepackagepgfmath
usetikzlibrarycalc
usetikzlibrarymath
usepackagexstring
defdrawlink(#1,#2,#3,#4)%
%#1 = x-position of first roller center.
%#2 = y-position of first roller center.
%#3 = link rotation angle.
%#4 = link gray saturation: 0 to 100
beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc + #3;
Tn = Thc - #3;
xs = #1 + cos(Tp)*re;
ys = #2 + sin(Tp)*re;
fill[gray!#4] (xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture[x=1mm, y=1mm, scale=0.25]
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
foreach i in 1,...,5
drawlink(i in,0,0,50)
endpgfonlayer
pgfonlayertop
foreach i in 0.5,1.5,...,5.5
drawlink(i in,0,0,100)
endpgfonlayer
endtikzpicture
enddocument
tikz-pgf
This MWE draws multiple bicycle chain-link profiles but does not yet have an automated procedure to attach the links end-to-end into a chain segment. Each link is composed of two rollers, which I'll call the first and second. The origin of a link's local x-y coordinate frame is centered on the first roller and its x-axis points toward the second roller. The origin of the next link's reference frame (at the center of its first roller) will be attached to the center of the current link's second roller. The current version of the drawlink macro takes in the absolute x and y coordinates of the link's first roller (origin of its reference frame) as the first two arguments and the absolute rotation of this frame as the third argument. With these three quantities, a link can be drawn in any position and orientation relative to the global frame.
To simplify assembling a chain segment from links, I want to modify the drawlink macro to take in the absolute position of the previous link's second roller and its absolute angle, take in the angle of the current link relative to the previous link, and return the absolute position of the current link's second roller and its absolute angle.
Thus I am looking for a procedure to return the absolute position of the current link's second roller and its absolute angle from the drawlink macro and pass these quantities back into the next call to the drawlink macro, along with the offset angle. Then the drawchain macro will have only to provide relative angles between links and the drawlink macro will handle the rest.
%&latex
documentclassarticle
usepackagetikz
usepackagepgfmath
usetikzlibrarycalc
usetikzlibrarymath
usepackagexstring
defdrawlink(#1,#2,#3,#4)%
%#1 = x-position of first roller center.
%#2 = y-position of first roller center.
%#3 = link rotation angle.
%#4 = link gray saturation: 0 to 100
beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc + #3;
Tn = Thc - #3;
xs = #1 + cos(Tp)*re;
ys = #2 + sin(Tp)*re;
fill[gray!#4] (xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture[x=1mm, y=1mm, scale=0.25]
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
foreach i in 1,...,5
drawlink(i in,0,0,50)
endpgfonlayer
pgfonlayertop
foreach i in 0.5,1.5,...,5.5
drawlink(i in,0,0,100)
endpgfonlayer
endtikzpicture
enddocument
tikz-pgf
tikz-pgf
asked 2 hours ago
Roger Wehage
805
805
1
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago
add a comment |Â
1
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago
1
1
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
I would not do it like this. Rather, I'd use a pic which I put multiple times along a path using decorations. Note that I did not tune your code, rather focus on the methods "putting sth in a pic" and "repeating it in a decoration". However, I really like your clever idea of using layers here!
documentclass[tikz,border=3.14mm]standalone
usetikzlibrarycalc
usetikzlibrarymath
usetikzlibrarydecorations.markings
tikzsetpics/.cd,
link/.style=code=beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc;
Tn = Thc;
fill[gray!#1] (0,0)%(xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=30;
] (0,0) -- (9in,0);
endpgfonlayer
pgfonlayertop
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=80;
] (1.45in,0) -- (9in,0);
endpgfonlayer
endtikzpicture
enddocument
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
I would not do it like this. Rather, I'd use a pic which I put multiple times along a path using decorations. Note that I did not tune your code, rather focus on the methods "putting sth in a pic" and "repeating it in a decoration". However, I really like your clever idea of using layers here!
documentclass[tikz,border=3.14mm]standalone
usetikzlibrarycalc
usetikzlibrarymath
usetikzlibrarydecorations.markings
tikzsetpics/.cd,
link/.style=code=beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc;
Tn = Thc;
fill[gray!#1] (0,0)%(xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=30;
] (0,0) -- (9in,0);
endpgfonlayer
pgfonlayertop
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=80;
] (1.45in,0) -- (9in,0);
endpgfonlayer
endtikzpicture
enddocument
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
add a comment |Â
up vote
4
down vote
I would not do it like this. Rather, I'd use a pic which I put multiple times along a path using decorations. Note that I did not tune your code, rather focus on the methods "putting sth in a pic" and "repeating it in a decoration". However, I really like your clever idea of using layers here!
documentclass[tikz,border=3.14mm]standalone
usetikzlibrarycalc
usetikzlibrarymath
usetikzlibrarydecorations.markings
tikzsetpics/.cd,
link/.style=code=beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc;
Tn = Thc;
fill[gray!#1] (0,0)%(xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=30;
] (0,0) -- (9in,0);
endpgfonlayer
pgfonlayertop
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=80;
] (1.45in,0) -- (9in,0);
endpgfonlayer
endtikzpicture
enddocument
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
add a comment |Â
up vote
4
down vote
up vote
4
down vote
I would not do it like this. Rather, I'd use a pic which I put multiple times along a path using decorations. Note that I did not tune your code, rather focus on the methods "putting sth in a pic" and "repeating it in a decoration". However, I really like your clever idea of using layers here!
documentclass[tikz,border=3.14mm]standalone
usetikzlibrarycalc
usetikzlibrarymath
usetikzlibrarydecorations.markings
tikzsetpics/.cd,
link/.style=code=beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc;
Tn = Thc;
fill[gray!#1] (0,0)%(xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=30;
] (0,0) -- (9in,0);
endpgfonlayer
pgfonlayertop
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=80;
] (1.45in,0) -- (9in,0);
endpgfonlayer
endtikzpicture
enddocument
I would not do it like this. Rather, I'd use a pic which I put multiple times along a path using decorations. Note that I did not tune your code, rather focus on the methods "putting sth in a pic" and "repeating it in a decoration". However, I really like your clever idea of using layers here!
documentclass[tikz,border=3.14mm]standalone
usetikzlibrarycalc
usetikzlibrarymath
usetikzlibrarydecorations.markings
tikzsetpics/.cd,
link/.style=code=beginscope
tikzmath%Some math to define and position the link components
lp = 0.5in;
re = 0.3299*lp;
rc = 0.4284*lp;
Th = 41.25;
Thc = 90 - Th;
Tp = Thc;
Tn = Thc;
fill[gray!#1] (0,0)%(xs,ys)
arc(Tp:360-Tn):re)
arc(180-Tn:Tp:rc)
arc(-180+Tp:180-Tn:re)
arc(-Tn:-180+Tp:rc)
-- cycle;
endscope
begindocument
begintikzpicture
pgfdeclarelayertop
pgfsetlayersmain,top
pgfonlayermain
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=30;
] (0,0) -- (9in,0);
endpgfonlayer
pgfonlayertop
path[decorate,decoration=markings,
mark=between positions 0 and 1 step 2.9in
with pic[scale=0.1]link=80;
] (1.45in,0) -- (9in,0);
endpgfonlayer
endtikzpicture
enddocument
answered 1 hour ago
marmot
71k476151
71k476151
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
add a comment |Â
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
+1 for using pics. Given the mention of angles in the question I think that the point is that the OP wants to draw these links around curves such as, for example, those in tex.stackexchange.com/questions/457784/â¦. (There seems to be a theme to the OP's posts, and I don't just mean that marmot is the first to answer them:)
â Andrew
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@Andrew Yes, drawing such a chain along a curve will be slightly more tricky and require something beyond decorations, namely intersections... This can all be done, but I do not see the need to use tikzmath, nor self-written parsers. Of course, I'd love to be proven wrong and learn something new...
â marmot
1 hour ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@marmot The chain-wrap C-program with lots of comments is more than 1000 lines, because rotating sprockets and chain segments to align link bushings with tooth pockets requires a lot of geometry and trig operations. And this is just to get initial conditions for a full-fledged dynamic bicycle model.
â Roger Wehage
12 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
@RogerWehage Well, I might be too optimistic, but I guess one can make it much shorter.
â marmot
8 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458114%2fhow-to-return-and-access-tikz-coordinate-and-real-variable-from-a-drawing-macro%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Commenting to connect this to tex.stackexchange.com/q/33703/86 which may be of some help.
â Loop Space
1 hour ago