title: How do I change the block template for specific theorem environments (LaTeX beamer)
body: <p>The amsthm theorem environments (theorem,example,proof,solution,...) make blocks on beamer slides.  The default is that example environments use a different template (block example) than theorem or solution or proof (block).</p>
  
  <p>How do I make solution use a different template like "block solution" that I can define?</p>
  
  <p><strong>Edit:</strong> Thanks to those who answered.  I haven't implemented a workaround yet but it seems like there are two ideas:</p>
  
  <ul>
  <li><p>Redefine the <code>\th@foo</code> command for a theorem-like environment named <code>foo</code>.  The new command should redefine <code>\inserttheoremblockenv</code> to be the desired block environment.  See <code>beamerbasetheorems.sty</code> (around line 63) for how this is done specifically for <code>example</code>.</p></li>
  <li><p>Redefine the <code>theorem begin</code> and <code>theorem end</code> template to look up the correct theorem block environment based on the global variable <code>\inserttheoremname</code> (see <code>beamerinnerthemedefault.sty</code>).  The lookup table could be kept in a <code>pgfkeys</code> registry.  This approach would be a bit higher-level and wouldn't involve any commands with <code>@</code> in them; however, YAGNI comes to mind.</p></li>
  </ul>