-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to colorize my section headings, and I can't quite get it
right. I've got some LaTeX (below) that's almost it, but the background
box is taller than I want; I'd like it to only be a little taller than
the text of the section heading. Can anyone tweak this to the right
height?

\usepackage{color}
\let\mySection\section
\renewcommand\section[1]{%
    \protect\textcolor{blue}{%
        \colorbox{green}{%
            \parbox{\columnwidth}{%
                \mySection[#1]{#1}
            }%
        }%
    }%
}%


In case you're wondering, the ugly blue on green is just for testing.


- --
Peter Harkins    -    ph at malaprop.org    -    http://malaprop.org


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: If you don't know what this is, it's OK to ignore it.

iD8DBQFCnI9Va6PWv6+ALKoRAg5jAJ90HiO32yDQqjhZXoItaMJGfWARbQCeN4Kr
SmUTjfeXNfrIAHiU4ijN/oA=
=bVIr
-----END PGP SIGNATURE-----

Reply via email to