[NTG-context] Extend the fraction bar

2006-07-01 Thread David Arnold
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

[NTG-context] Malicious little bugger

2006-07-01 Thread David Arnold
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

[NTG-context] Oh no! Never update in the middle of a project. I am in trouble.

2006-06-27 Thread David Arnold
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

Re: [NTG-context] eqno not in math

2006-05-29 Thread Taco Hoekwater
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

Re: [NTG-context] eqno not in math

2006-05-29 Thread Hans van der Meer
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

Re: [NTG-context] eqno not in math

2006-05-29 Thread Hans Hagen
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

[NTG-context] eqno not in math

2006-05-28 Thread Hans van der Meer
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

[NTG-context] More Feature Requests for math

2006-05-17 Thread Aditya Mahajan
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

Re: [NTG-context] List of Formulas

2006-05-10 Thread Hans Hagen
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

Re: [NTG-context] List of Formulas

2006-05-10 Thread Hans Hagen
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

[NTG-context] List of Formulas

2006-05-09 Thread nico
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

Re: [NTG-context] List of Formulas

2006-05-09 Thread Hans Hagen
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

Re: [NTG-context] List of Formulas

2006-05-09 Thread nico
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

[NTG-context] Breaking large equations across pages

2006-04-27 Thread Aditya Mahajan
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

Re: [NTG-context] Breaking large equations across pages

2006-04-27 Thread Mojca Miklavec
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

Re: [NTG-context] emacs lisp for context in AucTeX

2006-04-20 Thread Johan Sandblom
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

[NTG-context] emacs lisp for context in AucTeX

2006-04-19 Thread Sanjoy Mahajan
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

Re: [NTG-context] Myway on using mathalign

2006-04-05 Thread Aditya Mahajan
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

Re: [NTG-context] beta

2006-03-30 Thread Taco Hoekwater
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

Re: [NTG-context] beta

2006-03-30 Thread Aditya Mahajan
--- 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

Re: [NTG-context] beta

2006-03-30 Thread Taco Hoekwater
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

Re: [NTG-context] beta

2006-03-30 Thread Aditya Mahajan
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

Re: [NTG-context] beta

2006-03-30 Thread Hans Hagen
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

Re: [NTG-context] Guide on align (was Help : Unknown references)

2006-03-24 Thread Aditya Mahajan
\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

Re: [NTG-context] Help : Unknown references

2006-03-22 Thread WN
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

Re: [NTG-context] Help : Unknown references

2006-03-22 Thread Taco Hoekwater
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

Re: [NTG-context] Help : Unknown references

2006-03-22 Thread Aditya Mahajan
: \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

[NTG-context] Help : Unknown references

2006-03-21 Thread WN
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

Re: [NTG-context] Help : Unknown references

2006-03-21 Thread Aditya Mahajan
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

[NTG-context] Force an indent

2006-02-20 Thread David Arnold
. 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

Re: [NTG-context] Force an indent

2006-02-20 Thread David Arnold
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

Re: [NTG-context] Force an indent

2006-02-20 Thread Taco Hoekwater
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

Re: [NTG-context] Force an indent

2006-02-20 Thread Peter Rolf
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

Re: [NTG-context] Force an indent

2006-02-20 Thread David Arnold
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

Re: [NTG-context] Force an indent

2006-02-20 Thread Peter Rolf
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

Re: [NTG-context] Force an indent

2006-02-20 Thread Joshua Ellis
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

Re: [NTG-context] Force an indent

2006-02-20 Thread David Arnold
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[

Re: [NTG-context] Force an indent

2006-02-20 Thread Adam Lindsay
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

Re: [NTG-context] Force an indent

2006-02-20 Thread Adam Lindsay
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

[NTG-context] math tests - subformula ref's and symbols \oiint \oiiint like in Latex AMS

2006-02-17 Thread Wim Neimeijer
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

Re: [NTG-context] Equation Numbering bug?

2006-02-13 Thread Hans Hagen
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

Re: [NTG-context] Equation Numbering bug?

2006-02-12 Thread Taco Hoekwater
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

[NTG-context] Equation Numbering bug?

2006-02-09 Thread Aditya Mahajan
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

[NTG-context] eqalign

2006-02-04 Thread David Arnold
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

Re: [NTG-context] eqalign

2006-02-04 Thread Matthias Weber
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

[NTG-context] Scite and wrapping

2006-02-03 Thread David Arnold
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

[NTG-context] Still problem with \eqalign :(

2006-02-01 Thread Matthias Weber
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

Re: [NTG-context] Still problem with \eqalign :( / need taco's advice

2006-02-01 Thread Hans Hagen
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

[NTG-context] Still problem with \eqalign

2006-01-31 Thread Matthias Weber
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

[NTG-context] eqalign name clash

2006-01-28 Thread Hans van der Meer
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

[NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
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

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
, 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

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
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

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Ville Voipio
\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

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
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

Re: [NTG-context] Typesetting chemical reaction equations

2006-01-27 Thread Hans Hagen
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

[NTG-context] setupindenting and formula

2006-01-27 Thread Renaud AUBIN
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

Re: [NTG-context] LaTeX array equivalence with multiline \lbrace

2006-01-26 Thread Hans Hagen
\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

Re: [NTG-context] LaTeX array equivalence with multiline \lbrace

2006-01-26 Thread Aditya Mahajan
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

Re: [NTG-context] Subtle problem with startformula

2006-01-23 Thread Hans Hagen
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

[NTG-context] Subtle problem with startformula

2006-01-21 Thread David Arnold
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

[NTG-context] Align a compound inequality

2006-01-20 Thread David Arnold
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

Re: [NTG-context] math

2006-01-20 Thread David Arnold
% % \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

[NTG-context] Referencing an align environment

2006-01-20 Thread David Arnold
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

Re: [NTG-context] Align a compound inequality

2006-01-20 Thread Aditya Mahajan
--- 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

Re: [NTG-context] Align a compound inequality

2006-01-20 Thread David Arnold
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

Re: [NTG-context] Referencing an align environment

2006-01-20 Thread Aditya Mahajan
--- 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

Re: [NTG-context] Referencing an align environment

2006-01-20 Thread David Arnold
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

Re: [NTG-context] Align a compound inequality

2006-01-20 Thread Aditya Mahajan
\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

Re: [NTG-context] Referencing an align environment

2006-01-20 Thread Aditya Mahajan
, 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

[NTG-context] formula in itemlist

2006-01-19 Thread Hans van der Meer
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

Re: [NTG-context] formula in itemlist

2006-01-19 Thread Hans Hagen
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

Re: [NTG-context] math

2006-01-18 Thread Aditya Mahajan
. 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

Re: [NTG-context] math

2006-01-18 Thread Hans Hagen
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

[NTG-context] math

2006-01-17 Thread Hans Hagen
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

Re: [NTG-context] Alignments side by side

2006-01-16 Thread Willi Egger
]}{} \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

Re: [NTG-context] math align

2006-01-16 Thread Hans Hagen
}% \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

Re: [NTG-context] math align

2006-01-16 Thread David Arnold
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

Re: [NTG-context] math align

2006-01-16 Thread Hans Hagen
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

Re: [NTG-context] math align

2006-01-16 Thread David Arnold
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

Re: [NTG-context] math align

2006-01-16 Thread Hans Hagen
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

Re: [NTG-context] math align

2006-01-16 Thread Aditya Mahajan
[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

[NTG-context] math align

2006-01-15 Thread Hans Hagen
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

Re: [NTG-context] math align

2006-01-15 Thread Aditya Mahajan
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

Re: [NTG-context] math align

2006-01-15 Thread David Arnold
]) 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

Re: [NTG-context] math align

2006-01-15 Thread David Arnold
}} %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

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
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

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Tobias Burnus
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

Re: [NTG-context] Keep framed on the baseline

2006-01-14 Thread Johan Sandblom
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

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Adam Duck
) 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

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
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

Re: [NTG-context] Keep framed on the baseline

2006-01-14 Thread Mojca Miklavec
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

Re: [NTG-context] Reg. fonts and math

2006-01-13 Thread Hans Hagen
= 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

Re: [NTG-context] Reg. fonts and math

2006-01-13 Thread Aditya Mahajan
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

[NTG-context] Keep framed on the baseline

2006-01-13 Thread David Arnold
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

[NTG-context] Canceling common primes with strikeout

2006-01-13 Thread David Arnold
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

[NTG-context] Alignments side by side

2006-01-13 Thread David Arnold
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

Re: [NTG-context] Reg. fonts and math

2006-01-12 Thread Aditya Mahajan
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

[NTG-context] Re: Some $\mframed{math}$ questions

2005-12-03 Thread Aditya Mahajan
--- 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

[NTG-context] Some $\mframed{math}$ questions

2005-12-02 Thread Mojca Miklavec
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

<    1   2   3   4   5   6   7   >