¿Cómo disminuir el espacio vertical del shaded
entorno en el preámbulo? Aquí está el código:
\documentclass[a4paper,12pt]{article}
\usepackage{color,xcolor}
\usepackage{framed}
\colorlet{shadecolor}{blue!11}
\begin{document}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\begin{shaded}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\end{shaded}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\end{document}
No defina el nuevo entorno, simplemente cambie algunas propiedades del shaded
entorno.
Respuesta1
Fuera de tema: No cargar color
pero solo los más modernos xcolor
.
Puede redefinir el espacio vertical redefiniendo la framed
longitud interna OuterFrameSep
:
\documentclass[a4paper,12pt]{article}
\usepackage{xcolor}
\usepackage{framed}
\colorlet{shadecolor}{blue!11}
\setlength{\OuterFrameSep}{0pt}
\begin{document}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\begin{shaded}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\end{shaded}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
text text text text text text text text text text text text text text text text text text text text text text text text text text text text texttext text text text text text text
\end{document}