Math.lyx: update documentation for \cfrac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-04-16 22:07:33 +00:00
parent cecaf35ab7
commit 898eaa415c
4 changed files with 507 additions and 239 deletions

View File

@ -2063,29 +2063,62 @@ The command for the example above is:
\series bold
\backslash
cfrac{A
\begin_inset Formula $\to$
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
{B+
\backslash
cfrac{C+
\backslash
cfrac{E
\begin_inset Formula $\to$
A
\begin_inset Formula $\downarrow$
\end_inset
B+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{F
\begin_inset Formula $\to\to$
spce
\end_layout
\end_inset
C+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{D
spce
\end_layout
\end_inset
E
\begin_inset Formula $\downarrow$
\end_inset
F
\begin_inset Formula $\downarrow$
\end_inset
D
\end_layout
\begin_layout Standard
@ -2104,54 +2137,34 @@ cfrac
\series default
sets the fraction always in the size of a displayed formula, also when
it is part of another fraction.
\end_layout
\begin_layout Standard
It is possible to specify the alignment of the numerator.
The command
\series bold
\backslash
cfracleft
\series default
is used to left align it, the command
\series bold
\backslash
cfracright
\series default
to right-align it.
\series bold
\backslash
cfrac
\series default
has the following command scheme:
\end_layout
\begin_layout Standard
\series bold
\backslash
cfrac[numerator position]{numerator}{denominator}
\end_layout
\begin_layout Standard
The numerator position can be
\emph on
l
\emph default
,
\emph on
c
\emph default
, or
\emph on
r
\emph default
.
l or r aligns the numerator to the left or right, resp.
\begin_inset space ~
\end_inset
with the fraction stroke.
When
\emph on
c
\emph default
or no position is given, the numerator appears centered.
centers the numerator.
These fractions demonstrate the different alignments:
\begin_inset Newline newline
\end_inset
\series bold
\end_layout
\begin_layout Standard
\begin_inset Formula $\cfrac[l]{A}{B+C}$
\end_inset
@ -2164,6 +2177,42 @@ c
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
\series bold
\backslash
cfracleft
\series default
and
\series bold
\backslash
cfracright
\series default
are no real LaTeX commands but represent the command
\series bold
\backslash
cfrac[alignment]{numerator}{denominator}
\series default
.
Therefore you cannot use them in TeX code.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -2248,10 +2297,18 @@ unitfracthree
\end_inset
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Note:
\series default
Note that
\series bold
\backslash
@ -2267,7 +2324,13 @@ unitfracthree
\backslash
unitfrac[number]{numerator}{denominator}
\series default
, therefore you cannot use it in TeX code.
.
Therefore you cannot use it in TeX code.
\end_layout
\end_inset
\end_layout
\begin_layout Standard

View File

@ -2029,29 +2029,62 @@ Der Befehl für obiges Beispiel lautet:
\series bold
\backslash
cfrac{A
\begin_inset Formula $\to$
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leer
\end_layout
\end_inset
\backslash
{B+
\backslash
cfrac{C+
\backslash
cfrac{E
\begin_inset Formula $\to$
A
\begin_inset Formula $\downarrow$
\end_inset
B+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{F
\begin_inset Formula $\to\to$
leer
\end_layout
\end_inset
C+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{D
leer
\end_layout
\end_inset
E
\begin_inset Formula $\downarrow$
\end_inset
F
\begin_inset Formula $\downarrow$
\end_inset
D
\end_layout
\begin_layout Standard
@ -2070,62 +2103,36 @@ cfrac
\series default
bewirkt, dass der Bruch immer in der Größe einer abgesetzten Formel erscheint,
auch wenn er selbst Teil eines Bruches ist.
\end_layout
\begin_layout Standard
Es ist möglich die Ausrichtung des Zählers einzustellen.
Der Befehl
\series bold
\backslash
cfracleft
\series default
richtet ihn links, der Befehl
\series bold
\backslash
cfracright
\series default
rechts aus.
\series bold
\backslash
cfrac
\series default
besitzt folgendes Befehlsschema:
\end_layout
\begin_layout Standard
\series bold
\backslash
cfrac[Zählerposition]{Zähler}{Nenner}
\end_layout
\begin_layout Standard
Zählerposition kann
\emph on
l
\emph default
,
\emph on
c
\emph default
oder
\emph on
r
\emph default
sein.
Bei
\emph on
l
\emph default
oder
\emph on
r
\emph default
wird der Zähler links- bzw.
\begin_inset space ~
\end_inset
rechtsbündig am Bruchstrich ausgerichtet.
Wird
\emph on
c
\emph default
oder keine Position angegeben, erscheint der Zähler wie gewohnt mittig.
zentriert den Zähler.
Diese Brüche demonstrieren die verschiedenen Ausrichtungen:
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Standard
\series bold
\begin_inset Formula $\cfrac[l]{A}{B+C}$
\end_inset
@ -2138,6 +2145,42 @@ c
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Achtung:
\series default
\series bold
\backslash
cfracleft
\series default
und
\series bold
\backslash
cfracright
\series default
sind keine echten LaTeX-Befehle, sondern stellen den Befehl
\series bold
\backslash
cfrac[Ausrichtung]{Zähler}{Nenner}
\series default
dar.
Daher kann man sie nicht im TeX-Code benutzen.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -2222,16 +2265,24 @@ unitfracthree
\end_inset
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Achtung:
\series default
Zu beachten ist, dass
\series bold
\backslash
unitfracthree
\series default
kein echter LaTeX-Befehl, sondern der Befehl
ist kein echter LaTeX-Befehl, sondern der Befehl
\begin_inset Newline newline
\end_inset
@ -2241,7 +2292,13 @@ unitfracthree
\backslash
unitfrac[Zahl]{Zähler}{Nenner}
\series default
ist, daher kann man ihn nicht im TeX-Code benutzen.
.
Daher kann man ihn nicht im TeX-Code benutzen.
\end_layout
\end_inset
\end_layout
\begin_layout Standard

View File

@ -2026,29 +2026,62 @@ El comando para el ejemplo de arriba es:
\series bold
\backslash
cfrac{A
\begin_inset Formula $\to$
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
{B+
\backslash
cfrac{C+
\backslash
cfrac{E
\begin_inset Formula $\to$
A
\begin_inset Formula $\downarrow$
\end_inset
B+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{F
\begin_inset Formula $\to\to$
spce
\end_layout
\end_inset
C+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{D
spce
\end_layout
\end_inset
E
\begin_inset Formula $\downarrow$
\end_inset
F
\begin_inset Formula $\downarrow$
\end_inset
D
\end_layout
\begin_layout Standard
@ -2067,58 +2100,38 @@ cfrac
\series default
compone la fracción siempre en el tamaño del estilo presentación, también
cuando es parte de otra fracción.
\end_layout
\begin_layout Standard
\lang english
It is possible to specify the alignment of the numerator.
The command
\series bold
\backslash
cfracleft
\series default
is used to left align it, the command
\series bold
\backslash
cfracright
\series default
to right-align it.
\series bold
\backslash
cfrac
\series default
tiene el siguiente esquema de comando:
\end_layout
centers the numerator.
\begin_layout Standard
\series bold
\backslash
cfrac[posición del numerador]{numerador}{denominador}
\end_layout
\begin_layout Standard
La posición del numerador puede ser
\emph on
l
\emph default
,
\emph on
c
\emph default
o
\emph on
r
\emph default
.
\emph on
l
\emph default
o
\emph on
r
\emph default
alinean el numerador a la izquierda o a la derecha, respectivamente, de
la raya de fracción.
Si se pone
\emph on
c
\emph default
o no se especifica posición, el numerador aparece centrado.
\lang spanish
Estas fracciones muestran las distintas alineaciones:
\end_layout
\begin_layout Standard
\noindent
\align center
\begin_inset Formula $\cfrac[l]{A}{B+C}$
\end_inset
@ -2131,6 +2144,51 @@ c
\end_inset
\end_layout
\begin_layout Standard
\noindent
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Nota
\series default
:
\series bold
\backslash
cfracleft
\series default
y
\series bold
\backslash
cfracright
\series default
\lang english
are no real LaTeX commands but represent the command
\lang spanish
\series bold
\backslash
cfrac[posición del numerador]{numerador}{denominador}
\series default
.
\lang english
Therefore you cannot use them
\lang spanish
en código TeX.
\end_layout
\end_inset
\begin_inset VSpace medskip
\end_inset
@ -2194,10 +2252,18 @@ unitfracthree
\end_inset
\begin_inset Newline newline
\end_inset
\end_layout
Ten en cuenta que
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Nota
\series default
:
\series bold
\backslash
@ -2213,7 +2279,13 @@ unitfracthree
\backslash
unitfrac[número]{numerador}{denominador}
\series default
, por tanto no puedes usarlo en código TeX.
.
Por tanto no puedes usarlo en código TeX.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -6205,7 +6277,7 @@ rfloor
\begin_layout Standard
\begin_inset Note Greyedout
status collapsed
status open
\begin_layout Plain Layout

View File

@ -1964,30 +1964,65 @@ La commande pour l'exemple précédent est:
\begin_layout Standard
\series bold
\backslash
cfrac{A
\begin_inset Formula $\to$
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
spce
\end_layout
\end_inset
\backslash
{B+
\backslash
cfrac{C+
\backslash
cfrac{E
\begin_inset Formula $\to$
A
\begin_inset Formula $\downarrow$
\end_inset
B+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{F
\begin_inset Formula $\to\to$
spce
\end_layout
\end_inset
C+
\backslash
cfrac
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
{D
spce
\end_layout
\end_inset
E
\begin_inset Formula $\downarrow$
\end_inset
F
\begin_inset Formula $\downarrow$
\end_inset
D
\end_layout
\begin_layout Standard
@ -2006,51 +2041,40 @@ cfrac
\series default
met toujours la fraction dans la taille d'une formule hors ligne, même
si elle est une partie d'une autre fraction.
La commande
\end_layout
\begin_layout Standard
\lang english
It is possible to specify the alignment of the numerator.
The command
\series bold
\backslash
cfracleft
\series default
is used to left align it, the command
\series bold
\backslash
cfracright
\series default
to right-align it.
\series bold
\backslash
cfrac
\series default
a la syntaxe suivante:
\end_layout
centers the numerator.
\begin_layout Standard
\series bold
\backslash
cfrac[position du numérateur]{numérateur}{dénominateur}
\end_layout
\begin_layout Standard
La position du numérateur peut être
\emph on
l
\emph default
,
\emph on
c
\emph default
, ou
\emph on
r
\emph default
.
l ou r aligne le numérateur respectivement à gauche ou à droite par rapport
à la barre de fraction.
Quand on met
\emph on
c
\emph default
ou rien, le numérateur apparaît centré.
\lang french
Les fractions qui suivent illustrent les différents alignements:
\begin_inset Newline newline
\end_inset
\end_layout
\begin_layout Standard
\series bold
\begin_inset Formula $\cfrac[l]{A}{B+C}$
\end_inset
@ -2063,6 +2087,44 @@ ou rien, le numérateur apparaît centré.
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Notez:
\series default
\series bold
\backslash
cfracleft
\series default
et
\series bold
cfracright
\series default
ne sont pas des commandes LaTeX réelle, mais représentent la commande
\series bold
\backslash
cfrac[alignement]{numérateur}{dénominateur}
\series default
.
\series bold
\series default
Vous ne pouvez donc pas les utiliser en code TeX.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -2144,30 +2206,44 @@ unitfrac
unitfracthree
\series default
qui permet d'écrire une fraction en combinaison avec un nombre:
\begin_inset Newline newline
\begin_inset Formula $\unitfrac[2]{1}{3}$
\end_inset
Notez que
\end_layout
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
Notez:
\series default
\series bold
\backslash
unitfracthree
\series default
n'est pas une commande LaTeX réelle, mais c'est la commande
\begin_inset Newline newline
\end_inset
\series bold
\backslash
unitfrac[nombre]{numérateur}{dénominateur}
\series default
,
.
\series bold
\series default
vous ne pouvez donc pas l'utiliser en code TeX.
Vous ne pouvez donc pas l'utiliser en code TeX.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
@ -6137,7 +6213,7 @@ status open
\begin_layout Plain Layout
\series bold
Note:
Notez:
\series default
En mode TeX, on doit utiliser la commande
\series bold