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

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}
  • 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? – mohammad fazli Feb 22 '18 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. – user36296 Feb 22 '18 at 12:21
  • when I use your code but by Marburg them as follows: \usetheme[right]{Marburg} \setbeamercolor{sidebar}{bg=red} – mohammad fazli Feb 22 '18 at 12:26
  • 2
    @mohammadfazli minimal working example (MWE) ??? – user36296 Feb 22 '18 at 12:28
  • see the following post – mohammad fazli Feb 22 '18 at 13:06

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.