All,
How can I extend the main fraction bar in the following expression,
making it a tad longer?
\placeformula
\startformula
\dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}.
\stopformula
___
ntg-context mailing list
ntg-context@ntg.nl
All,
Came across this again.
\placeformula[-]
\startformula
[9,\infty)=\{x:\,x\ge 9\}
\stopformula
Got it to compile with:
\placeformula[-]
\startformula\relax
[9,\infty)=\{x:\,x\ge 9\}
\stopformula
Yuk!
___
ntg-context mailing list
ntg-context
All,
I updated to Gerben's latest context and now files that formally
compiled will not.
Here's one error:
The code:
Let's look at another example.
\startexample[exam:relT]
Consider the relation $T$ defined by
\placeformula[eq:rel2]
\startformula
T=\big\{(1,2), (3,2), (4,5)\big
Hans van der Meer wrote:
Something strange occurs in math, doing:
\placeformula\startformula
H(K|M,C) = H(K|C) - H(M|C)\eqno{\hbox{(\in{}[eq:keyapp])}}
\stopformula
Please use:
\placeformula[-]\startformula
produces the following error
On May 29, 2006, at 9:01, Taco Hoekwater wrote:
Hans van der Meer wrote:
Something strange occurs in math, doing:
\placeformula\startformula
H(K|M,C) = H(K|C) - H(M|C)\eqno{\hbox{(\in{}[eq:keyapp])}}
\stopformula
Please use:
\placeformula[-]\startformula
produces
Hans van der Meer wrote:
On May 29, 2006, at 9:01, Taco Hoekwater wrote:
Hans van der Meer wrote:
Something strange occurs in math, doing:
\placeformula\startformula
H(K|M,C) = H(K|C) - H(M|C)\eqno{\hbox{(\in{}[eq:keyapp])}}
\stopformula
Please use
Something strange occurs in math, doing:
\placeformula\startformula
H(K|M,C) = H(K|C) - H(M|C)\eqno{\hbox{(\in{}[eq:keyapp])}}
\stopformula
produces the following error:
! You can't use `\eqno' in math mode.
argument \normalreqno
with \setupformulas[align=??]
\placeformula \startformula \startalign
\dorecurse{50}
{ \NC a \EQ b \NR[+] }
\stopalign \stopformula
Thanks,
Aditya
--
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
nico wrote:
On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:
nico wrote:
Hello,
Is it possible to display a list of the numbered formulas (done with
\placeformula)? I tried \placelist[formula] without success.
you want to see the formulas too
nico wrote:
On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:
nico wrote:
Hello,
Is it possible to display a list of the numbered formulas (done with
\placeformula)? I tried \placelist[formula] without success.
you want to see the formulas too
Hello,
Is it possible to display a list of the numbered formulas (done with
\placeformula)? I tried \placelist[formula] without success.
Regards,
BG
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
nico wrote:
Hello,
Is it possible to display a list of the numbered formulas (done with
\placeformula)? I tried \placelist[formula] without success.
you want to see the formulas too?
\defineblock[formula]
\starttext
\beginformula
\placeformula
\startformula
a = 1
\stopformula
On Tue, 09 May 2006 23:38:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote:
nico wrote:
Hello,
Is it possible to display a list of the numbered formulas (done with
\placeformula)? I tried \placelist[formula] without success.
you want to see the formulas too?
Well, no, i just wanted a list
Pagebreak of formula across pagebreaks is broken in the new release
(ConTeXt ver: 2006.04.27 15:59).
Consider
\starttext
\placeformula \startformula \startalign
\dorecurse{50}
{\NC a \NC = b \NR[+]}
\stopalign \stopformula
\stoptext
(This used to work earlier, I can not test this, but I
On 4/28/06, Aditya Mahajan wrote:
Pagebreak of formula across pagebreaks is broken in the new release
(ConTeXt ver: 2006.04.27 15:59).
Consider
\starttext
\placeformula \startformula \startalign
\dorecurse{50}
{\NC a \NC = b \NR[+]}
\stopalign \stopformula
\stoptext
(This used
in context mode.
3. In context mode, typing the second $ will gobble up preceding
whitespace and then insert
\placeformula\startformula
place insertion point here
\stopformula
The whitespace-deletion code in start-context-math is a bit pathetic and
any improvements are welcome. I couldn't
and then insert
\placeformula\startformula
place insertion point here
\stopformula
The whitespace-deletion code in start-context-math is a bit pathetic and
any improvements are welcome. I couldn't get re-search-backward to work
for me because it wouldn't match greedily (so it would gobble up one
at the
context source, which is much easier to read than latex internals, and
then copy from there, play around a bit, and sometimes things
work.
Another test to check that the formula numbers work as expected
\placeformula[kem-chapter-eqn11]
\startformula
\cases{
\eqalign{
\widehat{\vec{x
bib module
* \usemodule[...p=...][modulename] % from Thomas and me
Bugs:
* The broken eq reference (at least IMO this is a bug)
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign \stopformula
See \in[eqn1]
\stoptext
* Duncan's xtag-mml patch (on this dev
--- On Mar 30, Taco Hoekwater wrote ---
* The broken eq reference (at least IMO this is a bug)
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign \stopformula
See \in[eqn1]
\stoptext
I am not sure that this is a bug. Infact, I am not behaviour
Aditya Mahajan wrote:
--- On Mar 30, Taco Hoekwater wrote ---
* The broken eq reference (at least IMO this is a bug)
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign \stopformula
See \in[eqn1]
\stoptext
I am not sure that this is a bug. Infact, I am
On Thu, 30 Mar 2006, Taco Hoekwater wrote:
Aditya Mahajan wrote:
--- On Mar 30, Taco Hoekwater wrote ---
* The broken eq reference (at least IMO this is a bug)
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign \stopformula
See \in[eqn1]
\stoptext
I am
Aditya Mahajan wrote:
On Thu, 30 Mar 2006, Taco Hoekwater wrote:
Aditya Mahajan wrote:
--- On Mar 30, Taco Hoekwater wrote ---
* The broken eq reference (at least IMO this is a bug)
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign
\stopformula}
\stopformulas
\section{Equation Numbering and referring}
To number multiline displays, two things need to be done. Write
\tex{placeformula} before \tex{startformula} to {\em start up} equation
numbering. To actually number the equations, you need to type \type{[+]} with
each
deeltje op ieder tijdstip worden berekend met de
vergelijkingen
\placeformula[eqn1]
\startformula
\startalign[n=3]
\vec{v} = \done{\vec{r}}{t}\quad \quad \vec{r} - \vec{r}_{0} = \int_{t_{0}}^{t} \vec{v} \: dt \\
\stopalign
\stopformula
\placeformula[eqn2]
\startformula
\startalign[n=3]
\vec
WN wrote:
Hi,
I think I am using the latest context version
I cannot see any difference in the setup. I must be doing something
basically wrong ???
There is a bug, and it is caused by the embedded \startalign
environment. Minimal file:
\starttext
\placeformula[eqn1
:
\starttext
\placeformula[eqn1]
\startformula \startalign[n=1] a\\ \stopalign \stopformula
See \in[eqn1]
\stoptext
To WN, quick workaround, use \NR construct rather than \\.
\starttext
\placeformula
\startformula \startalign[n=1]
a \NR[eqn1]
\stopalign \stopformula
\stoptext
From what
Hi,
I am getting unknown references when I use
\startformula
\startalign[n=3]
Some math ..
\stopalign
\stopformula
in conjunction with
\placeformula[eqn1]
\startformula
math ..
\stopformula
See \in[eqn1] --- unknown reference
It has something to do
On Tue, 21 Mar 2006, WN wrote:
Hi,
I am getting unknown references when I use
\startformula
\startalign[n=3]
Some math ..
\stopalign
\stopformula
in conjunction with
\placeformula[eqn1]
\startformula
math ..
\stopformula
See \in[eqn1] --- unknown reference
. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
\indent By induction, we can argue that that the associative and
commutative properties will allows us to group and arrange the
product of more than three numbers in any order that we please.
\stoptext
OK,
But this gives the same result. No indent.
%output=pdf
\setupwhitespace[medium]
\setupindenting[medium,yes]
\starttext
Again, we choose to multiply the fours, then the result by the square
root of three. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
David Arnold wrote:
OK,
But this gives the same result. No indent.
[ok]
How can I get that paragraph after the placeformula to indent?
\setupindenting[medium,yes]
\setupformulas[indentnext=yes]
%\setupfloats[indentnext=yes] % maybe desired as well?
I just discovered that only
root of three. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
\indent By induction, we can argue that that the associative and
commutative properties will allows us to group and arrange the
product of more than three numbers in any order that we please
like this ...
\setupwhitespace[medium]
\setupindenting[medium,yes]
\starttext
Again, we choose to multiply the fours, then the result by the square
root of three. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
By induction, we can argue
by the square
root of three. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
By induction, we can argue that that the associative and commutative
properties will allows us to group and arrange the product of more
than three numbers in any order that we
in a while, how do I indent a paragraph after a formula.
Not sure if this is the best way, but \indentation at the beginning of
the paragraph will force the indent. Using your example:
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3.
\stopformula
\indentation By induction, we can argue
o override the default behavior "on occasion." That is, every "rare once in a while," how do I indent a paragraph after a formula. Not sure if this is the best way, but \indentation at the beginning of the paragraph will force the indent. Using your example: \placeformula[
paragraphs to be indented with that \NewPar.
adam
On Feb 20, 2006, at 10:13 AM, Taco Hoekwater wrote:
David Arnold wrote:
OK,
But this gives the same result. No indent.
[ok]
How can I get that paragraph after the placeformula to indent?
\setupindenting[medium,yes]
\setupformulas
to type the
source like this ...
(not always, in the auto case)
\setupwhitespace[medium]
\setupindenting[medium,yes]
\starttext
Again, we choose to multiply the fours, then the result by the square
root of three. That is,
\placeformula[-]
\startformula
4(4\sqrt3)
=16\sqrt3
testing some of the math I typeset with Latex to
determine whether or not to use Context.
In Latex I am using the ams math packages and knowing that there is
a amsl module for Context I did some test such as
\def\wdiv{{\rm div} \:}
\def\rot{{\rm rot} \:}
\placeformula[eqn1]
\startformula
\eqalignno
Taco Hoekwater wrote:
Aditya Mahajan wrote:
I do not understand why the second equation is numbered
It is a bug. \placeformula turns on formula number processing
(\settrue \handleformulanumber), but it never resets it.
I guess this could be done right at the end of each formula
Aditya Mahajan wrote:
I do not understand why the second equation is numbered
It is a bug. \placeformula turns on formula number processing
(\settrue \handleformulanumber), but it never resets it.
I guess this could be done right at the end of each formula,
like so:
\unprotect
\def
I do not understand why the second equation is numbered
\starttext
\placeformula \startformula \startalign[n=2]
\NC a \NC = b \NR
\NC c \NC = d \NR[+]
\stopalign \stopformula
Some text to separate equations
\startformula
e = f
\stopformula
\stoptext
I can get rid
Taco, Hans, et al,
I'm hesitant to upgrade as I have several hundred eqalign groups in
my work. Can you tell me if this now works in the new version?
%output=pdf
\starttext
\placeformula[-]
\startformula
\eqalign{
f(x)=x^2-2x-3\cr
f(x)=(x-3)(x+1)}
\stopformula
\stoptext
in the new version?
%output=pdf
\starttext
\placeformula[-]
\startformula
\eqalign{
f(x)=x^2-2x-3\cr
f(x)=(x-3)(x+1)}
\stopformula
\stoptext
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg
Hi,
What tips can folks give me about wrapping in Scite?
A. Starting with a blank document.
B. Starting with a document that is not wrapped (lots of long lines).
In particular, is there a way to wrap a document while still
preserving stuff like:
\placeformula[-]
\startformula
\eqalign
After downloading the release from yesterday,
simple \eqalign's seem to work, but I run into problems with
\starttext
\placeformula[-]
\startformula
\eqalign{
c:[-1,1] \to R^2
\cr
t\mapsto
\left\{
\eqalign{
-(t^2,0) \qquad\text{if $t\in[-1,0]$}
\cr
(0,t^2) \qquad\text{if $t\in[0,1]$}
}
\right
Matthias Weber wrote:
After downloading the release from yesterday,
simple \eqalign's seem to work, but I run into problems with
\starttext
\placeformula[-]
\startformula
\eqalign{
c:[-1,1] \to R^2
\cr
t\mapsto
\left\{
\eqalign{
-(t^2,0) \qquad\text{if $t\in[-1,0]$}
\cr
(0,t^2
Using the iinstaller CoNtExt version of today which contains the
newest (?)
core-mat.tex with the fixed \eqalign,
I still run into a problem with a standard \eqalign like
\starttext
\placeformula[-]
\startformula
\eqalign{
c:[0,2\pi] \to R^2
\cr
t \mapsto (a\cos(t), b\sin(t))
}
\stopformula
I am afraid that the update of today (28-1-2006) also has generated a
problem.
This used to work (just a plaintex \eqalign)
\starttext
\placeformula\startformula
\matrix{ab\cr cd\cr}
\eqalign{
a = b\cr
pq = t+1\cr
}
\stopformula
\stoptext
I see in core-mat.tex a macro \eqalign
this:
\placeformula
\startformula
\rm
NH_3(g) + H^+(aq.) + Cl^-(aq.) \rightarrow NH_4^+(aq.) + Cl^-(aq.)
\stopformula
This gives rather pleasant-looking results. However, is this the right
(i.e. kosher) way of doing things, or do I run into trouble at some
later point with this? What are you
, the natural way to do this:
\placeformula
\startformula
\rm
NH_3(g) + H^+(aq.) + Cl^-(aq.) \rightarrow NH_4^+(aq.) + Cl^-(aq.)
\stopformula
This gives rather pleasant-looking results. However, is this the right
(i.e. kosher) way of doing things, or do I run into trouble at some
later
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
Stupid me. Just by leaving the \placeformula out. (Maybe I should go and
get something to eat, my brain seems to be in some sort of energy-saving
mode
\usemodule[chemic]
\placeformula[-]
\startformula
\chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)}
\stopformula
Dank u!
- Ville
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
Ville Voipio wrote:
And how do I switch off the equation numbering for the chemical
reactions (I'd like to have the mathematical formulae still numbered)?
Stupid me. Just by leaving the \placeformula out. (Maybe I should go and
get something to eat, my brain seems to be in some sort
Ville Voipio wrote:
\usemodule[chemic]
\placeformula[-]
\startformula
\chemical{NH_3(g),+,H^+(aq.),+,Cl^-(aq.),-,NH_4^+(aq.),+,Cl^-(aq.)}
\stopformula
Dank u!
Graag gedaan
btw, this is documented in the ppchtex manual
Hi all,
I use \setupindenting[medium,yes] in my document.
When I use:
\placeformula[GiPivel]
\startformula
\frac{\overrightarrow{G_iP_i}}{\Delta T} = \frac{d_i.\vec{y_i} +
\delta_i.\vec{t_i}}{\Delta T} = -\dot
\dostopmathcases
{\crcr
\egroup
\popmacro\docasesNC
\egroup
\right.
\endgroup}
\protect
\showframe
\placeformula \startformula \startcases
\NC 2 \NC $ y 0 $ \NR
\NC 7 \NC $ x = 7 $ \NR[+]
\NC 4 \NC otherwise \NR
\stopcases \stopformula
\placeformula \startformula x
\startcases
\NC 2 \NC
snipped ]
\placeformula \startformula \startcases
\NC 2 \NC $ y 0 $ \NR
\NC 7 \NC $ x = 7 $ \NR[+]
\NC 4 \NC otherwise \NR
\stopcases \stopformula
Not exactly. In this, I get two formula numbers, one for the case
`x=7' and the other for the entire equation. I can remove
\placeformula
David Arnold wrote:
All,
If you're not aware of this one, consider:
\placeformula[-]
\startformula
[-2,2)=\{x:\, -2\le x 2\}.
\stopformula
Won't compile, but try:
\placeformula[-]
\startformula\relax
[-2,2)=\{x:\, -2\le x 2\}.
\stopformula
this is indeed a side effect of optional
All,
If you're not aware of this one, consider:
\placeformula[-]
\startformula
[-2,2)=\{x:\, -2\le x 2\}.
\stopformula
Won't compile, but try:
\placeformula[-]
\startformula\relax
[-2,2)=\{x:\, -2\le x 2\}.
\stopformula
___
ntg-context mailing
All,
I have:
\placeformula[-]
\startformula
\startalign[m=2]
3-2x-1 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
And it works. However, I want to sqeeze the word or between the
inequalities on the first row so that it reads:
3 - 2x -1 or 3 - 2x 1
How
%
% \def\stopsplit
% {\doalignNR[+][]\crcr % for a number on last line
%\stopalign}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D
All,
I tried:
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
As we see in (\in[eq;twosolve]), ...
But that didn't work.
Suggestions
--- On Jan 20, David Arnold wrote ---
All,
I have:
\placeformula[-]
\startformula
\startalign[m=2]
3-2x-1 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
And it works. However, I want to sqeeze the word or between the
inequalities on the first row so that it reads:
3
Aditya,
Thanks, and I am getting this to work, which is similar to the way
the align macros from the AMS work:
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
On Jan 20, 2006, at 10
--- On Jan 20, David Arnold wrote ---
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
As we see in (\in[eq;twosolve]), ...
But that didn't work.
There are three equations, which one do
Aditya,
I want to reference the whole block, not any one equation.
Thanks.
On Jan 20, 2006, at 10:32 PM, Aditya Mahajan wrote:
--- On Jan 20, David Arnold wrote ---
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2
\NC \NR
instead of .. \\. That gives you more flexibility in using labels
and numbering for for specific equations.
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
On Jan 20, 2006, at 10:07 PM
, 2006, at 10:32 PM, Aditya Mahajan wrote:
--- On Jan 20, David Arnold wrote ---
\placeformula[eq:twosolve]
\startformula
\startalign[m=3]
3-2x-1 \qor 3-2x1\\
-2x-4 -2x-2\\
x2 x1
\stopalign
\stopformula
As we see in (\in[eq;twosolve]), ...
But that didn't work
I want to place a math formula in the item of an itemlist, but I keep
getting overfull hboxes.
A minimal example follows:
\starttext
\startitemize
\item dit is een
\item dit is een formule
\placeformula[-]
\startformula
n= 0
Hans van der Meer wrote:
I want to place a math formula in the item of an itemlist, but I keep
getting overfull hboxes.
A minimal example follows:
\starttext
\startitemize
\item dit is een
\item dit is een formule
\placeformula[-]
\startformula
n= 0
.
I changed distance=0pt to distance=5cm and see no change.
\startbuffer
\placeformula \startformula \startalign[n=5,distance=5cm]
x = yy = xx = yy = zz \\
a = b = p = q = w \\
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
Thanks
Aditya
--
Aditya Mahajan, EECS Systems
the following example for the source.
I changed distance=0pt to distance=5cm and see no change.
\startbuffer
\placeformula \startformula \startalign[n=5,distance=5cm]
x = yy = xx = yy = zz \\
a = b = p = q = w \\
\stopalign \stopformula
\stopbuffer
\typebuffer \getbuffer
it's only used when m
line
%\stopalign}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC
]}{}
\stopcombination}
\stoptext
Willi
David Arnold wrote:
All,
I am wondering how I can put two alignment environments side-by-side?
For test purposes, it's OK to use this twice.
\placeformula[-]
\startformula
\eqalign{
f(x)=x^2-2x-3\cr
f(x)=x^02x+1-1-3\cr
f(x)=(x-1)^2-4}
\stopformula
I'd
}%
\setupmathalign[#1]}% [#2]
\definemathalign[align] % default case
% \def\startsplit
% {\startalign[*]} % no number by default
%
% \def\stopsplit
% {\doalignNR[+][]\crcr % for a number on last line
%\stopalign}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b
Hans, Willi, et al,
I was thinking there are pros and cons to each solution, Hans' and
Willi's. So I tried:
Here are some simple examples of adding fractions already having
common denominators.
%output=pdf
\input math-ext
\starttext
\placeformula[-]
\startformula
\startalign[m=2
David Arnold wrote:
Hans, Willi, et al,
I was thinking there are pros and cons to each solution, Hans' and
Willi's. So I tried:
Here are some simple examples of adding fractions already having
common denominators.
%output=pdf
\input math-ext
\starttext
\placeformula[-]
\startformula
Hans, Taco, et al,
If I do something like this:
\placeformula[-]
\startformula
\startalign[m=2,distance=7em]
\frac5{21}-\frac3{21}=\frac{5-3}{21}
\frac{2}{x+2}-\frac{x-3}{x+2}=\frac{2-(x-3)}{x+2}\\
=\frac2{21} =\frac{2-x+3}{x+2}\\
=\frac{5-x}{x+2}
\stopalign
\stopformula
David Arnold wrote:
Hans, Taco, et al,
If I do something like this:
\placeformula[-]
\startformula
\startalign[m=2,distance=7em]
\frac5{21}-\frac3{21}=\frac{5-3}{21}
\frac{2}{x+2}-\frac{x-3}{x+2}=\frac{2-(x-3)}{x+2}\\
=\frac2{21} =\frac{2-x+3}{x+2}\\
=\frac{5-x}{x+2
[myalign][...]
\startmyalign ...
The following works as expected.
\def\startsplit
{\startalign[*]} % no number by default
\def\stopsplit
{\doalignNR[+][]\crcr % for a number on last line
\stopalign}
\placeformula \startformula \startsplit
a = b \\
= c
\stopsplit \stopformula
compatibility mode: (ugly)
\def\notag{\def\\{\crcr}}%
\doifelse{#1}{*}{\def\\{\crcr}}{\def\\{\doalignNR[+][]\crcr}}%
% end of compatibility mode
\numberedeqalign{#2}}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D
be able to define \startstop split
such that
\placeformula \startformula \startsplit
a = b \\
= c
\stopsplit \stopformula
comes out as
a = b
= c (1)
But, my attempts to define such a startstop did not work. Can you
suggest something?
Thanks,
Aditya
--
Aditya Mahajan, EECS
])
texexec-texexec.tmp (./texexec-texexec.tmp
! Undefined control sequence.
recently read \startalign
l.1 \placeformula \startformula \startalign
?
Am I doing something wrong?
On Jan 15, 2006, at 2:37 PM, Hans Hagen wrote:
Hi,
Here a first attempts for a flexible alignment mechanism (i depend
}}
%D \startbuffer
%D \placeformula \startformula \eqalignno {
%D a = b \formulanumber \cr
%D c = d \cr
%D= e \cr
%D= f \formulanumber
%D } \stopformula
%D \stopbuffer
%D
%D \typebuffer \getbuffer
%D
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \EQ b \NR[+]
%D \NC c
is rather limited. Consider
something like an align environment
a = b\\
c = d\\
e = f
Suppose, I want to refer to the second equation. In latex, I can simply
add \label{eq:2} and the end of c= d and then \ref{eq:2}. For context,
the reference label goes at the top, with \placeformula[eqs]. But I
Hello,
%D \startbuffer
%D \placeformula \startformula \startalign
%D \NC a \NC \eq b \NR[+]
%D \NC c \NC \neq d \NR
%D \NC\NC \neq f \NR[for:hans]
%D \NC\NC \geq g \NR[for:whoelse][a]
%D \NC\NC \leq h \NR[for:whomore][b]
%D \NC\NC \neq i \NR
%D \stopalign \stopformula
%D
Outside math I think the solution is \inframed, but I don't know if
that works here.
Johan
2006/1/14, David Arnold [EMAIL PROTECTED]:
All,
I have:
\placeformula[-]
\startformula
\eqalign{
\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\
\framed{6},\ 12\cr
)
with only one formula number. The formula number should be at the last
line or the center of the whole formula, configurable by an option.
142 lines deleted by Adam Duck
Again, this is a \wall-\return thingy, but \placeformula places the
number vertically centered...
#v+
\usemodule[nath
or the center of the whole formula, configurable by an option.
142 lines deleted by Adam Duck
Again, this is a \wall-\return thingy, but \placeformula places the
number vertically centered...
Is there someway in which the formula numbering can be forced to be at
the bottom. Maybe by adding
David Arnold wrote:
All,
I have:
\placeformula[-]
\startformula
\eqalign{
\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\
\framed{6},\ 12\cr
\text{Divisors of 18}: \framed{1},\ \framed{2},\ \framed{3},\
\framed{6},\ 9,\ 18}
\stopformula
But I'd like to keep
= f
Suppose, I want to refer to the second equation. In latex, I can
simply add \label{eq:2} and the end of c= d and then \ref{eq:2}. For
context, the reference label goes at the top, with \placeformula[eqs].
But I am not sure, how to give individual labels to each equations.
this 'loose
an align environment
a = b\\
c = d\\
e = f
Suppose, I want to refer to the second equation. In latex, I can simply
add \label{eq:2} and the end of c= d and then \ref{eq:2}. For context, the
reference label goes at the top, with \placeformula[eqs]. But I am not
sure, how to give individual labels
All,
I have:
\placeformula[-]
\startformula
\eqalign{
\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\
\framed{6},\ 12\cr
\text{Divisors of 18}: \framed{1},\ \framed{2},\ \framed{3},\
\framed{6},\ 9,\ 18}
\stopformula
But I'd like to keep the numbers on the same
All,
Anyone have a nice technique to strike out the common primes using
the color red?
\placeformula[-]
\startformula
\frac{12}{18}=\frac{2\cdot2\cdot3}{2\cdot3\cdot3}=\frac23
\stopformula
___
ntg-context mailing list
ntg-context@ntg.nl
http
All,
I am wondering how I can put two alignment environments side-by-side?
For test purposes, it's OK to use this twice.
\placeformula[-]
\startformula
\eqalign{
f(x)=x^2-2x-3\cr
f(x)=x^02x+1-1-3\cr
f(x)=(x-1)^2-4}
\stopformula
I'd like to get two of these side-by-side, or something
in context. Consider
\begin{align}
a = b \\
c = d \notag \\
= f \notag \\
= g
\end{align}
which will typeset as
a = b(1)
c = d
= f
= g(2)
There is no Context way to do it, and one has to resort to plain tex
\placeformula
$$
\eqalignno{
a = b \formulanumber \cr
c = d
--- On Dec 2, Mojca Miklavec wrote ---
1. What's the best way to frame a formula like here:
\placeformula
\startformula
\mframed{x^2+y^2=z^2}
\stopformula
The problem is that:
- formula number is shifted downwards in comparison to the formula
without a number
- I don't know how to do
Hello,
I would like to ask a couple of questions about frames and numbers in
math formulas.
1. What's the best way to frame a formula like here:
\placeformula
\startformula
\mframed{x^2+y^2=z^2}
\stopformula
The problem is that:
- formula number is shifted downwards in comparison
501 - 600 of 652 matches
Mail list logo