title: Latex color box inline with text
body: <p>I'm trying to put together a LaTeX color box.  The xcolor package \fcolorbox seem to be what I want, but I can't get the rendering quite correct.  When I use</p>
  
  <pre><code>\fcolorbox{black}{red}{}
  </code></pre>
  
  <p>it renders a small box sunken to the bottom of the text line.  The best I've managed to do is to fake it with a similar text color:</p>
  
  <pre><code>\fcolorbox{black}{red}{\textcolor{red}{--}}
  </code></pre>
  
  <p>However, I'm worried that this won't render correctly in all situations with defined colors.  Is there a way I can declare an empty text box with full in-line text height?  Is there another solution?</p>
  
  <p>I'm basically looking for the code that produces the color boxes all through the document at <a href="ftp://ftp.dante.de/pub/tex/macros/latex/contrib/xcolor/xcolor.pdf" rel="nofollow">ftp://ftp.dante.de/pub/tex/macros/latex/contrib/xcolor/xcolor.pdf</a>.  The boxes I'm referring to are used throughout, but the first instance is on page 4.  Thanks.</p>