beamer — making visible a part of an invisible block (theorem)
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I have the following problem:
I have a theorem and want to show only one part of it first, without showing the head of the theorem. I tried:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
visible<3->
begintheorem
We have that
beginalign*
visible<2->sqrtpi = int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
what I get:
what I want:
EDIT:
the improved code
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
usepackagexcolor
begindocument
definecolorseagullgrayHTMLCCCCCC
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=seagullgray
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
yields
In this compiler the color #CCCCCC doesnt even seem to fit.
beamer uncover
add a comment |Â
up vote
4
down vote
favorite
I have the following problem:
I have a theorem and want to show only one part of it first, without showing the head of the theorem. I tried:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
visible<3->
begintheorem
We have that
beginalign*
visible<2->sqrtpi = int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
what I get:
what I want:
EDIT:
the improved code
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
usepackagexcolor
begindocument
definecolorseagullgrayHTMLCCCCCC
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=seagullgray
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
yields
In this compiler the color #CCCCCC doesnt even seem to fit.
beamer uncover
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I have the following problem:
I have a theorem and want to show only one part of it first, without showing the head of the theorem. I tried:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
visible<3->
begintheorem
We have that
beginalign*
visible<2->sqrtpi = int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
what I get:
what I want:
EDIT:
the improved code
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
usepackagexcolor
begindocument
definecolorseagullgrayHTMLCCCCCC
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=seagullgray
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
yields
In this compiler the color #CCCCCC doesnt even seem to fit.
beamer uncover
I have the following problem:
I have a theorem and want to show only one part of it first, without showing the head of the theorem. I tried:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
visible<3->
begintheorem
We have that
beginalign*
visible<2->sqrtpi = int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
what I get:
what I want:
EDIT:
the improved code
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
usepackagegraphicx
usepackagexcolor
begindocument
definecolorseagullgrayHTMLCCCCCC
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=seagullgray
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
yields
In this compiler the color #CCCCCC doesnt even seem to fit.
beamer uncover
edited Sep 8 at 15:32


samcarter
75k786241
75k786241
asked Sep 8 at 13:15


Falrach
1405
1405
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Maybe a bit hacky but one could simply change the colour of the title to hide it:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
With another colour theme:
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
%usepackagexcolor
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>%
setbeamercolorblock titlefg=bg,bg=bg
setbeamercolorblock bodybg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
Off-topic: You don't need usepackagegraphicx
nor usepackagexcolor
with beamer
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
 |Â
show 8 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Maybe a bit hacky but one could simply change the colour of the title to hide it:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
With another colour theme:
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
%usepackagexcolor
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>%
setbeamercolorblock titlefg=bg,bg=bg
setbeamercolorblock bodybg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
Off-topic: You don't need usepackagegraphicx
nor usepackagexcolor
with beamer
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
 |Â
show 8 more comments
up vote
5
down vote
accepted
Maybe a bit hacky but one could simply change the colour of the title to hide it:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
With another colour theme:
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
%usepackagexcolor
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>%
setbeamercolorblock titlefg=bg,bg=bg
setbeamercolorblock bodybg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
Off-topic: You don't need usepackagegraphicx
nor usepackagexcolor
with beamer
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
 |Â
show 8 more comments
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Maybe a bit hacky but one could simply change the colour of the title to hide it:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
With another colour theme:
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
%usepackagexcolor
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>%
setbeamercolorblock titlefg=bg,bg=bg
setbeamercolorblock bodybg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
Off-topic: You don't need usepackagegraphicx
nor usepackagexcolor
with beamer
Maybe a bit hacky but one could simply change the colour of the title to hide it:
documentclass[11pt]beamer
usethemeMalmoe
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>setbeamercolorblock titlefg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2 textd x
endalign*
endtheorem
endframe
enddocument
With another colour theme:
documentclass[11pt]beamer
usethemeMalmoe
usecolorthemeseagull
usepackage[utf8]inputenc
usepackage[german]babel
usepackage[T1]fontenc
usepackageamsmath
usepackageamsfonts
usepackageamssymb
%usepackagegraphicx
%usepackagexcolor
begindocument
beginframeA title
onslide<1->Motivational text.
only<1-2>%
setbeamercolorblock titlefg=bg,bg=bg
setbeamercolorblock bodybg=bg
begintheorem
visible<3->We have that
beginalign*
visible<2->sqrtpi visible<3->= int_-infty^infty e^-x^2textd x
endalign*
endtheorem
endframe
enddocument
Off-topic: You don't need usepackagegraphicx
nor usepackagexcolor
with beamer
edited Sep 8 at 15:23
answered Sep 8 at 14:16


samcarter
75k786241
75k786241
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
 |Â
show 8 more comments
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
Wow! I have not such good imagination and was developing a tikz overlay solution. (+1)
– koleygr
Sep 8 at 14:33
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
This is a good idea. But unfortunately I use the colortheme seagull. There the Theorem environment has a gray background. I adapted your answer to this insofar that I set the block title color to #CCCCCC. (+1). But the background stays gray of course.
– Falrach
Sep 8 at 14:36
1
1
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@Falrach If you could make a MWE that demonstrated the problem, I'm sure it can be fixed.
– samcarter
Sep 8 at 14:58
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@koleygr Thanks for the vote. Using tikz overlay is actually also a very good idea. If you already have something it might be interesting to post it as an answer - I would surely upvote it!
– samcarter
Sep 8 at 15:04
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
@samcarter I have edited my answer and added the adapted code.
– Falrach
Sep 8 at 15:13
 |Â
show 8 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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f449998%2fbeamer-making-visible-a-part-of-an-invisible-block-theorem%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