0

for my presentation I using the Rochester theme. I like this theme except for the blocks style. I need to have no style for this enviroment.

How can I set no style for blocks, using the theme anyway?

  • 1
    all block have style. if you not liked one provided with selected theme, than you need to change this style. welcome to tex.se. – Zarko Sep 24 '17 at 16:01
3

If you want to avoid drawing the rectangles in the background, you can set the background color of the block body to white. You can do that by writing the following code in the preamble after loading the theme:

\setbeamercolor{block body}{bg=white}

If can also do that for the block title. However, in this case you must also set a the foreground (text) color, because it is white by default in the theme. The following code sets the background color of the block title, for example, to black:

\setbeamercolor{block title}{bg=white,fg=black}

You could also employ a color from the theme; to use the structure color, you may write:

\setbeamercolor{block title}{use=structure,bg=white,fg=structure.fg}

I hope it helps.

Edit As pointed out by @samcarter comment, instead of a white background it is better to make it transparent, so that it works also if the frame background is not white, by using:

\setbeamercolor{block body}{bg=}
\setbeamercolor{block title}{bg=,fg=black}
  • Maybe replace the white with \setbeamercolor{block title}{bg=,fg=black} \setbeamercolor{block body}{bg=} so the background becomes transparent - makes it easier to use your solution in case of frames with a coloured background. – user36296 Sep 24 '17 at 20:07
  • You are right. The theme in the question has a white background; however, for future reference your suggestion is certainly better. Should I edit the answer and add it? – LucaD Sep 24 '17 at 20:17
  • Feel free to add the suggestion to your answer. – user36296 Sep 24 '17 at 20:19

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.