[OS X TeX] Typesetting equation w/o fractions appearing in smaller fontsize
Franck Pastor
franck.pastor at skynet.be
Fri Apr 17 14:43:01 CEST 2009
Le 17 avr. 09 à 14:06, Michael Kubovy a écrit :
> Dear Friends,
>
> This:
> \listfiles
> \documentclass[]{minimal}
> \usepackage{amsmath}
>
> \begin{document}
>
> \[
> \mathcal{B}_{s}(x) =
> \begin{cases}
> \frac{r \log_{2} \frac{r}{(r + 1)} } {\log_{2} \frac{1}{(r + 1)} } &
> \text{if $x_{i}^{(2)} = y_{i}^{(2)}$;}\\
> \frac{\log_{2} \frac{1}{(r + 1)} } {r \log_{2} \frac{r}{(r + 1)} } &
> \text{if $x_{i}^{(2)} \neq y_{i}^{(2)}$.}
> \end{cases}
> \]
>
> \end{document}
>
>
> appears as
> <eq.tiff>
> How do I make all font sizes the same?
You can use \dfrac (from the amsmath package) instead of \frac.
More information about the macostex-archives
mailing list