Combining the suggestions of David Carlisle and egreg to refer to the Libre Baskerville font without knowing its name here, I ran into a new problem when I increased the font size to 12 points with the \setmainfont
and \setmathsfont
commands. Some font sizes are adjusted and some aren't (shown below). Specifically, italics in the body font are still at 11 points, subscripts and superscripts in math are at 12 points instead of being made smaller, and the roman font in math appears to be 11-point Computer Modern. Also, the line spacing appears to be a little tight. Possible clues: \small
has no effect in body text, and the =
is properly reduced in math subscript.
I figure that I need to specify some of these variant font sizes through various parameters to SizeProperties. But how? Or, can you tell me where to find the appropriate documentation on those parameters? I've found a few pieces, but so far nothing that spells it all out in one place.
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathspec}
\usepackage{librebaskerville}
\setmainfont{LibreBaskerville}[
Extension=.otf,
UprightFont = *-Regular,
ItalicFont = *-Italic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic,
SmallCapsFont = BaskervilleF-Regular.otf,
SmallCapsFeatures={Letters=SmallCaps,Scale=1.2},
SizeFeatures={Size=12}
]
\setmathsfont(Latin,Greek)[Numbers={Proportional},SizeFeatures={Size=12}]{LibreBaskerville-Italic.otf}
\setmathsfont(Digits)[Numbers={Proportional},SizeFeatures={Size=12}]{LibreBaskerville-Regular.otf}
\DeclareMathOperator{\sgn}{sgn}
\begin{document}
We might, indeed, at first suppose that the proposition $7 + 5 = 12$ is a
merely \textit{analytical} proposition, following (according to the principle of
contradiction) from the conception of a sum of {\small seven and five}.
\[
S_j = \sgn \sum\limits_i w_{ij}S_i
\]
\[
w_{ij} = \frac{1}{p}\sum\limits_{m=1}^p x_i^m x_j^m
\]
\end{document}
\it
is depreciated for quite some time: texfaq.org/FAQ-2letterfontcmd\documentclass[12pt]{article}
.\it
with\textit
in the question. Next I'll update the dissertation. :)[11pt]
makes 10.95pt,[13pt]
would make an unused option warning, and 10pt fonts.[12pt]
would make 12pt.