0

In my presentation on each frame (including title frame) I need a background image and a footer line on each frame with the companies name (so that the image begins direclty upon this footer line).

I managed to add the image and the footer line as needed using \usebackgroundtemplate \vbox to \paperhigth taken from this answer: Beamer background image centered And the colorbox part from this answer: How to make \colorbox fill the color between underline and overline of a text?

But my footer line starts too low so that the text in it is cut by the frame edge: text cut at frame edge How do I raise the \colorbox (and the picture not shown) by about .5em?
Desired output is:
text completely visible

This is my sample code:

    \documentclass[aspectratio=169]{beamer}
    \usepackage{color}
    \definecolor{gray}{rgb}{0.76, 0.76, 0.76}
    \definecolor{dark-gray}{rgb}{0.36, 0.36, 0.36}
    \usebackgroundtemplate{%
        \vbox to \paperheight{
            \vfil       
            \colorbox{dark-gray}{
                \makebox [\paperwidth][l]{
                   \tiny\color{gray}{
                      \hspace{2em}\textcopyright Company Name
                   }
                }
             }
        }
    }

    \begin{document}
    \begin{frame}{ } 
     test
    \end{frame}
    \end{document}

1 Answers1

1

You could specify the height of the box:

\documentclass[aspectratio=169]{beamer}
\definecolor{gray}{rgb}{0.76, 0.76, 0.76}
\definecolor{dark-gray}{rgb}{0.36, 0.36, 0.36}
\usebackgroundtemplate{%
    \vbox to \paperheight{
        \vfil       
        \colorbox{dark-gray}{
            \makebox(442,8)[lt]{
               \tiny\color{gray}{
                  \hspace{2em}\textcopyright Company Name
               }
            }
         }
    }
}

\begin{document}
\begin{frame}
 test
\end{frame}
\end{document}

enter image description here

EDIT:

To use other than the default coordinates:

\documentclass[aspectratio=169]{beamer}
\definecolor{gray}{rgb}{0.76, 0.76, 0.76}
\definecolor{dark-gray}{rgb}{0.36, 0.36, 0.36}
\usebackgroundtemplate{%
    \vbox to \paperheight{
        \vfil       
        \colorbox{dark-gray}{
                \setlength{\unitlength}{\paperwidth}
            \makebox(1,0.02)[lt]{
               \tiny\color{gray}{
                  \hspace{2em}\textcopyright Company Name
               }
            }
         }
    }
}

\begin{document}
\begin{frame}
 test
\end{frame}
\end{document}