0

[1I am trying to add ovalbox to my text but not getting it properly. The remaining text that should be in the oval box but it is not seen on the screen. Please help.

.com/WgMw6.png

1
  • I am sorry if i asked the question wrongly as it is my first time here. And also my first question. Commented Mar 2, 2022 at 16:31

3 Answers 3

1

Assuming you used the fancybox package to generate the ovalbox, the easiest way to keep the content within the bounds of the frame is to insert it into a parbox of that width.

a

\documentclass[11pt]{beamer} 

\usepackage{fancybox} % added for ovalbox

\begin{document}

    \begin{frame}{Ovalbox}
    \ovalbox{\parbox{\framewidth}{The BEAMER package, wich defines the beamer document class, is generally included in most of standart LaTex distributions.}}
    \end{frame}

\end{document}
1
  • Thank you so much. Commented Mar 3, 2022 at 14:29
0

As an alternative to fancybox you can use a tcolorbox

\documentclass[11pt]{beamer} 

\usepackage[most]{tcolorbox} % added for ovalbox

\begin{document}

    \begin{frame}{Ovalbox}
    
    \begin{tcolorbox}[colback=white]
    The BEAMER package, wich defines the beamer document class, is generally included in most of standart LaTex distributions.
    \end{tcolorbox}
    \end{frame}

\end{document}

enter image description here

0

Also nice examples taken from https://github.com/AnMnv/eBook

enter image description here

enter image description here

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .