Adding link in a figure problem
up vote
0
down vote
favorite
The link in not on the full image, why? I want to go the link clicking on any part of the image.
documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}
hyperref
add a comment |
up vote
0
down vote
favorite
The link in not on the full image, why? I want to go the link clicking on any part of the image.
documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}
hyperref
It might have to do with your image, I get a full link if I usehref{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.
– marmot
2 mins ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The link in not on the full image, why? I want to go the link clicking on any part of the image.
documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}
hyperref
The link in not on the full image, why? I want to go the link clicking on any part of the image.
documentclass[a4paper,12pt]{standalone}
usepackage{hyperref,booktabs,graphicx}
newcommand{pcntr}[1]{$vcenter{hbox{#1}}$}
begin{document}
centering
begin{tabular}{llll}
toprule
Image & Name & Weight & Price\
toprule
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{Image/dabbasPk.png}}} & Dabbas & 400gm & 100tk\
pcntr{includegraphics[width=3cm]{Image/dabbasCrownPk.jpg}} & Dabbas Crown & 1kg & 270tk\
pcntr{includegraphics[width=3cm]{Image/neghalCrownPk.jpg}} & Neghal Crown & 800gm & 220tk\
pcntr{includegraphics[width=3cm]{Image/zahdiPk.jpg}} & Zahdi & 500gm & 90tk\
pcntr{includegraphics[width=3cm]{Image/zahdiCrownPk.jpeg}} & Zahdi Crown & 1kg & 200tk\
pcntr{includegraphics[width=3cm]{Image/raisin.jpg}} & Raisin(Dried grape) & 100gm & 45tk\
pcntr{includegraphics[width=3cm]{Image/raisinBlack.jpg}} & Raizin(light Black) & 100gm & 50tk\
pcntr{includegraphics[width=3cm]{Image/blackSeed.jpg}} & Black Seed & 100gm & 40tk\
pcntr{includegraphics[width=3cm]{Image/woodNut.jpg}} & Wood Nut & 100gm & 100tk\
pcntr{includegraphics[width=3cm]{example-image-a}} & Black Seed's Oil & 70ml & 170tk\
pcntr{includegraphics[width=3cm]{example-image-b}} & Sesame's Oil(Tiler Tel) & 70ml & 100tk\
bottomrule
end{tabular}
end{document}
hyperref
hyperref
asked 9 mins ago
alhelal
984119
984119
It might have to do with your image, I get a full link if I usehref{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.
– marmot
2 mins ago
add a comment |
It might have to do with your image, I get a full link if I usehref{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.
– marmot
2 mins ago
It might have to do with your image, I get a full link if I use
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.– marmot
2 mins ago
It might have to do with your image, I get a full link if I use
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.– marmot
2 mins ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
draft saved
draft discarded
draft saved
draft discarded
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461948%2fadding-link-in-a-figure-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
It might have to do with your image, I get a full link if I use
href{https://www.facebook.com/HoneyDate-339551993499615/}{pcntr{includegraphics[width=3cm]{example-image-a}}}
.– marmot
2 mins ago