Presentations and Posters ⇒ Boxed text in beamer
Boxed text in beamer
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!
Asaf
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Boxed text in beamer
do you mean like this?
Code: Select all
\documentclass{beamer}\usetheme{Warsaw}\begin{document}\begin{frame}\begin{center}\begin{minipage}{4cm}\begin{block}{}This is my centered text\end{block}\end{minipage}\end{center}\end{frame}\end{document}
Stefan