I would like to have some background color applied to the following. I've tried \colorbox with no success. Been googling and looking for solution in docs, but no luck yet.
Thanks!
\begin{center}
\textbf{Sign Conventions for Mirrors}
\end{center}
\begin{itemize}
\item Both \textbf{R} and \textbf{f} are + if the center of curvature for the \textbf{R} is in front of the mirror.
\item Both \textbf{R} and \textbf{f} are - if the center of curvature for the \textbf{R} is in back of the mirror.
\end{itemize}
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{xcolor}
\usepackage{calc}
\usepackage{blindtext}
\newsavebox{\MYRAM}
\newenvironment{mycolorbox}{\par\noindent\begin{lrbox}{\MYRAM}\begin{minipage}{\textwidth-2\fboxsep}}
{\end{minipage}\end{lrbox}\colorbox{yellow}{\color{black}\usebox{\MYRAM}}\par}
\begin{document}
\blindtext
\begin{mycolorbox}
\begin{center}
\textbf{Sign Conventions for Mirrors}
\end{center}
\begin{itemize}
\item Both \textbf{R} and \textbf{f} are + if the center of curvature for the \textbf{R} is in front of the mirror.
\item Both \textbf{R} and \textbf{f} are - if the center of curvature for the \textbf{R} is in back of the mirror.
\end{itemize}
\end{mycolorbox}
\blindtext
\end{document}