Add annotation on beamer slide, simulating hand-drawing?











up vote
1
down vote

favorite
1












I would like to add on my beamer slides something that simulate as if I had been drawing a comment by hand. This would circle, come on top of text or formulas, and allows to insert text. Ideally, I could use this with the beamer overlay specification, i.e. add it only in a second step. See example below.



Is there anything that could bring me somewhere close to that?



enter image description here



documentclass[english]{beamer}

usepackage{babel}

begin{document}
begin{frame}{Make Titles Informative. }

Iintroduce here two theorems:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=3
end{corollary}

end{frame}


end{document}


Thanks!










share|improve this question


















  • 1




    Look at the tikzmarks package. That's what I use for this.
    – cfr
    4 hours ago










  • related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
    – AndréC
    1 hour ago















up vote
1
down vote

favorite
1












I would like to add on my beamer slides something that simulate as if I had been drawing a comment by hand. This would circle, come on top of text or formulas, and allows to insert text. Ideally, I could use this with the beamer overlay specification, i.e. add it only in a second step. See example below.



Is there anything that could bring me somewhere close to that?



enter image description here



documentclass[english]{beamer}

usepackage{babel}

begin{document}
begin{frame}{Make Titles Informative. }

Iintroduce here two theorems:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=3
end{corollary}

end{frame}


end{document}


Thanks!










share|improve this question


















  • 1




    Look at the tikzmarks package. That's what I use for this.
    – cfr
    4 hours ago










  • related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
    – AndréC
    1 hour ago













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





I would like to add on my beamer slides something that simulate as if I had been drawing a comment by hand. This would circle, come on top of text or formulas, and allows to insert text. Ideally, I could use this with the beamer overlay specification, i.e. add it only in a second step. See example below.



Is there anything that could bring me somewhere close to that?



enter image description here



documentclass[english]{beamer}

usepackage{babel}

begin{document}
begin{frame}{Make Titles Informative. }

Iintroduce here two theorems:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=3
end{corollary}

end{frame}


end{document}


Thanks!










share|improve this question













I would like to add on my beamer slides something that simulate as if I had been drawing a comment by hand. This would circle, come on top of text or formulas, and allows to insert text. Ideally, I could use this with the beamer overlay specification, i.e. add it only in a second step. See example below.



Is there anything that could bring me somewhere close to that?



enter image description here



documentclass[english]{beamer}

usepackage{babel}

begin{document}
begin{frame}{Make Titles Informative. }

Iintroduce here two theorems:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=3
end{corollary}

end{frame}


end{document}


Thanks!







tikz-pgf beamer annotations






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









Matifou

1576




1576








  • 1




    Look at the tikzmarks package. That's what I use for this.
    – cfr
    4 hours ago










  • related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
    – AndréC
    1 hour ago














  • 1




    Look at the tikzmarks package. That's what I use for this.
    – cfr
    4 hours ago










  • related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
    – AndréC
    1 hour ago








1




1




Look at the tikzmarks package. That's what I use for this.
– cfr
4 hours ago




Look at the tikzmarks package. That's what I use for this.
– cfr
4 hours ago












related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
– AndréC
1 hour ago




related Simulating hand-drawn lines tex.stackexchange.com/q/39296/138900
– AndréC
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













As pointed out by @cfr, tikzmark is very useful here. In addition, decorations.pathmorphing comes with random steps, which arguably looks as if you would have drawn it with your own claws, err, sorry, hands.



documentclass[english]{beamer}
usepackage{tikz}
usetikzlibrary{tikzmark,decorations.pathmorphing}

begin{document}
begin{frame}{Make Titles Informative}

Introduce two tikzmarknode{theorems}{theorems} here:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=tikzmarknode[circle,draw=red,decorate,decoration={random steps,segment
length=1pt,amplitude=0.4pt}]{3}{3}
end{corollary}
begin{tikzpicture}[overlay,remember picture,decoration={random steps,segment
length=1pt,amplitude=0.4pt},red]
draw[decorate] (theorems.south west) -- (theorems.south east)
to[out=-40,in=180] ++ (2,-1) node[right]{comment};
draw[decorate] (3)
to[out=-40,in=180] ++ (2,-1) node[right]{some text};
end{tikzpicture}
end{frame}
end{document}


enter image description here






share|improve this answer





















  • oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
    – Matifou
    3 hours ago










  • @Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
    – marmot
    3 hours ago










  • This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
    – Matifou
    3 hours ago










  • @Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
    – marmot
    2 hours ago










  • ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
    – Matifou
    2 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462294%2fadd-annotation-on-beamer-slide-simulating-hand-drawing%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













As pointed out by @cfr, tikzmark is very useful here. In addition, decorations.pathmorphing comes with random steps, which arguably looks as if you would have drawn it with your own claws, err, sorry, hands.



documentclass[english]{beamer}
usepackage{tikz}
usetikzlibrary{tikzmark,decorations.pathmorphing}

begin{document}
begin{frame}{Make Titles Informative}

Introduce two tikzmarknode{theorems}{theorems} here:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=tikzmarknode[circle,draw=red,decorate,decoration={random steps,segment
length=1pt,amplitude=0.4pt}]{3}{3}
end{corollary}
begin{tikzpicture}[overlay,remember picture,decoration={random steps,segment
length=1pt,amplitude=0.4pt},red]
draw[decorate] (theorems.south west) -- (theorems.south east)
to[out=-40,in=180] ++ (2,-1) node[right]{comment};
draw[decorate] (3)
to[out=-40,in=180] ++ (2,-1) node[right]{some text};
end{tikzpicture}
end{frame}
end{document}


enter image description here






share|improve this answer





















  • oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
    – Matifou
    3 hours ago










  • @Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
    – marmot
    3 hours ago










  • This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
    – Matifou
    3 hours ago










  • @Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
    – marmot
    2 hours ago










  • ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
    – Matifou
    2 hours ago















up vote
0
down vote













As pointed out by @cfr, tikzmark is very useful here. In addition, decorations.pathmorphing comes with random steps, which arguably looks as if you would have drawn it with your own claws, err, sorry, hands.



documentclass[english]{beamer}
usepackage{tikz}
usetikzlibrary{tikzmark,decorations.pathmorphing}

begin{document}
begin{frame}{Make Titles Informative}

Introduce two tikzmarknode{theorems}{theorems} here:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=tikzmarknode[circle,draw=red,decorate,decoration={random steps,segment
length=1pt,amplitude=0.4pt}]{3}{3}
end{corollary}
begin{tikzpicture}[overlay,remember picture,decoration={random steps,segment
length=1pt,amplitude=0.4pt},red]
draw[decorate] (theorems.south west) -- (theorems.south east)
to[out=-40,in=180] ++ (2,-1) node[right]{comment};
draw[decorate] (3)
to[out=-40,in=180] ++ (2,-1) node[right]{some text};
end{tikzpicture}
end{frame}
end{document}


enter image description here






share|improve this answer





















  • oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
    – Matifou
    3 hours ago










  • @Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
    – marmot
    3 hours ago










  • This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
    – Matifou
    3 hours ago










  • @Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
    – marmot
    2 hours ago










  • ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
    – Matifou
    2 hours ago













up vote
0
down vote










up vote
0
down vote









As pointed out by @cfr, tikzmark is very useful here. In addition, decorations.pathmorphing comes with random steps, which arguably looks as if you would have drawn it with your own claws, err, sorry, hands.



documentclass[english]{beamer}
usepackage{tikz}
usetikzlibrary{tikzmark,decorations.pathmorphing}

begin{document}
begin{frame}{Make Titles Informative}

Introduce two tikzmarknode{theorems}{theorems} here:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=tikzmarknode[circle,draw=red,decorate,decoration={random steps,segment
length=1pt,amplitude=0.4pt}]{3}{3}
end{corollary}
begin{tikzpicture}[overlay,remember picture,decoration={random steps,segment
length=1pt,amplitude=0.4pt},red]
draw[decorate] (theorems.south west) -- (theorems.south east)
to[out=-40,in=180] ++ (2,-1) node[right]{comment};
draw[decorate] (3)
to[out=-40,in=180] ++ (2,-1) node[right]{some text};
end{tikzpicture}
end{frame}
end{document}


enter image description here






share|improve this answer












As pointed out by @cfr, tikzmark is very useful here. In addition, decorations.pathmorphing comes with random steps, which arguably looks as if you would have drawn it with your own claws, err, sorry, hands.



documentclass[english]{beamer}
usepackage{tikz}
usetikzlibrary{tikzmark,decorations.pathmorphing}

begin{document}
begin{frame}{Make Titles Informative}

Introduce two tikzmarknode{theorems}{theorems} here:
begin{theorem}
Algebra

1+2=3
end{theorem}

begin{corollary}
2+1=tikzmarknode[circle,draw=red,decorate,decoration={random steps,segment
length=1pt,amplitude=0.4pt}]{3}{3}
end{corollary}
begin{tikzpicture}[overlay,remember picture,decoration={random steps,segment
length=1pt,amplitude=0.4pt},red]
draw[decorate] (theorems.south west) -- (theorems.south east)
to[out=-40,in=180] ++ (2,-1) node[right]{comment};
draw[decorate] (3)
to[out=-40,in=180] ++ (2,-1) node[right]{some text};
end{tikzpicture}
end{frame}
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 4 hours ago









marmot

79k488166




79k488166












  • oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
    – Matifou
    3 hours ago










  • @Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
    – marmot
    3 hours ago










  • This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
    – Matifou
    3 hours ago










  • @Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
    – marmot
    2 hours ago










  • ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
    – Matifou
    2 hours ago


















  • oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
    – Matifou
    3 hours ago










  • @Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
    – marmot
    3 hours ago










  • This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
    – Matifou
    3 hours ago










  • @Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
    – marmot
    2 hours ago










  • ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
    – Matifou
    2 hours ago
















oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
– Matifou
3 hours ago




oh, that looks very close to what I need! I was not able to compile though, with error message such as No shape named theorems is known... Also, does this work with beamer overlays, i.e. can you use it with onslide{}, etc? Thanks!!
– Matifou
3 hours ago












@Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
– marmot
3 hours ago




@Matifou When was the last time you have updated your LaTeX installation? (There is a new version of the tikzmark package, which has the tikzmarknode command in it, could it be that you do not yet have this version?)
– marmot
3 hours ago












This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
– Matifou
3 hours ago




This is what I was suspecting indeed. I ave Ubuntu 18.04, and see a line like: tikz.sty 2015/08/07 v3.0.1a (rcs-revision 1.151) in the .log file, does not seem very new indeed... Is there a way to avoid the tikzmarknode function for now? Thanks!
– Matifou
3 hours ago












@Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
– marmot
2 hours ago




@Matifou I really LOVE this new function. What precisely prevents you from updating? (My problem is that it is very hard to check if a downgraded code really works because I cannot install the older version of tikzmark easily without spoiling my other TeX documents. On the other hand, you could just download the more recent version from CTAN in your local directory, and I am almost 100% sure it will work. A cleaner way would, however, be to update your LaTEX installation, which AFAIK does not mean you need to update UBUNTU.)
– marmot
2 hours ago












ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
– Matifou
2 hours ago




ok, I'll work on updating the pkg, makes sense. For now just copy/paste all files in the tikz pkg, base/tex did not help much, but hopefully I'll sort it soon. Did you geta chance to see if the tikz could be used with the beamer overlays? That would be aweseome :-) Thanks!!!
– Matifou
2 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462294%2fadd-annotation-on-beamer-slide-simulating-hand-drawing%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux