Add annotation on beamer slide, simulating hand-drawing?
up vote
1
down vote
favorite
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?
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
add a comment |
up vote
1
down vote
favorite
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?
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
1
Look at thetikzmarks
package. That's what I use for this.
– cfr
4 hours ago
relatedSimulating hand-drawn lines
tex.stackexchange.com/q/39296/138900
– AndréC
1 hour ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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?
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
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?
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
tikz-pgf beamer annotations
asked 5 hours ago
Matifou
1576
1576
1
Look at thetikzmarks
package. That's what I use for this.
– cfr
4 hours ago
relatedSimulating hand-drawn lines
tex.stackexchange.com/q/39296/138900
– AndréC
1 hour ago
add a comment |
1
Look at thetikzmarks
package. That's what I use for this.
– cfr
4 hours ago
relatedSimulating 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
add a comment |
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}
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 thetikzmark
package, which has thetikzmarknode
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 thetikzmarknode
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
|
show 2 more comments
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}
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 thetikzmark
package, which has thetikzmarknode
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 thetikzmarknode
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
|
show 2 more comments
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}
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 thetikzmark
package, which has thetikzmarknode
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 thetikzmarknode
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
|
show 2 more comments
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}
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}
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 thetikzmark
package, which has thetikzmarknode
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 thetikzmarknode
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
|
show 2 more comments
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 thetikzmark
package, which has thetikzmarknode
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 thetikzmarknode
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
|
show 2 more comments
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%2f462294%2fadd-annotation-on-beamer-slide-simulating-hand-drawing%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
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