Tag Info

New answers tagged

6

You can use \renewcommand*\div{\mathbin{\mskip1mu\nonscript\mskip-1mu% ∕% \mskip1mu\nonscript\mskip-1mu}} or some value other than 1mu the skip is always added but in non-script (ie text and display) styles add the negative amount to cancel it out.


3

\documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{XITS Math} \setmathfont[math-style=literal,range={"00F0-"03D6}]{XITS Math} \begin{document} This will work: $\upmu\upalpha x$ $\mitAlpha$ But this will work: $\mathrm{\mu}$ $\mathit{\Alpha}$ \end{document}


6

How greek letter are typeset depends on the option math-style. With e.g. french both \upmu and \mu will be upright, with ISO both are italic. (I do find this confusing too, that \upXXX ends up italic ...). If you want to force upright mode for a single instance use a markup command like \mathup. \documentclass{article} \usepackage{amsmath} ...


2

\dfrac is defined in amsmath but never use \\ to force line breaks: \documentclass{article} \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} The quadratic formula is \[ x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a} \] \end{document}


6

Well, Private Use Areas are part of Unicode, they just have no predefined meaning. So you can use them like any other character, e.g. by simply typing it (if you have an appropriate input method) or using the character code either as \char"F3A0F or ^^^^^f3a0f. If I run your example here, I get a PDF with the symbol both with LuaTeX and XeTeX.


0

It seems that the standard choice among publishers for a Times compatible math font is Math Time Professional 2: http://www.pctex.com/mtpro2.html. You have to pay for the full version but a free "lite" version is also available (and will be sufficient for most documents.)


10

I'm not sure what's supposed to be best. The following methods work well, though. For the Times (New) Roman text font, you could choose (via \setmainfont) Times New Roman XITS TeX Gyre Termes For a Times (New) Roman-like math font, first load the unicode-math package and then load (via \setmathfont) XITS Math TeX Gyre Termes Math. Alternatively, ...


4

In OpenType math fonts, the optically scaled glyphs for script and script script sizes are included in the same font file (usually ununcoded) and are mapped using ssty feature, which unicode-math enables as appropriate.



Top 50 recent answers are included