Define a font family with the same font name, but with the Numbers=Lining
option and change all places where lining numbers are desired.
I don't think you really want this, though. I used Linux Libertine because I don't have Minion Pro.
\documentclass{book}
\usepackage{fontspec}
\usepackage{enumitem}
\usepackage{biblatex}
%\usepackage{etoolbox} % already loaded by biblatex
\setmainfont[Numbers={OldStyle,Proportional},Ligatures=TeX]{Linux Libertine O}
\newfontfamily{\liningmainfont}[Numbers=Lining,Ligatures=TeX]{Linux Libertine O}
\setlist[enumerate]{font=\liningmainfont}
\makeatletter
\renewcommand{\@makefnmark}{%
\hbox{\@textsuperscript{\normalfont\liningmainfont\@thefnmark}}%
}
\renewcommand\@seccntformat[1]{{\liningmainfont\@nameuse{the#1}\quad}}
\patchcmd{\@makechapterhead}{\thechapter}{{\liningmainfont\thechapter}}{}{}
\patchcmd{\chaptermark}{\thechapter}{{\liningmainfont\thechapter}}{}{}
\patchcmd{\sectionmark}{\thesection}{{\liningmainfont\thesection}}{}{}
\patchcmd{\ps@plain}{\thepage}{{\liningmainfont\thepage}}{}{}
\patchcmd{\@oddhead}{\thepage}{{\liningmainfont\thepage}}{}{}
\patchcmd{\@evenhead}{\thepage}{{\liningmainfont\thepage}}{}{}
\makeatother
\begin{document}
\chapter{Chapter}
\section{Section}
Text with numbers; 123 456 seven \& eight.
\begin{enumerate}
\item Item1 with footnote.\footcite{001}
\end{enumerate}
\clearpage
Even page
\clearpage
Odd page
\end{document}
Maybe there are other places where oldstyle numbers pop out; follow the same pattern: find the command that prints the number and patch it.
You can load fancyhdr
. Commands for single sided documents were usually, for example (right head, left head, right foot, and so on):
\pagestyle{fancy}
\fancyhf{}
\rhead{}
\lhead{}
\rfoot{}
Although apparently the last three showed here are now obsolete.
There are other styles besides fancy
which is used here, like plain
, but you can make up your own style. \fancyhf{}
empties the head and foot so you can fill them with whatever you want.
The new syntax has the following commands:
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{}
\fancyhead[LO,RE]{}
\fancyfoot[CE,CO]{}
\fancyfoot[LE,RO]{}
\setlength{\headheight}{15pt}
\fancyhead
is for the header, \fancyfoot
is for the footer, pretty simple. The various letters are: L
for the left side of the page, R
for the right side, C
for center, E
for even pages and O
for odd pages.
You can also add these commands for the lines:
\renewcommand{\headrulewidth}{2pt}
\renewcommand{\footrulewidth}{1pt}
You can enter whatever you want in the fields above, but you have some variables at your disposal so that nothing is hard-coded:
\thepage
Page number.
\thechapter
Number of current chapter.
\thesection
Number of current section
\chaptername
Adds the word "chapter" or the corresponding word if the document is in a different language.
\leftmark
and \rightmark
These add the top level and next-to-top level structure number and name (though it can be modified) for the current document class. For example, in article
it would be section and subsection.
Best Answer
(My previous answer was probably wrong, so I deleted it and am giving this one, which is better.)
Andrew Swann is absolutely right that we need a minimal working example; but let's see one way you could get this done. Assuming you're using the
article
class, and your page number is centered in the footer:This will do what you want, but it will leave page numbers elsewhere alone. It will also work through commands that change the page number's format, if you're using a document class which has such commands, such as
book
.The
fancyhdr
documentation is quite good, and will give you a great deal more information about how else you can format running headers and footers.