UTRGV-SMSS / Thesis-Template

Unofficial UTRGV Thesis Template
11 stars 7 forks source link

Generating blank pages, not always needed #7

Closed moemyself3 closed 5 years ago

moemyself3 commented 5 years ago

According to the thesis guide:

Blank Page (no page number) (needed only if the total number of pages for the table of contents is an odd number)

It seems that it's assumes to always need a blank page.

https://github.com/UTRGV-SMSS/Thesis-Template/blob/5ae9659879a13d4d984d9ad165b342603fc2d1df/UTRGVthesis.cls#L341-L355

moemyself3 commented 5 years ago

I'm not sure if there is a way to count the number of pages generated, then make a decision. It seems tricky since this is dependent on content.

ggarza commented 5 years ago

Thanks for informing me. I've been meaning to fix this.

The\ifodd macro seems useful.

https://en.wikibooks.org/wiki/TeX/ifodd