rpavlik / rpisudiss

Rylie Pavlik's made-from-scratch ISU dissertation class for LaTeX.
3 stars 1 forks source link

Provides appendix support #30

Closed godbyk closed 10 years ago

godbyk commented 10 years ago

This provides support for single and multiple appendices (fixes issue #21).

On the first pass, we assume there is only one appendix and therefore don't give it a letter. On the second pass, we fix the heading, giving it a letter if there are multiple appendices. On the third pass, we fix the table of contents.

To make use of appendices, just write \appendix and then use the \chapter macro for each appendix heading as usual.

rpavlik commented 10 years ago

That is awesome. I see it pulls in a new package, but travis apparently didn't mind. Looks like xifthen.sty is in texlive-latex-extra in Precise, so we're good. Thanks for being a LaTeX wizard!

rpavlik commented 10 years ago

(Oh, would be good to get tests for the auto-number thing just since it seems like the kind of thing I could easily break.)

godbyk commented 10 years ago

I created a new pull request with some test cases for the appendices.

rpavlik commented 10 years ago

oh snap, collision - I just made a bunch of test cases (along with improvements to the testing system) and pushed them.

On Mon, Jul 28, 2014 at 1:17 PM, Kevin Godby notifications@github.com wrote:

I created a new pull request with some test cases for the appendices.

— Reply to this email directly or view it on GitHub https://github.com/rpavlik/rpisudiss/pull/30#issuecomment-50376708.

Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University

rpavlik@iastate.edu http://academic.cleardefinition.com

godbyk commented 10 years ago

I just glanced through your tests and I think you covered all the cases I had, so you should keep yours and ignore mine.

rpavlik commented 10 years ago

Yeah, but you also tested having chapters in the back matter, and you added useful info prints. Adding those is probably worthwhile.

On Mon, Jul 28, 2014 at 2:21 PM, Kevin Godby notifications@github.com wrote:

I just glanced through your tests and I think you covered all the cases I had, so you should keep yours and ignore mine.

— Reply to this email directly or view it on GitHub https://github.com/rpavlik/rpisudiss/pull/30#issuecomment-50385572.

Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University

rpavlik@iastate.edu http://academic.cleardefinition.com

godbyk commented 10 years ago

Ah, fair enough. I can add those back in. For the back matter stuff, I wanted to make sure that back matter chapters weren't being counted as appendices.

rpavlik commented 10 years ago

Yeah, which I hadn't thought of, and which is a good idea.

godbyk commented 10 years ago

I've added those tests back to my master branch.