Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Can I have framed blocks in beamer?

Is it possible to increase the border width of a block? I have identified the following section of code as being responsible for the block layout:

\setbeamertemplate{block begin}{ 
  \begin{beamercolorbox}[rounded=true,shadow=true,leftskip=1.5cm,colsep*=.75ex]{block title}%
        \usebeamerfont*{block title}\insertblocktitle
      {\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
      \usebeamerfont{block body}%
      \begin{beamercolorbox}[rounded=true,shadow=true,sep=.75ex,vmode]{block body}%
    %\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
     \setbeamertemplate{block end}{

However, the only things I can seem to change is foreground and background color, and shadow. But what I want to do is make a strong, colored border around the whole block. Is this possible?

share|improve this question

marked as duplicate by Gonzalo Medina, diabonas, Roelof Spijker, percusse, lockstep Apr 10 '12 at 16:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

beamercolorbox does not have this option. The options for it are listed on pages 124-125 of the beamer manual. To get boxes with frames you can use TikZ or mdframed. – Roelof Spijker Apr 10 '12 at 12:12

1 Answer 1

As an example, with TikZ you could create your own block environment to look something like this:

    line width=10pt,
    inner sep=7.5pt,
    rounded corners,
    outer sep=0pt,

Which looks like this:

beamer block

You could modify the code to supply arguments to the environment that are passed on to the TikZ node that is drawn.

share|improve this answer

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