Position a box in LaTeX-Beamer at the top of the slide












0















I finally managed to create a box. I want this box to be centered and at the top of my slide, however. And I don't know how to achieve this: I have created a minipage, but I cannot position it at the top of my slide.
I am using a customized template that does not allow for the block-environment.



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
begin{itemize}
item Item1
end{itemize}
centering
begin{minipage}[t]{textwidth}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
Put some text here.
end{beamercolorbox}
end{minipage}
begin{itemize}
item Item2
end{itemize}
end{frame}

end{document}









share|improve this question























  • This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

    – samcarter
    Mar 8 at 16:16
















0















I finally managed to create a box. I want this box to be centered and at the top of my slide, however. And I don't know how to achieve this: I have created a minipage, but I cannot position it at the top of my slide.
I am using a customized template that does not allow for the block-environment.



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
begin{itemize}
item Item1
end{itemize}
centering
begin{minipage}[t]{textwidth}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
Put some text here.
end{beamercolorbox}
end{minipage}
begin{itemize}
item Item2
end{itemize}
end{frame}

end{document}









share|improve this question























  • This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

    – samcarter
    Mar 8 at 16:16














0












0








0








I finally managed to create a box. I want this box to be centered and at the top of my slide, however. And I don't know how to achieve this: I have created a minipage, but I cannot position it at the top of my slide.
I am using a customized template that does not allow for the block-environment.



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
begin{itemize}
item Item1
end{itemize}
centering
begin{minipage}[t]{textwidth}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
Put some text here.
end{beamercolorbox}
end{minipage}
begin{itemize}
item Item2
end{itemize}
end{frame}

end{document}









share|improve this question














I finally managed to create a box. I want this box to be centered and at the top of my slide, however. And I don't know how to achieve this: I have created a minipage, but I cannot position it at the top of my slide.
I am using a customized template that does not allow for the block-environment.



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
begin{itemize}
item Item1
end{itemize}
centering
begin{minipage}[t]{textwidth}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
Put some text here.
end{beamercolorbox}
end{minipage}
begin{itemize}
item Item2
end{itemize}
end{frame}

end{document}






beamer boxes






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 16:32









user503842user503842

1206




1206













  • This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

    – samcarter
    Mar 8 at 16:16



















  • This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

    – samcarter
    Mar 8 at 16:16

















This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

– samcarter
Mar 8 at 16:16





This feels like an xy-problem (tex.meta.stackexchange.com/questions/2449/…) Can you describe what the purpose of the box will be?

– samcarter
Mar 8 at 16:16










1 Answer
1






active

oldest

votes


















1














Like this?



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
vspace{-3cm}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
centering
Put some text here.
end{beamercolorbox}
vspace{3cm}
begin{itemize}
item Item1
end{itemize}
begin{itemize}
item Item2
end{itemize}
end{frame}
end{document}


enter image description here






share|improve this answer



















  • 1





    yeah, that's perfect! Thx very much!

    – user503842
    Mar 8 at 10:56











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',
autoActivateHeartbeat: false,
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%2f478233%2fposition-a-box-in-latex-beamer-at-the-top-of-the-slide%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









1














Like this?



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
vspace{-3cm}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
centering
Put some text here.
end{beamercolorbox}
vspace{3cm}
begin{itemize}
item Item1
end{itemize}
begin{itemize}
item Item2
end{itemize}
end{frame}
end{document}


enter image description here






share|improve this answer



















  • 1





    yeah, that's perfect! Thx very much!

    – user503842
    Mar 8 at 10:56
















1














Like this?



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
vspace{-3cm}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
centering
Put some text here.
end{beamercolorbox}
vspace{3cm}
begin{itemize}
item Item1
end{itemize}
begin{itemize}
item Item2
end{itemize}
end{frame}
end{document}


enter image description here






share|improve this answer



















  • 1





    yeah, that's perfect! Thx very much!

    – user503842
    Mar 8 at 10:56














1












1








1







Like this?



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
vspace{-3cm}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
centering
Put some text here.
end{beamercolorbox}
vspace{3cm}
begin{itemize}
item Item1
end{itemize}
begin{itemize}
item Item2
end{itemize}
end{frame}
end{document}


enter image description here






share|improve this answer













Like this?



documentclass{beamer}
usetheme{Hannover}

begin{document}

begin{frame}{My Title}
setbeamercolor{postit}{fg=black,bg=green!30}
vspace{-3cm}
begin{beamercolorbox}[sep=1em,wd=11cm]{postit}
centering
Put some text here.
end{beamercolorbox}
vspace{3cm}
begin{itemize}
item Item1
end{itemize}
begin{itemize}
item Item2
end{itemize}
end{frame}
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 7 at 16:55









Superuser27Superuser27

66415




66415








  • 1





    yeah, that's perfect! Thx very much!

    – user503842
    Mar 8 at 10:56














  • 1





    yeah, that's perfect! Thx very much!

    – user503842
    Mar 8 at 10:56








1




1





yeah, that's perfect! Thx very much!

– user503842
Mar 8 at 10:56





yeah, that's perfect! Thx very much!

– user503842
Mar 8 at 10:56


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478233%2fposition-a-box-in-latex-beamer-at-the-top-of-the-slide%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

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?