Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm creating a large document. My document contains three parts : frontmatter, main, backmatter. For frontmatter I have to place page number centering, for main I have to place page number flushright, and for backmatter I have to place page number centering.

So confusing about it. Anyone could help me please ? Can I use this : How to change the position of the page number in the first page of every chapter of a book?

share|improve this question
    
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. –  morbusg Aug 8 '11 at 4:54
    
Yes, you could use the solution of the Link you posted. There are others for what you'd like to achieve, but the one you Linked to is the cleanest one in my opinion. –  BernS Aug 8 '11 at 6:27
    
it works well in latex (miktex,texmaker,windows), but not in lyx, I'm looking for lyx ? :( –  Verly Aug 8 '11 at 16:30
    
If the answer of Keks Dose was helpful, please upvote it. If not, please add more details to your question. –  lockstep Sep 4 '11 at 11:54
add comment

1 Answer

up vote 1 down vote accepted

Consider using a KOMA-Script class, you get the documentation typing texdoc komascript into a console-window.

I did not test it myself, but KOMA-Script offers the command \KOMAoption{} . I guess you could change the settings of the pagenumber for the next page at any place in the document.

Besides that, KOMA-Script offers different "styles" for front-, main- and backmatter.

share|improve this answer
    
it works well in latex (miktex,texmaker,windows), but not in lyx, I'm looking for lyx ? :( –  Verly Aug 8 '11 at 16:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.