Quickies

[categories] [index] [all (531)] [latest]

LaTeX
  1. (en mode mathématique)

    % http://www.ctan.org/tex-archive/macros/eplain/
    \def\fract#1/#2{\leavevmode
       \kern.1em \raise .5ex \hbox{\the\scriptfont0 #1}%
       \kern-.1em $/$%
       \kern-.15em \lower .25ex \hbox{\the\scriptfont0 #2}%
    }% 
    

    ...

    9\frac{1}{2}
    

    ...

    9\fract 1/2