Niceboxes (latex)

October 25th, 2006

This nice sty comes from an example I found on the web. The code is not mine. However, I wasn’t able to find again the original code (and the original author) to give credit. There may be some small modifications I made: if it does not work, it’s likely it’s my fault.

You can define things like

  \usepackage{niceboxes}
  \newenvironment{definition}[1][Definition]{
  \par
  \SpecialEnv{#1}{LightSlateGrey}{Lavender}{LightSlateGrey}{}%
  }{%
  \endSpecialEnv
  }

Of course you need to have imported xcolors if you want to call colors by name (like LightSlateGrey)

Latex, Programming | Comments | Trackback

Leave a Reply

  1.  
  2.  
  3.  
  4. XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
You can keep track of new comments to this post with the comments feed.

Recent Posts

Blogroll

Siti amici

Misc

Recent Comments

Categories

Enrico Franchi graduated in Maths and Computer Science and is now studying for a Computet Science MSc (though because of italian bureaucracy that very course is to be cancelled).

RiK0's Tech Temple is using WP-Gravatar