Skip to main content
fixed a hyperlink
Source Link
Mico
  • 514.6k
  • 54
  • 706
  • 1.3k

I've tried to get the math scaling right in a number of different ways, but have failed. What is the proper syntax here?  The posting enter link description hereunicode math font smaller than the text seems relevant, but that didn't work.

% !TeX program = lualatex
\documentclass{article}


\usepackage[no-math]{fontspec}
\usepackage{unicode-math}
\usepackage{lipsum}

\setmainfont{Baskervaldx-Reg}[Scale=0.2]
\setmathfont{Baskervaldx-Reg}[Scale=0.2]

\begin{document}
\lipsum 

$x=y$ 

\lipsum
\end{document}

enter image description here

I've tried to get the math scaling right in a number of different ways, but have failed. What is the proper syntax here?  enter link description here seems relevant, but that didn't work.

% !TeX program = lualatex
\documentclass{article}


\usepackage[no-math]{fontspec}
\usepackage{unicode-math}
\usepackage{lipsum}

\setmainfont{Baskervaldx-Reg}[Scale=0.2]
\setmathfont{Baskervaldx-Reg}[Scale=0.2]

\begin{document}
\lipsum 

$x=y$ 

\lipsum
\end{document}

enter image description here

I've tried to get the math scaling right in a number of different ways, but have failed. What is the proper syntax here? The posting unicode math font smaller than the text seems relevant, but that didn't work.

% !TeX program = lualatex
\documentclass{article}


\usepackage[no-math]{fontspec}
\usepackage{unicode-math}
\usepackage{lipsum}

\setmainfont{Baskervaldx-Reg}[Scale=0.2]
\setmathfont{Baskervaldx-Reg}[Scale=0.2]

\begin{document}
\lipsum 

$x=y$ 

\lipsum
\end{document}

enter image description here

Source Link
JPi
  • 13.7k
  • 4
  • 34
  • 73

How to get math scaling right with fontspec/unicode-math

I've tried to get the math scaling right in a number of different ways, but have failed. What is the proper syntax here? enter link description here seems relevant, but that didn't work.

% !TeX program = lualatex
\documentclass{article}


\usepackage[no-math]{fontspec}
\usepackage{unicode-math}
\usepackage{lipsum}

\setmainfont{Baskervaldx-Reg}[Scale=0.2]
\setmathfont{Baskervaldx-Reg}[Scale=0.2]

\begin{document}
\lipsum 

$x=y$ 

\lipsum
\end{document}

enter image description here