1

I am trying to convert a beamer presentation (which cointains usage of the environment beamerboxesrounded and works fine) into an article using the package beamerarticle, but I get the message

Environnment beamerboxesrounded undefined

This is the code that does not work:

%\documentclass[Palatino, hyperref={pdfpagelabels=false}]{beamer}

\documentclass[12pt]{article}
\usepackage[noxcolor]{beamerarticle}


\usepackage[utf8]{inputenc} % usually not needed (loaded by default)
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}

\usepackage{lipsum,wrapfig,xcolor}

\setbeamercovered{dynamic}

\useoutertheme{infolines}

\usetheme{Singapore} % NO

\xdefinecolor{oiB}{rgb}{0.22,0.52,0.72}

\setbeamercolor{disc ques body}{fg=oiB}

\newcommand{\dq}[1]{
    \begin{beamerboxesrounded}[shadow = false, lower = disc ques body]{}
        #1
    \end{beamerboxesrounded}
}



\begin{document}

\begin{frame}

\dq{\lipsum[1]} 

\end{frame} 

\end{document}

It does work fine if I replace the first three lines with

\documentclass[Palatino, hyperref={pdfpagelabels=false}]{beamer}

%\documentclass[12pt]{article}
%\usepackage[noxcolor]{beamerarticle}

What should I do?

6
  • 2
    Maybe you could show us what you have done? Something we could compile on our side and see what's not working?
    – Ivan
    May 16 '20 at 19:57
  • You are right. I have edited the question. May 17 '20 at 8:06
  • 1
    Page 127 of the beamer user guide (version 3.58) explicitly mentions that the beamerboxesrounded environment is not available in article mode.
    – leandriis
    May 17 '20 at 8:15
  • I was about to say it. Here is the doc
    – Ivan
    May 17 '20 at 8:24
  • 1
    Have a look at the tcolorbox package which offers much flexibility for box creation and styles.
    – BambOo
    May 17 '20 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.