Is there a way to use baskervald for text and old style numbers by default?
I want to avoid customizing each number set. Also I want to have text with proper typography. I have a complete text of 138 pages in baskerville. When I try to apply old style numbers it changes numbers properly but pages goes up to 142 because of change in typography. What am I doing wrong/missing? Can't get it running without changing text font or size ...
I was trying to use this template as reference: Utilizing oldstyle figures without resorting to \oldstylenums , but with no success. And again with another example: How to make "old-style" the default for numerals?. With baskerville it all runs wrong.
I can't find where's the error in my big doc, perhaps order of package call...
My mwe
looks something like this
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{kpfonts,baskervald}
\usepackage[sc,osf]{mathpazo} % Palatino with pazo math fonts
%\usepackage{cfr-lm} % same result (delivers 140 pages)
\begin{document}
\textit{title}
\cleardoublepage
%content
%\input{138pages}
9876543210
abcdefghijklmnopqrstuvwxyz
\end{document}
Summing up
- Why isn't baskerville compatible with old style numbers?
- How can I make a clone work properly? Is more than a .sty file required?
I assume these links could be relevant but can't figure how/why to put them to use:
Bottom line problem: the answers are useful to try but I can't quite move forward.
\usepackage[osf]{Baskervaldx}
.ArashEsbati
's idea seemed a quite simple one but didn't work. Maybe because I'm using some characters in Cyrllic too? Don't know how to look for the problem.\documentclass{article} \usepackage[T1]{fontenc} \usepackage[osf,proportional]{Baskervaldx} \begin{document} 9876543210 abcdefgh. \textsc{Small Caps} \end{document}
. Which TeX distro do you have?.sty
in the same directory? In any case, the.sty
isn't the fonts, but just an interface for accessing them, if they are installed correctly. The details depend on the exact error message etc., but you've not said what that is.