I'm trying to display two things (a bordered box and a shaded box), both of which stretch across the entire text area - that is, since I have 1cm margins, the box should start 1cm from the left edge of the page and continue until 1cm from the right edge of the page.
Unfortunately it seems to start too far in (~1.5cm) and continue too far to the right (~0.5cm from the edge.) What am I doing wrong?
\documentclass[a4paper,10pt]{report} \usepackage[portrait,a4paper,margin=1.0cm,headsep=5mm]{geometry} \usepackage{color} \begin{document} \framebox[\textwidth]{test} \colorbox[gray]{0.85}{ \parbox{\textwidth}{test} } \end{document} 
\noindent), the width of the rules (\fboxrule) and the space between frame and text (\fboxsep).\framebox, thanks! Any suggestions for the\colorbox?\parbox.