<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>De: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"Gary L. Gray" <<a href="mailto:glgray@me.com">glgray@me.com</a>></span><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Fecha: </b></span><span style="font-family:'Helvetica'; font-size:medium;">6 de mayo de 2012 20:17:47 GMT+02:00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Para: </b></span><span style="font-family:'Helvetica'; font-size:medium;">TeX on Mac OS X Mailing List <<a href="mailto:MacOSX-TeX@email.esm.psu.edu">MacOSX-TeX@email.esm.psu.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Asunto: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[OS X TeX] Eliminate extra vertical space in enumerate?</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Responder a: </b></span><span style="font-family:'Helvetica'; font-size:medium;">TeX on Mac OS X Mailing List <<a href="mailto:macosx-tex@email.esm.psu.edu">macosx-tex@email.esm.psu.edu</a>><br></span></div><br><br>Hi All,<br><br>This is not a Mac specific question, but I thought I would venture here first.<br><br>In the solutions manual for my textbooks, the problem statement and accompanying figure for each solution is enclosed in a box at the top of the page. If the problem statements consists of nothing but an enumerate environment, then extra vertical space is placed between the beginning of the environment and the rule of the enclosing box above it. Is there some way that this space can be removed in the case for which the problem state is nothing but this environment? Appended is a short example that exhibits the behavior I am describing. Notice the white space above the enumerate environment that does not exist in the second framebox.<br><br>Thank you.<br><br>Gary<br><br><br>\documentclass{article}<br>\begin{document}<br><br>\framebox{%<br>\parbox{\textwidth}{%<br>\begin{enumerate}<br>\item<br>First item.<br>\item<br>Second item.<br>\item<br>Third item.<br>\end{enumerate}%<br>}}<br><br>\framebox{%<br>\parbox{\textwidth}{%<br>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin sollicitudin arcu quis leo molestie ut porttitor nibh ullamcorper. Duis quis urna nec mauris aliquet convallis.}}<br><br>\end{document}<br><br></blockquote><br></div><div>Hi Gary,</div><div><br></div><div>I would change your code as follows:</div><div><br></div><div><div>\documentclass{article}</div><div>\usepackage{enumitem}</div><div>\begin{document}</div><div><br></div><div>\noindent</div><div>\framebox[\textwidth]{%</div><div>\parbox{\dimexpr\textwidth-2\fboxrule-2\fboxsep}{%</div><div>\begin{enumerate}[topsep=0pt]</div><div>\item</div><div>First item.</div><div>\item</div><div>Second item.</div><div>\item</div><div>Third item.</div><div>\end{enumerate}%</div><div>}}</div><div><br></div><div>\noindent</div><div>\framebox[\textwidth]{%</div><div>\parbox{\dimexpr\textwidth-2\fboxrule-2\fboxsep}{%</div><div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div><div>Proin sollicitudin arcu quis leo molestie ut porttitor </div><div>nibh ullamcorper. Duis quis urna nec mauris aliquet </div><div>convallis.}}</div><div><br></div><div>\end{document}</div><div><br></div><div>The enumitem package is quite useful to customize list environments. Please note also that the boxes were too wide, so there were some warnings about that.</div><div><br></div><div>Regards</div><div><br></div><div>Juanjo</div></div><br></body></html>