Comments (7)
Where is the sense of defining mathversion=sans? Fira is by default sans serif.
\documentclass{article}
\usepackage{unicode-math}
\setsansfont{Fira Sans}
\renewcommand\familydefault{\sfdefault}
\setmathfont{Fira Math}
\begin{document}
inline math: $\sqrt{a}$ $\sqrt{\frac{a}{b}}$.
display math:
\begin{displaymath}
\sqrt{a}\sqrt{\frac{a}{b}}
\end{displaymath}
\end{document}
from firamath.
Where is the sense of defining mathversion=sans? Fira is by default sans serif.
\documentclass{article} \usepackage{unicode-math} \setsansfont{Fira Sans} \renewcommand\familydefault{\sfdefault} \setmathfont{Fira Math} \begin{document} inline math: $\sqrt{a}$ $\sqrt{\frac{a}{b}}$. display math: \begin{displaymath} \sqrt{a}\sqrt{\frac{a}{b}} \end{displaymath} \end{document}
I don't know what OP's reasons are here for mathversion=sans
, but I can imagine where two or more math fonts are used in a document. For example, serif math for normal text and sans serif in titles and section headers, or in figures.
from firamath.
Yes, mathversion=sans
is a reminiscence of a larger file where I defined other math fonts in version 'sansbold' and 'bold'.
But again, following Herbert's suggestion and removing the definition of mathversion
, the problem still exists.
For clearness: I do not use the font FiraMath-Regular.otf
from Tex Live or the official GitHub source, but use the fonts built from source. Unfortunately, these built fonts show the behavior, and I do not understand the source so well to solve the problem on my own in changing the source code...
from firamath.
can you provide your math font file for download?
from firamath.
This is the file I get after following the building rules (without the patch
):
FiraMath-Regular.zip
from firamath.
For the symbols at the end of the file it looks completely different to the current FiraMath-Regular.otf from TL2023
It looks like a problem with the tools, but I am not sure.
from firamath.
I downloaded the source and created the fonts. Only FiraMath-Ultra.otf has no problem with the square root
from firamath.
Related Issues (20)
- List of supported glyphs? HOT 1
- Can't build on `glyphs3` branch HOT 1
- How to get firamath used with \boldsymbol and/or \bm HOT 3
- Other weights of Fira Math(like Light or Bold) are lack of some characters HOT 1
- Add support for \mathcal and \mathscr fonts? HOT 1
- Could not build wheels for openstep-plist which use PEP 517 and cannot be installed directly HOT 2
- Fix combining lines
- The thin/regular/medium/bold/extrabold etc. are marked as thin HOT 6
- Incorrect integrals on the master version. HOT 4
- All build artifacts are expired HOT 4
- Sync with glyphsLib v6.0.0
- encoding of phi and varphi HOT 1
- U+2218 Ring operator (\circ) is very small HOT 1
- Document use with LibreOffice Math
- \wideoverbar not working fine
- 'Build from source' instructions not working HOT 1
- \overrightarrow as same as \vec, and can not adjust length.
- \vdots and \ddots are missing HOT 1
- \setminus glyph missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firamath.