shumway / asudis

LaTeX style files for ASU Ph. D. dissertations
http://shumway.github.io/asudis/
35 stars 25 forks source link

List of Figures #8

Closed jlaura closed 9 years ago

jlaura commented 9 years ago

Question: I have two figures in my introduction (Chapter 1). What in asudis.sty needs to be modified so that the 'Figure' and 'Page' headers are placed in the correct place.

figureheader

neonjelly64 commented 9 years ago

jlaura, I worked quite a bit on getting the headings "Figure" and "Page" to be in the right place for my dissertation. I vaguely remember discovering this issue once I'd already graduated. Someone else trying to use the format also had a figure in chapter 1 and had the same result. As I recall, something really small seems to fix this. In your main TeX file, dis.tex perhaps, switch the order of the commands \listoffigures and \addtocontents{lof}{Figure~\hfill Page \par}. Let me know if that works for you. Unfortunately, I've forgotten why this fixes the problem, so all I have to offer if it works is a magic solution with no explanation.

neonjelly64 commented 9 years ago

jlaura, did you try the suggestion I made in my last comment?

jlaura commented 9 years ago

Joel,

I will give this a go today - I was on travel Friday - this AM.

Thanks, Jay

On Mon, Aug 17, 2015 at 6:00 AM, Joel notifications@github.com wrote:

jlaura, did you try the suggestion I made in my last comment?

— Reply to this email directly or view it on GitHub https://github.com/shumway/asudis/issues/8#issuecomment-131810008.

jlaura commented 9 years ago

Success. I moved the right justify 'Page' header to the top of the definition a la:

\newpage \addcontentsline{toc}{part}{LIST OF FIGURES} \addtocontents{lof}{Figure~\hfill Page \par} \addtocontents{toc}{CHAPTER \par} \renewcommand{\cftlabel}{Figure} % This gets the headers for the LOF right on the first page. Subsequent pages % are handled by the fancyhdr code in the asudis.sty file. \listoffigures

This is in dis.tex, lines 62-69 (though I have some additional package includes).

Thanks for all of the assistance.

On Mon, Aug 17, 2015 at 7:12 AM, Jay L. jlaura@asu.edu wrote:

Joel,

I will give this a go today - I was on travel Friday - this AM.

Thanks, Jay

On Mon, Aug 17, 2015 at 6:00 AM, Joel notifications@github.com wrote:

jlaura, did you try the suggestion I made in my last comment?

— Reply to this email directly or view it on GitHub https://github.com/shumway/asudis/issues/8#issuecomment-131810008.

neonjelly64 commented 9 years ago

Jay,

Glad you got it working! I made a commit which moves \listoffigures to beyond \addtocontents{lof}{Figure~\hfill Page \par} in dis.tex, which I think is the fundamental thing to fix this problem. Let me know if you should have any other problems.

Joel