I am handling a text which is natively written in a proprietary LaTeX documentclass which implements Dante Monotype fontface. In this text there is a lot of maths and I would say that it works, overall, even if I would not advise in particular Dante font for maths applications.
Even exponents ($e^{x^2}$
) are, say, well proportioned to my eye while what I do not like at all are fractions. As in the following picture:
the fraction circled in red, as well as the following ones, has numerator and denominator that are very far from the fraction bar.
How can I improve this in particular? Any package related to fractions may work currently with this font? Any command similar to \dfrac
or \tfrac
may help decreasing (rather than increasing) the total height of the fractions?
No further solutions come to my mind to fix such "length".
Addendum:
I have MikTeX 2.9 on Windows 7 OS. The editors I use are TeXstudio and TeXnicCenter and I compile with pdfLaTeX. The behaviour of the fractions is the same when using TeXshop on Mac OS. Thank you.
The code for the picture above is:
$$y_0(t)=1$$
$$y_1(t)=1+\int^t_0 \mt\,\md\mt=1+\frac{t^2}{2}$$
$$y_2(t)=1+\int^t_0 \mt\left(1+\frac{\mt^2}{2}\right)\md\mt=1+\frac{t^2}{2}+\frac{t^4}{8}$$
\vspace{1pt}
$$\vdots$$
\vspace{1pt}
$$y_n(t)=1+\int^t_0 \mt\,y_{n-1}(\mt)\,\md\mt=1+\frac{t^2}{2}+\frac{1}{2!}\left(\frac{t^2}{2}\right)^2+\ldots+\frac{1}{n!}\left(\frac{t^2}{2}\right)^n$$
where \md
and \mt
were defined in my preamble. Thank you.
Addendum (2):
I appreciated both the answers posted so far and I tried to define a newcommand
as in lines 2 to 15 of the code by Steven B. (I preferred this approach because I never put my hands on LuaLaTeX before and this was meant to be "just fine tuning"). Furthermore I tried all of the following three:
\renewcommand{\frac}[2]{\displaystyle{\frac{\lower2pt\hbox{#1}}{\raise2pt\hbox{#2}}}}
and:
\renewcommand{\frac}[2]{\dfrac{\lower2pt\hbox{#1}}{\raise2pt\hbox{#2}}}
or:
\newcommand\newfrac[2]{\frac{\lower2pt\hbox{#1}}{\raise2pt\hbox{#2}}}
but all of these four candidate solutions generated several errors in my system (class). Do these three lines of me suggest something useful?
I'll post updates.
d
andt
indt
, for example, come form different fonts or is that an artefact of the image?