简体   繁体   中英

How to align the page number on the right in a footer with Latex and the scrbook package?

I am writing a Latex document using the scrbook package.

\documentclass[12pt,a4paper,oneside]{scrbook}
\pagestyle{plain}

The page number always appears centered in the footer. How can I make it align on the right? I've tried several times to find it in the documentation but to be honest, I don't fully understand it and my deadline is now.

\usepackage{scrpage2}
\ifoot[]{}
\cfoot[]{}
\ofoot[\pagemark]{\pagemark}

\pagestyle{scrplain}

should do it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM