Coder Social home page Coder Social logo

页眉 about buaathesis HOT 8 CLOSED

bhosc avatar bhosc commented on August 21, 2024
页眉

from buaathesis.

Comments (8)

huxuan avatar huxuan commented on August 21, 2024

@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?

from buaathesis.

huxuan avatar huxuan commented on August 21, 2024

@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. :-)

from buaathesis.

JosephPeng avatar JosephPeng commented on August 21, 2024

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

from buaathesis.

huxuan avatar huxuan commented on August 21, 2024

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

from buaathesis.

JosephPeng avatar JosephPeng commented on August 21, 2024

@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.

from buaathesis.

huxuan avatar huxuan commented on August 21, 2024

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

from buaathesis.

huxuan avatar huxuan commented on August 21, 2024

Reopen it as the problem has not been fully solved.

from buaathesis.

JosephPeng avatar JosephPeng commented on August 21, 2024

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.

from buaathesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.