0

I am writing a default beamer style for my slide. I wanna to define a shading box in the left side of slides and inser the section titles vertically at it. but I don't know how is it possible!!! the sidebar can be similar to "Berkeley" theme sidebar but at a different color and right side thanks all

the section title on the left side

1 Answer 1

3
\documentclass{beamer}

\usetheme[right]{Berkeley}
\setbeamercolor{sidebar}{bg=red}

\begin{document}


\section{text}
\begin{frame}
    abc
\end{frame} 

\end{document}

For themes which - unlike the image you show in your question - have a colour shaded background:

\documentclass{beamer}

\usetheme[right]{Marburg}

\setbeamertemplate{sidebar canvas right}[vertical shading][top=red,bottom=blue]

\begin{document}

\section{text}
\begin{frame}
    abc
\end{frame} 

\end{document}
5
  • Thank you, Sam, but really this is not suitable for me. I am using the default theme currently. You are saying that use Berkeley theme. this makes my previous setting collapsed. Do you misunderstand my purpose? Feb 22, 2018 at 12:16
  • 1
    @mohammadfazli You did not show a minimal working example (MWE) and never mentioned which theme you use. If you have problems with combining your code with the Berkeley theme, please ask a clear question that demonstrates your problems. Feb 22, 2018 at 12:21
  • when I use your code but by Marburg them as follows: \usetheme[right]{Marburg} \setbeamercolor{sidebar}{bg=red} Feb 22, 2018 at 12:26
  • 3
    @mohammadfazli minimal working example (MWE) ??? Feb 22, 2018 at 12:28
  • see the following post Feb 22, 2018 at 13:06

You must log in to answer this question.

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