GarenSidonius / ASU-Dissertation-Template

LaTeX Template for Typesetting Arizona State University Dissertations and Theses
73 stars 35 forks source link

AfterEndEnvironment need to be redifined in the back matter #11

Closed piyanatk closed 5 years ago

piyanatk commented 5 years ago

In the back matter, table, figure, quote and quotation environments need to be re-set to use single spacing after the environment. Else, previous definitions will force the back matter into double spacing if, for example, a figure is placed inside the appendix.

GarenSidonius commented 5 years ago

This sounds like a straightforward fix. Do you happen to have a sample file that demonstrates the problem? That way I can make updates and confirm the fixes using your sample.

piyanatk commented 5 years ago

Sure. I basically add the four lines below to the beginning of the back matter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Back matter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Reset 
\AfterEndEnvironment{table}{\SingleSpacing}
\AfterEndEnvironment{figure}{\SingleSpacing}
\AfterEndEnvironment{quote}{\SingleSpacing}
\AfterEndEnvironment{quotation}{\SingleSpacing}

\SingleSpacing                          % Back matter should be single spaced

Here are screen shorts before and after this fix, using quote environment as an example.

Before Screen Shot 2019-03-29 at 9 46 48 AM

After Screen Shot 2019-03-29 at 9 47 11 AM

GarenSidonius commented 5 years ago

Fantastic, thanks for providing all of that! I've incorporated these changes: 3ad53e5c3fb18e47a293d04658c47880ba5156fc