Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

页眉 #103

Closed
hellobiek opened this issue Dec 2, 2012 · 8 comments
Closed

页眉 #103

hellobiek opened this issue Dec 2, 2012 · 8 comments
Assignees

Comments

@hellobiek
Copy link

当选择单页打印时
奇偶页的页眉都是 北京航空航天大学硕士学位论文

@huxuan
Copy link
Member

huxuan commented Dec 2, 2012

@hellobiek hi, thx for your active bug reporting really!
This problem is caused by fancyhdr package only supporting different headers in odd and even pages for twoside option.
After exploring some webpages about this problem, I just found a really tricky method listed here: http://tex.stackexchange.com/questions/69100/distinguish-even-odd-pages-in-header-with-oneside-option
But I do not want to introduce it into BUAAthesis cause it will make it hard for further maintenance.
So I just suggest you use twoside option. I know this will bring empty pages for one sided printing.
But compare with solving various known and unkown potential compatibility problem between oneside and twoside, it's easy.

@JosephPeng @grissiom Is there any more opinion or solution for this problem?

@huxuan
Copy link
Member

huxuan commented Dec 2, 2012

@hellobiek
UPDATE
You can use twoside option the same as in sample-master.tex but add following two lines before \begin{document} this can kill all empty pages!

\let\cleardoublepage\clearpage
\let\clearemptydoublepage\clearpage

I think this would be the best solution I can think of. Wish this can help you!
If it works ok, do not forget to close this issue. :-)

@ghost ghost assigned huxuan Dec 2, 2012
@JosephPeng
Copy link
Member

@huxuan I will check it in a couple of days.

@huxuan
Copy link
Member

huxuan commented Dec 3, 2012

@JosephPeng I have solved this problem in another way.
Still use twoside option but remove all empty pages just for one sided printing.

@JosephPeng
Copy link
Member

@huxuan While the thesis is 'twoside' option, the left margin and right margin will change in different (odd/even) pages, I don't think your solution will work to suit the standard.
or use the option 'asymmetric' in 'mastergeometry' style, and with your solution will fix this problem.
In my option, this will be a little complex for user.

@huxuan
Copy link
Member

huxuan commented Dec 3, 2012

@hellobiek , Sorry for ignoring the margin problems, I will look into it more.
@JosephPeng , wish to see your perfect solutions too.

@huxuan
Copy link
Member

huxuan commented Dec 4, 2012

Reopen it as the problem has not been fully solved.

@huxuan huxuan reopened this Dec 4, 2012
@JosephPeng
Copy link
Member

Just one another thing, while use oneside option, the "openright" or "openany" option will not work, because in "oneside", every page is open at right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants