Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm in the final stages of writing my Master's Thesis, and am now turning to those typographical issues that have bugged me for some time. The report is set in EB Garamond which I also use for math (using unicode-math to set {l,L}atin, {g,G}reek and num, roman, italic and bold - there is no bold italic, but I can live with that for the time being. Symbols and the like are set using Asana Math), and while I am happy with the overall look of things (manual intervention is needed to space exponents at times, \(Y_0^0\) -> \(Y_0^{\,0}\)), some things could be better.

I managed to fix the problem I had with math accents by using this solution: Bad positioning of math accents for the beamer standard font.

However, I still have problems with choosing CharacterVariant 5 for math italic:

If anyone could help me, I would be most grateful.

EDIT MWE:

\documentclass[a4paper,twoside]{article}
\usepackage{fontspec}
\usepackage{unicode-math}

\setmathfont{Asana Math}

\setmainfont[CharacterVariant={5,11}]{EB Garamond}
\setmathfont[range=\mathup/{greek,Greek,latin,Latin,num},
             CharacterVariant={5,11},Numbers=Lining]{EB Garamond}
\setmathfont[range=\mathit/{greek,Greek,latin,Latin,num},
             CharacterVariant={5,11}]{EB Garamond Italic}
\setmathfont[range=\mathbfup/{greek,Greek,latin,Latin,num}]
             {EB Garamond Bold}

\begin{document}

Italic: \emph{v}. Math mode: \(v\).

\end{document}
share|improve this question
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Joseph Wright Dec 1 '11 at 22:17
I get the same "v". – egreg Dec 2 '11 at 17:02
1  
My bad, I should have mentioned that it does not work in LuaLaTeX (which is what I'm using). It does indeed work in XeLaTeX, which I tried just now. – Stefanos Carlström Dec 2 '11 at 19:20
It's not a solution for LuaLaTeX, but I switched back to XeLaTeX (which is also faster at the moment). I will have to come back to LuaLaTeX later. – Stefanos Carlström Dec 7 '11 at 21:22

closed as too localized by egreg, Torbjørn T., lockstep, Joseph Wright Mar 4 '12 at 17:47

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.