Comments (4)
Thanks for the comments. I think it would be good if unicode-math could provide a setting for this feature, so re-opening the issue to track it.
from unicode-math.
This is a luatex-engine feature rather than unicode-math, luatex only adds the final italic correction in certain modes. Unfortunately different fonts require different settings
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\mathitalicsmode=0
\(\symbfit{F}\):
\mathitalicsmode=1
\(\symbfit{F}\):
\mathitalicsmode=2
\(\symbfit{F}\):
\mathitalicsmode=3
\(\symbfit{F}\):
\end{document}
from unicode-math.
Thanks for the quick response. It is very helpful that you pointed out the parameter \mathitalicsmode
, which I did't know as a new luatex user. Now that I have played around a bit with this parameter, I found it difficult to get some universally good result, even with the default latin modern font. I guess this is the same situation as in https://tex.stackexchange.com/questions/697498/luatex-unicode-math-and-italic-correction?newreg=3a41de22bad0468193ef5b1051d9346f.
Since this is less of a unicode-math
issue as you mentioned, I am going to close it and hopefully italic correction will become more robust with luatex and opentype fonts.
from unicode-math.
Thanks. Previously I was going to file another issue, but now I think that may also be relevant here. For the record, let me just add to this issue.
This one is about \widehat
, the default result is very weird that smaller size letter gets a larger hat and vice versa. But after adjusting \mathitalicsmode
, I got perfect result. Here is a MWE:
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\(\widehat{S}_{\widehat{S}}\)
\end{document}
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\mathitalicsmode=2
\(\widehat{S}_{\widehat{S}}\)
\end{document}
There are many questions about \widehat
and \widetilde
on stackexchange, but I am not sure I have found a satisfactory answer. If this should belong to a new issue, I can definitely open one.
from unicode-math.
Related Issues (20)
- [Feature request] Option to choose if SCRIPT unicode input must be rendered with scr of cal
- `\symliteral` not resulting in correct output of literal input HOT 1
- [Feature Request] Support for Combining Unicode Charactor HOT 2
- `a` and `\symnormal{a}` make differrent result
- \setmathfontface\mathit has no effect in preamble HOT 9
- Comparison with Unicode TR25 data HOT 10
- How to use regular sans-serif italic/upright greek letter in math mode? HOT 5
- \setmathfontface does not respects Style key in lulatex HOT 2
- lualatex and mathsf italic and overline: not centered HOT 1
- Undocumented use of the `BoldFont` option? HOT 4
- Brackets of matrix too short HOT 1
- Font selection of minus sign only working with `range = { \minus, "2212 }`, but not with `range = { "2212 }` or with `range = { \minus }`
- Character selection in scriptsize HOT 1
- There are no simple alphabet commands
- Missing character: There is no 𝜋 (U+1D70B) in font [lmroman10-regular] HOT 2
- XeLaTeX, set mono font after loading unicode-math and modify \parfillskip leads to big whitespace in \texttt HOT 2
- Doc bug: package is experimental or not?
- In TeX Live 2024, why does \substack insert a vertical gap between the lines when STIXMath-Regular is loaded?
- For lualatex, if the main math font is TeX Gyre Termes Math, simplify and document getting new characters from STIX Math or STIX Two Math without causing unrelated issues.
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 unicode-math.