# Tag Info

15

Here is one reason one (at least I) would try to avoid TeX Gyre Termes Math and the OpenType version of STIX for now: \documentclass{scrartcl} \usepackage{unicode-math} \setmathfont{TeX Gyre Termes Math} \begin{document} $x(t)=\int_{-B}^B X(f)e^{j2\pi ft} df$ \end{document} Termes Math: \setmathfont{TeX Gyre Termes Math} Integral sign too small, ...

9

The affected characters seem to be D, X and Y. It's a bug in the font, as it happens both with LuaTeX and XeLaTeX, but not with other math fonts. \documentclass{article} \usepackage{unicode-math} \setmainfont{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} %\setmathfont{Asana Math} \begin{document} How to centre the dot over the character? $\dot{\... 9 I haven't done with the svmono but I just had to tweak another publisher class to use lualatex and so after a quick look at svmono I would say I would prefer lualatex over xelatex due to the microtype capabilities and better graphic (pgf) support (and it is now faster than last year due to changes in expl3 and in the font loader). I would expect 2-4 hours ... 7 Simply adjust the DisplayOperatorMinHeight font parameter. That also indicates that the font is broken. \documentclass{article} \usepackage{unicode-math} \setmathfont{TeX Gyre Pagella Math} \everydisplay{\Umathoperatorsize\displaystyle=5ex} \begin{document} $\int_\gamma\frac{f(x)}{z-a}$ \end{document} 7 The glyph corresponding to U+2605 is not available in TeX Gyre Termes (text and math). You can use the glyph from another font: \documentclass{article} \usepackage[math-style=ISO]{unicode-math} \setmainfont[Numbers=OldStyle, Ligatures=TeX]{TeX Gyre Termes} \setmathfont[Numbers=Lining]{TeX Gyre Termes Math} \setmathfont[range=\bigstar]{XITS Math} \... 5 Two possible workarounds: load the dcolumn package use polyglossia instead of babel For various reasons, babel-italian started to mess with commas in order to emulate the behavior of icomma. There is apparently no way to disable this without loading dcolumn, that avoids the mess to even start. Also issuing \AtBeginDocument{\NoIntelligentComma} doesn't ... 5 \Uhextensible seems to work: \documentclass{article} \usepackage{unicode-math} \setmathfont{TeX Gyre Pagella Math} \begin{document} $\int _\gamma\frac{f(x)}{z-a}$ $\Uhextensible width 2ex "0 "00222B_\gamma\frac{f(x)}{z-a}$ \end{document} But I have no idea why and which width is sensible. After a bit digging in the context code I found also an (... 4 with xelatex you get but with lualatex you get from \documentclass{article} \usepackage{unicode-math} \setmathfont{TeX Gyre Pagella Math} \setmathfont{TeX Gyre Pagella Math}[range=\int,Scale=2] \begin{document} $\int_\gamma\frac{f(x)}{z-a}$ \end{document} I'm not sure if the difference is in unicode-math or the underlying luatex math rendering, the ... 4 You're doing things more complicated than they should be. The package titlesec shouldn't be used with KOMA-Script classes and sectsty is not to be used along with titlesec (nor with KOMA-Script classes). If you want to change the appearance of the chapter header font, just do \setkomafont{chapter}{<font specifications>} In order that TeX Gyre Heros ... 3 classically ! is mathclose but unicode math sets it as mathpunct which makes two adjacent ones have \thinmuskip between them. You can use {!}{!} to avoid that. Unicode has a !! character which unicode-math makes available as \Exclam but unfortunately it's not in this font, the log shows Missing character: There is no ‼ (U+203C) in font TeXGyreTermesMath:... 3 Care needs to be taken when identifying the source/cause of the difference in output. For sure, \documentclass{standalone} \begin{document}$v_{\mathrm{eff}}$\end{document} can be compiled with both pdfLaTeX and LuaLaTeX. Importantly, it produces identical results with respect of the relative position of the subscript term, irrespective of whether ... 3 I've now solved the problem with adding auto-pst-pdf to the code \documentclass{article} \usepackage{auto-pst-pdf} \usepackage{fontenc,unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont[Ligatures=TeX]{TeX Gyre Pagella Math} \begin{document} Test in Pagella $\sum_{k=1}^n k=\frac{n(n+1)}{2}$ \end{document} And compiling it with ... 3 \newcommand\degree{\text{\textdegree}} provides universal (text/math) \degree. Needs \usepackage{amsmath}. 3 The Greek lowercase letter chosen for TeX Gyre Schola Math are, in my opinion, not matching the main font: they are too thin and, of course, some of them are too tall. You have some strategies available. First, scaling down all the Greek lowercase letters: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont{TeX Gyre ... 2 Eventually I was able to find the reason with the great help of the comments to my question. For those observing similar problems, I post an answer here. The missing \partial comes from reassigning unicode ranges to different fonts. Don't do it unless you know what the side effects are. I didn't and therefore another problem was hidden by this wrong ... 2 The effect is also visible with standard LaTeX and mathpazo. You can “fix” this by enlarging the leading, which is something I learn always to do when the text font is Palatino. \documentclass[a4paper, 12pt]{scrartcl} \usepackage{unicode-math} \setmainfont{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} \setmathfont[range=\sqrt]{Asana Math} % better ... 2 I have downloaded the template for SVMono from the link you provided in the question. Looking through the class file it doesn't look like anything needs special adaption for XeLaTeX. Only the main template file book.tex has to be adjusted. Fonts The following lines load fonts which won't work with Xe/LuaLaTeX. \usepackage{type1cm} \usepackage{newtxtext} ... 1 I'm a fan of the Linux Libertine/Biolinum combination. TeX Gyre Termes is very similar to Linux Libertine, so you may find the Termes/Biolinum combo suits your needs. Or not! Edit: Added MWE. Note that I use LuaLaTeX. I updated the example to show OldStyle and Lining numbers. The numbers for Biolinum are a bit smaller but could be fixed with a scaling ... 1 Note that the TeX Gyre Termes math fonts, which are OpenType, are only available for Xe(La)TeX or Lua(La)TeX (yet?). You have to switch to one of these engines if you want to use them. \documentclass[12pt]{article} \usepackage{unicode-math} \setmainfont{TeX Gyre Termes} \setmathfont{TeX Gyre Termes Math} \begin{document} The$\pi$number. \end{document} 1 You don't need to load tgtermes separately, I don't think, as newtxtext uses those fonts anyway. But you do need to tell newtxmath that you want upright Greek: \documentclass[a4paper,12pt]{article} \usepackage{newtxtext} \usepackage[uprightGreek]{newtxmath} \pagestyle{empty} \begin{document} This is text:$\inty$,$\pi\$. $\int y \pi$ \end{document} ...

1

A package like siunitx gives also access to the universal degree symbol, in math mode as well as in text mode. Note that you have to use XeLaTeX or LuaLaTeX if you want to use the TeX Gyre Pagella math fonts: they are only available in the OpenType format. \documentclass{article} \usepackage{siunitx} \usepackage{unicode-math} \setmainfont{TeX Gyre ...

1

You may enlarge the original star with help of the relsize package. The height is not absolutely identical like this, but the approach is quite easy and you are using the same font for both symbols. % arara: lualatex \documentclass{article} \usepackage{fontspec} \setmainfont[Numbers=OldStyle, Ligatures=TeX]{texgyretermes-regular.otf} \usepackage[math-...

Only top voted, non community-wiki answers of a minimum length are eligible