I'm making slides using beamer
with Fira as the main font, and I want to use Fira Math to match it. However, I've found that Fira Math does not seem to have scalable forward slash delimiters, which I would like to use. Here's a MWE; it doesn't use beamer
because the problem can be illustrated just by using Fira Math.
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Fira Math}
\begin{document}
$\left/\begin{tabular}{l}a\\b\end{tabular}\right/$
\end{document}
This produces the following:
If I comment out the \setmathfont{Fira Math}
line, I get what I want for the slashes, but of course it doesn't use the Fira Math font otherwise (not shown here):
Is there a way I can tell unicode-math
to "borrow" these forward slash delimiters from another font that includes them, while using Fira Math for everything else? I know it's possible to do something like \setmathfont{...}[range={...}]
, where range=
specifies which characters to pull from a particular font, but I'm not sure what to put for the scalable forward slash delimiters. I tried \setmathfont{Latin Modern Math}[range={\left/,\right/}]
, but that gives me a Missing number
error.