Modify page number position in svmono class












0















As in the title, I would like to know how I should modify the svmono class in order to have the page number centered down (right now they are on the top left/right of the page).



Any feedback will be most welcome.

Thank you in advance for your time.










share|improve this question























  • Don't make any changes to the class file or the layout. Springer alone decides about the layout.

    – Johannes_B
    Mar 18 at 5:01











  • Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

    – Kolmin
    Mar 18 at 5:23
















0















As in the title, I would like to know how I should modify the svmono class in order to have the page number centered down (right now they are on the top left/right of the page).



Any feedback will be most welcome.

Thank you in advance for your time.










share|improve this question























  • Don't make any changes to the class file or the layout. Springer alone decides about the layout.

    – Johannes_B
    Mar 18 at 5:01











  • Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

    – Kolmin
    Mar 18 at 5:23














0












0








0


0






As in the title, I would like to know how I should modify the svmono class in order to have the page number centered down (right now they are on the top left/right of the page).



Any feedback will be most welcome.

Thank you in advance for your time.










share|improve this question














As in the title, I would like to know how I should modify the svmono class in order to have the page number centered down (right now they are on the top left/right of the page).



Any feedback will be most welcome.

Thank you in advance for your time.







header-footer sv-classes






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 18 at 5:00









KolminKolmin

212112




212112













  • Don't make any changes to the class file or the layout. Springer alone decides about the layout.

    – Johannes_B
    Mar 18 at 5:01











  • Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

    – Kolmin
    Mar 18 at 5:23



















  • Don't make any changes to the class file or the layout. Springer alone decides about the layout.

    – Johannes_B
    Mar 18 at 5:01











  • Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

    – Kolmin
    Mar 18 at 5:23

















Don't make any changes to the class file or the layout. Springer alone decides about the layout.

– Johannes_B
Mar 18 at 5:01





Don't make any changes to the class file or the layout. Springer alone decides about the layout.

– Johannes_B
Mar 18 at 5:01













Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

– Kolmin
Mar 18 at 5:23





Thanks a lot for your comment. However, I don't see what is the problem. I am using it as the ground for a book class. I already looked around on the site and quite some people asked for modifications in order to end up with something like a "mysvmono.cls".

– Kolmin
Mar 18 at 5:23










1 Answer
1






active

oldest

votes


















2














You have to redefine both the bchap and headings page styles.



documentclass[envcountsame,envcountchap]{svmono}
usepackage{kantlipsum}

makeatletter
defps@bchap{%
let@oddhead@emptylet@evenhead@empty
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
}

defps@headings{%
let@mkbothmarkboth
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
def@evenhead{runheadsizerunheadstylehfilleftmark}%
def@oddhead{runheadsizerunheadstylerightmarkhfil}%
defchaptermark##1{%
markboth{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}%
}{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}}%
}%
defsectionmark##1{%
markright{%
{ifnumc@secnumdepth>z@thesectionseccounterendhskipbetweenumberspacefi ##1}%
}%
}%
}
makeatother
pagestyle{headings}


begin{document}

chapter{Test}

kant[1-10]

end{document}





share|improve this answer
























  • Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

    – Kolmin
    Mar 18 at 10:19











  • @Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

    – egreg
    Mar 18 at 11:33













  • Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

    – Kolmin
    Mar 18 at 13:30











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480026%2fmodify-page-number-position-in-svmono-class%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














You have to redefine both the bchap and headings page styles.



documentclass[envcountsame,envcountchap]{svmono}
usepackage{kantlipsum}

makeatletter
defps@bchap{%
let@oddhead@emptylet@evenhead@empty
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
}

defps@headings{%
let@mkbothmarkboth
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
def@evenhead{runheadsizerunheadstylehfilleftmark}%
def@oddhead{runheadsizerunheadstylerightmarkhfil}%
defchaptermark##1{%
markboth{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}%
}{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}}%
}%
defsectionmark##1{%
markright{%
{ifnumc@secnumdepth>z@thesectionseccounterendhskipbetweenumberspacefi ##1}%
}%
}%
}
makeatother
pagestyle{headings}


begin{document}

chapter{Test}

kant[1-10]

end{document}





share|improve this answer
























  • Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

    – Kolmin
    Mar 18 at 10:19











  • @Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

    – egreg
    Mar 18 at 11:33













  • Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

    – Kolmin
    Mar 18 at 13:30
















2














You have to redefine both the bchap and headings page styles.



documentclass[envcountsame,envcountchap]{svmono}
usepackage{kantlipsum}

makeatletter
defps@bchap{%
let@oddhead@emptylet@evenhead@empty
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
}

defps@headings{%
let@mkbothmarkboth
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
def@evenhead{runheadsizerunheadstylehfilleftmark}%
def@oddhead{runheadsizerunheadstylerightmarkhfil}%
defchaptermark##1{%
markboth{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}%
}{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}}%
}%
defsectionmark##1{%
markright{%
{ifnumc@secnumdepth>z@thesectionseccounterendhskipbetweenumberspacefi ##1}%
}%
}%
}
makeatother
pagestyle{headings}


begin{document}

chapter{Test}

kant[1-10]

end{document}





share|improve this answer
























  • Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

    – Kolmin
    Mar 18 at 10:19











  • @Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

    – egreg
    Mar 18 at 11:33













  • Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

    – Kolmin
    Mar 18 at 13:30














2












2








2







You have to redefine both the bchap and headings page styles.



documentclass[envcountsame,envcountchap]{svmono}
usepackage{kantlipsum}

makeatletter
defps@bchap{%
let@oddhead@emptylet@evenhead@empty
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
}

defps@headings{%
let@mkbothmarkboth
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
def@evenhead{runheadsizerunheadstylehfilleftmark}%
def@oddhead{runheadsizerunheadstylerightmarkhfil}%
defchaptermark##1{%
markboth{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}%
}{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}}%
}%
defsectionmark##1{%
markright{%
{ifnumc@secnumdepth>z@thesectionseccounterendhskipbetweenumberspacefi ##1}%
}%
}%
}
makeatother
pagestyle{headings}


begin{document}

chapter{Test}

kant[1-10]

end{document}





share|improve this answer













You have to redefine both the bchap and headings page styles.



documentclass[envcountsame,envcountchap]{svmono}
usepackage{kantlipsum}

makeatletter
defps@bchap{%
let@oddhead@emptylet@evenhead@empty
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
}

defps@headings{%
let@mkbothmarkboth
def@oddfoot{reset@fontsmallhfilthepagehfil}%
let@evenfoot@oddfoot
def@evenhead{runheadsizerunheadstylehfilleftmark}%
def@oddhead{runheadsizerunheadstylerightmarkhfil}%
defchaptermark##1{%
markboth{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}%
}{%
{if@chapnumthechapterthechapterendhskipbetweenumberspacefi ##1}}%
}%
defsectionmark##1{%
markright{%
{ifnumc@secnumdepth>z@thesectionseccounterendhskipbetweenumberspacefi ##1}%
}%
}%
}
makeatother
pagestyle{headings}


begin{document}

chapter{Test}

kant[1-10]

end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 18 at 9:28









egregegreg

729k8819273240




729k8819273240













  • Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

    – Kolmin
    Mar 18 at 10:19











  • @Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

    – egreg
    Mar 18 at 11:33













  • Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

    – Kolmin
    Mar 18 at 13:30



















  • Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

    – Kolmin
    Mar 18 at 10:19











  • @Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

    – egreg
    Mar 18 at 11:33













  • Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

    – Kolmin
    Mar 18 at 13:30

















Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

– Kolmin
Mar 18 at 10:19





Great. Exactly what I was looking for. I was just wondering, since this change the overall ratio of the objects in the page, wouldn't it be good to raise the text a bit (to make it look further from the number in the bottom middle, in light of the fact that there is not text anymore above)? Would it be difficult to implement?

– Kolmin
Mar 18 at 10:19













@Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

– egreg
Mar 18 at 11:33







@Kolmin You still have headers. don't you? By the way, I would never use svmono as a base for my class.

– egreg
Mar 18 at 11:33















Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

– Kolmin
Mar 18 at 13:30





Now that you ask me this, I realize they are still there, even if there is nothing there (no page anymore and no name or number of the chapter). But maybe the ratio issue is only with what is below. [Concerning the "never", I would say it is a move made out of desperation... :D. As many, I was looking around for a professional, well made, basic template for books, maybe done from memoir, but I did not find anything and I like the overall feeling of svmono. Given this, if you do know a link that does provide that template, it would be great if you would share it.]

– Kolmin
Mar 18 at 13:30


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f480026%2fmodify-page-number-position-in-svmono-class%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?