I am trying to change the default font size in my document. I am using the fontspec
package in XeLaTeX. This seems achievable using \defaultfontfeatures{Scale=2.5}
, but this only takes effect after I add a \setmainfont{...}
command. The problem is that I do not want to change the main font. How do I get the font to scale without explicitly selecting a font? The funny thing is that the math mode part of my document shows up as scaled even though the regular text doesn't. I'm assuming the unicode-math
package must be selecting a font after this, but it's not explicit. Any advice on this would be VERY appreciated.
\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\defaultfontfeatures{Scale=2.5}
\linespread{3}
%\setmainfont{...} %%Putting the name of a font in this command makes it do what I want, but I don't want to specify a font.
\begin{document}
A physical dipole has a separation $\symbf{d}$ between two charges $\pm q$ and a dipole moment $\symbf{p}$:
$$\symbf{p}\equiv q\symbf{d}$$
\end{document}
Best Answer
\renewcommand{\normalsize}{\fontsize{42}{46}\selectfont}
in the preamble yields:Which hopefully is what you're looking for