Generalmacros: grey text box

LaTeX specific issues not fitting into one of the other forums of this category.
Lagrange
Posts: 5
Joined: Mon Oct 19, 2009 3:32 pm

macros: grey text box

Post by Lagrange »

@Stefan_K
Ok I did look into this package, but I doubt that I will be able to get this running. I am not have the root password and I am not clever enough to do it. But thx a lot for your help - even if I am not going to use this macro, it was very helpful. I have a similar problem with a package called "mcode" - I guess because of the same reason!

Thx again!

@gmedina
Yuchuu, that is doing the job :).

Code: Select all

\documentclass{article}

\usepackage{color}
\definecolor{mygrey}{gray}{0.80}

\newcommand{\resheading}[1]{{\large \colorbox{mygrey}{\begin{minipage}{\textwidth}{\textbf{#1 \vphantom{p\^{E}}}}\end{minipage}}}}

\begin{document}


\resheading{ihjkjhkjhjh}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply