Am Donnerstag, 12. Mai 2005 12:42 schrieb Andrei Popov:
> Hello All.
>
> I'm typestting a book with LyX, which uses 3 different kinds of
> fractions:
>                                 1
> 1. a standard fraction such as  -   (only smaller)
>                                 2
>
> 2. a text-mode fraction which one simpply enters as text like
> this 1/2
>
> 3. and a weird fraction which looks similar to the second one,
> only the numerator and the denominator are roughly the size of
> those in a standard \frac, and are separated by a slash.
>
> I need to type in several dozens of those.
>
> Does anyone know of a way to input this kind of fraction
> without much hassle?
>
> I have attached an ugly image of what I need.
>
> Any help is really appreciated.

I've defined a new command in the preamble:
\newcommand\bruch[2]{\ensuremath{^{\mbox{\scriptsize\bf 
#1}}\hspace{-.2em}/\hspace{-.2em}_{\mbox{\scriptsize\bf #2}}}}

and use it in ERT this way: \bruch14   or   \bruch{1}{4}

-- 
Ulrich Brinkmann
Kottbusser Damm 65
D - 10967 Berlin
Tel +49-30-69 50 98 90

Reply via email to