LaTeX forum ⇒ Presentations and PostersBoxed text in beamer

Beamer, Powerdot and KOMA-Script presentations, Conference posters (a0poster, baposter, tikzposter)
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Boxed text in beamer

Postby asafw » Wed Jun 21, 2017 2:32 am

Hi there,

What is the simplest way to get a centered box with text inside? I am currently using a "block" environment, but this has no frame..

Thanks a lot!


User avatar
Stefan Kottwitz
Site Admin
Posts: 9572
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Jun 21, 2017 4:41 pm

H Asaf,

do you mean like this?

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{beamer}
  2. \usetheme{Warsaw}
  3. \begin{document}
  4. \begin{frame}
  5. \begin{center}
  6. \begin{minipage}{4cm}
  7. \begin{block}{}
  8. This is my centered text
  9. \end{block}
  10. \end{minipage}
  11. \end{center}
  12. \end{frame}
  13. \end{document}

beamer-block.png (8.52 KiB) Viewed 22572 times

There is a frame. It depends on the theme, of cause.

Stefan admin

Return to “Presentations and Posters”

Who is online

Users browsing this forum: No registered users and 3 guests