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

2005-12-02 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] Iwona again (solved?)

2005-11-30 Thread David Arnold
found myself going {\sl round in circles}. Not necessariy a {\sc bad} thing. \input knuth \placeformula[-] \startformula f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx \stopformula \input knuth \placeformula[-] \startformula f(x)=\cases{% 1/3, if $0\le x\le 1$;\cr 2/3, if $3\le x\le 4$;\cr 0

Re: [NTG-context] Iwona again (solved?)

2005-11-30 Thread Hans Hagen
] \setupbodyfont[david,ss,10pt] \starttext In attempting to {\bf explain} this {\em typesetting ritual}, I found myself going {\sl round in circles}. Not necessariy a {\sc bad} thing. \input knuth \placeformula[-] \startformula f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx \stopformula \input knuth

[NTG-context] Choosing a font for our Math Book

2005-11-25 Thread David Arnold
Adam, Taco, Hans, et al, This file: %output=pdf \startcomponent section1 \project book \product chapter1 \section{Trinomials} \input knuth \placeformula[eq:1] \startformula f(x)=x^2+2x-3 \stopformula We, see in \in{Equation}[eq:1], the historical use of function notation. \stopcomponent

Re: [NTG-context] Help with \setuplayout[grid=yes]

2005-08-31 Thread Randall Skelton
One more quick question. When using a grid, I gather that I should wrap all floating content (tables figures in my case) with \placeongrid to ensure \snaptogrid is being used. Does this also apply to formulae? i.e. should I be using: \placeformula \placeongrid{% \startformula

Re: [NTG-context] bug with active :!;?

2005-08-29 Thread Hans Hagen Outside
Olivier wrote: Hi, Seems like the following crashes conTeXt: see patch below Strangely enough, the bug doesn't seem to occur in \placeformula[eq:A] references get their labels cleaned up Many thanks for hinting a fix, \unprotect \def\dopreventmode[#1]% {\protect

[NTG-context] bug with active :!;?

2005-08-26 Thread Olivier
. However, the bug will also occur in the \cite[Bob:A,Bob:B] commands from the bib module, and I assume in anything that deals with csnameS containing active colons... Strangely enough, the bug doesn't seem to occur in \placeformula[eq:A] Many thanks for hinting a fix, Olivier

[NTG-context] A couple more suggestions for m-newmat.

2005-07-31 Thread Brooks Moses
+ long right-hand-side part 3 Essentially, you'd write that in an eqalign (or something like it), as: \placeformula \startformula \eqalign{% \lefteqn{long left-hand-side}\qquad \cr = long right-hand-side part 1 \cr \quad {}+ long right-hand-side part 2 \cr

[NTG-context] A couple of questions on math customizing.

2005-07-11 Thread Brooks Moses
] \placeformula{a} \startformula c^2 = a^2 + b^2 \eqno{\formulanumber} \stopformula \stoptext First, if I want \stopinnermath to handle the formula number, I have to somehow turn off the \doplaceformulanumber that gets called at the beginning of \dostopformula. Redefining the macro

[NTG-context] Math bug: \tracemathtrue doesn't work without alignment.

2005-07-10 Thread Brooks Moses
I was recently going through the core-mat.tex file (the one from teTeX 3.0.whatever-it-is) and trying out some of the examples given in the comments, and came across an odd little bug. Consider the following: \tracemathtrue \setupformulas[align=middle] \placeformula \startformula

[NTG-context] Horizontal shifting gives overfull hboxes

2005-06-07 Thread Nikolai Weibull
OK, not the first time I bring this up, and its not a serious issue, but its very irritating having overfull hboxes that are in all ways correct: \version[temporary] \definedescription [test] [location=left] \starttext \starttest{1 is 1} Solution: \placeformula[-] $$1 = 1$$ \stoptest

[NTG-context] Differnce between context and latex math

2005-05-28 Thread Aditya Mahajan
\starttheorem This is a test \placeformula \startformula a = b \stopformula And the test continues. Notice that the equation number is in \type{\it} and not in \type{\upshape}. \stoptheorem \stoptext Notice that the equation number is italic. Compare

Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?

2005-05-18 Thread Mojca Miklavec
, ...). Does any Font/TeXnician have any idea how to make \Big\updownharpoons work? xiaojf said this at Sat, 14 May 2005 21:36:45 +0800: Hi, I can code the cycle in ConTeXt,but it's too ugly and I will try to improve it. here is my code: \starttext \placeformula \startformula \matrix{A+B{\Delta

Re: Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?

2005-05-14 Thread xiaojf
} and \formula{\upharpoonleft\!\downharpoonright}. \stoptext Do you know how you would code that cycle in (AMS)LaTeX? Hi, I can code the cycle in ConTeXt,but it's too ugly and I will try to improve it. here is my code: \starttext \placeformula \startformula \matrix{A+B{\Delta G_1\atop

Re[2]: [NTG-context] nath and \(start|stop)formula

2004-11-16 Thread Giuseppe Bilotta
Monday, November 15, 2004 Nikolai Weibull wrote: * Christopher Creutzig [EMAIL PROTECTED] [Nov 15, 2004 17:20]: Try \startnathequation ... \stopnathequation instead. Ah, thanks. Is there still a way to get unnumbered equations? nikolai Do not put \placeformula before the equation

Re: [NTG-context] nath and \(start|stop)formula

2004-11-16 Thread Tobias Burnus
Hallo, Giuseppe Bilotta wrote: Try \startnathequation ... \stopnathequation instead. Ah, thanks. Is there still a way to get unnumbered equations? Do not put \placeformula before the equation :) Well, that changes a bit the spacing, how about \placeformula[-] ? Tobias

[NTG-context] [ at beginning of formula ?

2004-11-16 Thread Matthias Weber
Hello, I'd like to typeset [\partial,B]=0 but \starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula gives just =0 (see below) while \stoptext \starttext \placeformula \startformula 0= [ A ,B ] \stopformula \stoptext works. What is the meaning of [ at the beginning of a formula

Re: [NTG-context] [ at beginning of formula ?

2004-11-16 Thread h h extern
Matthias Weber wrote: Hello, I'd like to typeset [\partial,B]=0 but \starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula gives just =0 (see below) while \stoptext \starttext \placeformula \startformula 0= [ A ,B ] \stopformula \stoptext works. What is the meaning

Re: [NTG-context] [ at beginning of formula ?

2004-11-16 Thread Matthias Weber
Thanks! Matthias On Nov 16, 2004, at 4:26 PM, h h extern wrote: Matthias Weber wrote: Hello, I'd like to typeset [\partial,B]=0 but \starttext \placeformula \startformula 0= [ A ,B ] = 0 \stopformula gives just =0 (see below) while \stoptext \starttext \placeformula \startformula 0= [ A ,B

Re: [NTG-context] nath and \(start|stop)formula

2004-11-15 Thread Christopher Creutzig
Nikolai Weibull wrote: \usemodule[nath] \starttext $A = (B, C, D, E)$ \placeformula \startformula A = (B, C, D, E) \stopformula \stoptext ! Undefined control sequence. l.6 A = ( B, C, D, E) ? X Try \startnathequation ... \stopnathequation instead. Or patch

Re: [NTG-context] \presentationstep

2004-11-10 Thread David Munger
Otared Kavian wrote : Hi David and all ConTeXters, I was away from my e-mail so I am late in answering. Thank you for the file you put on your site. Indeed everything works as intended (the \placeformula no longer advances with each step), and I think one may suggest to Hans to include

Re: [NTG-context] \presentationstep

2004-11-10 Thread David Munger
get the same broken spacing as in: \startformula a {+ b} \stopformula \stoptext eh ... are you redefining low level macros? I'd never dare to... ;-) Just overriding \placeformula within \begingroup/\endgroup to mangle the formula numbers. Thank you, David

Re: [NTG-context] \presentationstep

2004-11-08 Thread Otared Kavian
, it is the following: When one uses these macros with an automatic numbering such as \placeformula[equation-reference] (see the example below), with each invocation of \page (that is a step) the number increases, and this is an unwanted side result. Would it possible to freeze the numbering

Re: [NTG-context] \presentationstep

2004-11-08 Thread David Munger
suggest a possible improvement to the t-rsteps.tex macros, it is the following: When one uses these macros with an automatic numbering such as \placeformula[equation-reference] (see the example below), with each invocation of \page (that is a step) the number increases

Re: [NTG-context] \presentationstep

2004-11-08 Thread Otared Kavian
file: here is what I get: % begin error report: ! Missing number, treated as zero. to be read again [EMAIL PROTECTED]:incompressibility \setcounter ...ame #1\endcsname {\the \numexpr (#2 )} \placeformula ...\csname [EMAIL

Re: [NTG-context] gather

2004-10-27 Thread Giuseppe Bilotta
} \usepackage{amsmath} \begin{document} \begin{gather*} F(x)=\int_0^x f(t)\, dt\\ F'(x)=f(x) \end{gather*} \end{document} I hope this helps those who are working on these issues. In ConTeXt, the usual behavior of such things is to have them unnumbered unless they are preceded by a \placeformula

Re: [NTG-context] gather

2004-10-27 Thread David Arnold
are working on these issues. In ConTeXt, the usual behavior of such things is to have them unnumbered unless they are preceded by a \placeformula[label], and this is the convention I'm following in the amsl module ... should it be changed? Not necessarily. You probably should stick with the Context Way

[NTG-context] align

2004-10-26 Thread David Arnold
f(t)\, dt\\ F'(x)=f(x) \end{aligned} \end{equation} \end{document} I can get this with amsl, with: \usemodule[amsl] \starttext \placeformula[fundthm] \startalign F(x)=\int_0^x f(t)\, dt\\ F'(x)=f(x) \stopalign We see in the \in{Fundamental Theorem}[fundthm] \ldots \stoptext I'm not sure how

[NTG-context] cases

2004-10-26 Thread David Arnold
] \starttext \placeformula[func] \startformula P_{r-j}= \startcases 0, \text{if $r-j$ is odd}\\ r!(-1)^{(r-j)/2}, \text{if $r-j$ is even.} \stopcases \stopformula \stoptext You'll note that the spacing in the latter is not as good. ___ ntg-context

Re: [NTG-context] nath problems and patches

2004-08-25 Thread Giuseppe Bilotta
7.4.5). nath seems to have trouble with $$...$$-formulas. This file won't compile: \usemodule[nath] \starttext \placeformula $$a$$ \stoptext Error message: Runaway argument? \@@dollar {\to \asciiB \ExpandBothAfter \doifincsnameelse \asciiA \asciiB \ETC. ! File ended while scanning use

[NTG-context] Referencing eqalignno-formulas, and some more

2004-08-24 Thread Eeri Kask
Hello, I started using context recently and have encountered some difficulties where I need some help to get over. (1) References in math formulas: \placeformula [Ref] \startformula \eqalignno { ... } \stopformula It seems that referencing to '\eqalignno'-formulas needs some tricks

Re: [NTG-context] Referencing eqalignno-formulas, and some more

2004-08-24 Thread Tobias Burnus
Hello, Eeri Kask wrote: (1) References in math formulas: \placeformula [Ref] \startformula \eqalignno { ... } \stopformula This should work ok. Try \placeformula[ref] \startformula\eqalignno{ a = b \formulanumber[refa]{a}\cr b =c \subformulanumber[refb]{b}\cr }\stopformula \in[ref], \in[refa

[NTG-context] nath problems and patches

2004-08-13 Thread Christopher Creutzig
. This file won't compile: \usemodule[nath] \starttext \placeformula $$a$$ \stoptext Error message: Runaway argument? \@@dollar {\to \asciiB \ExpandBothAfter \doifincsnameelse \asciiA \asciiB \ETC. ! File ended while scanning use of \convertargument. Replacing $$...$$ by \startformula...\stopformula

Re: [NTG-context] Bug report, \frac as redefined in m-newmat.tex

2004-08-03 Thread Hans Hagen
Hi Brooks The following simple file works fine if I comment out the \usemodule[newmat] line, but crashes if I put it in. \usemodule[newmat] \starttext \placeformula \startformula \eqalign{\frac{1}{2} \cr} \stopformula \stoptext ah ... the alignment lookahead problem, i think we

[NTG-context] Bug report, \frac as redefined in m-newmat.tex

2004-08-02 Thread Brooks Moses
The following simple file works fine if I comment out the \usemodule[newmat] line, but crashes if I put it in. \usemodule[newmat] \starttext \placeformula \startformula \eqalign{\frac{1}{2} \cr} \stopformula \stoptext - Brooks ___ ntg

Re: [NTG-context] math in ConTeXt

2004-06-25 Thread Tobias Burnus
Hello, [EMAIL PROTECTED] wrote: is ConTeXt prepared for math? With regard to mathematics ConTeXt can do all things which plain TeX can. I mean...can I do... $\sum_{i=1}^{n}{x_{i}}$ as I used to in LaTeX? Yes. For displaymath you can use plain TeX's $$\sum$$ or better \placeformula

[NTG-context] diplayed centered equations

2004-02-03 Thread olivier Turlier
\placeformula[form:a-prime] \startformula a^{'} = \frac{1,05 \times N_{s}}{q_{s}} = \frac{1,05 \times 0,246}{0,15} = 1,722 \approx \inframed{1,75 m} \stopformula %working \placeformula[form:a-prime] \startformula \eqalignno{ %%or \leqalignno%% a^{'} = \frac{1,05

[NTG-context] Re: Re: [NTG-context] Indentation after formulas

2004-01-21 Thread Giuseppe Bilotta
Tuesday, January 20, 2004 David Munger wrote: Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. I've found that inserting \let\startformula\startmpformula \let\stopformula\stopmpformula before \usemodule[nath] does the trick. But I feel it's not a very good idea. Any

[NTG-context] Indentation after formulas

2004-01-15 Thread David Munger
Hello, Compiling the following results in indented text following the formula: % interface=en tex=pdfetex output=pdftex \usemodule [nath] \setupindenting [medium] \starttext \section{Some section} Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. \stoptext I'd like where $x$ means

Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Albrecht Kauffmann
On Tue, 13 Jan 2004, Tobias Burnus wrote: Hi, On Tue, Jan 13, 2004 at 01:56:55PM +0100, Albrecht Kauffmann wrote: in a former paper I used [...] How about \placeformula[one] \startformula \eqalignno{ a = b \formulanumber[one-a]{a}\cr c = d \subformulanumber[one-b]{b}\cr

[NTG-context] Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread Giuseppe Bilotta
Monday, December 8, 2003 David Munger wrote: \placeformula \startgather f(x) = x \\ g(x) = x^2 \\ h(x) = x^3 \stopgather I will look into this. Are you using amsl only or nath too? It works well with amsl only. Though it would be nice to have an option to chose between

[NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
Hello Giuseppe, you've done a great work with amsl an nath modules! Seems that there is a little bug when you try to gather more than two formulas: \placeformula \startgather f(x) = x \\ g(x) = x^2 \\ h(x) = x^3 \stopgather When doing so, I end up with the last two equations on the same

[NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
\placeformula \startgather f(x) = x \\ g(x) = x^2 \\ h(x) = x^3 \stopgather I will look into this. Are you using amsl only or nath too? It works well with amsl only. Though it would be nice to have an option to chose between individual numbering or one number for all equations

[NTG-context] Gathered equations with t-amsl and t-nath

2003-12-07 Thread David Munger
[Sorry if this is a repost. The first time, I posted from the wrong email account.] --- Hello Giuseppe, you've done a great work with amsl an nath modules! Seems that there is a little bug when you try to gather more than two formulas: \placeformula \startgather f(x) = x

Re: [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-07 Thread Giuseppe Bilotta
two formulas: \placeformula \startgather f(x) = x \\ g(x) = x^2 \\ h(x) = x^3 \stopgather When doing so, I end up with the last two equations on the same line, with the same equation number. I will look into this. Are you using amsl only or nath too? -- Giuseppe Oblomov Bilotta

[NTG-context] references over several documents

2003-10-15 Thread gmorais
Hello All: At this moment i am producing a set of documents, that ocasionally have refences among them. For eg: document 1 \starttext \placeformula[eq:1.1] \startformula e = m c^2 \stopformula \stoptext document 2 \starttext In here I

[NTG-context] Aligned numbered math formulas

2003-08-15 Thread Holger Schöner
of them. For alignment I seem to be able to use \eqalign (or \startalign ... \stopalign from the t-amsl.tex sent around here lately). But if I place a \placeformula in front of this, the whole aligned block only gets one number; I would need a number for every line (or even better: a possibility

Re: [NTG-context] Aligned numbered math formulas

2003-08-15 Thread Holger Schöner
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: On Thu, 14 Aug 2003, Holger Schöner wrote: Thanks, Tobias! This works for me, if I place a \placeformula before formulas enclosed by $$. Funny, though, that I get an error if I instead enclose the formula with \startformula ... \endformula

Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
} Thanks, Tobias! This works for me, if I place a \placeformula before formulas enclosed by $$. Funny, though, that I get an error if I instead enclose the formula with \startformula ... \endformula: -- ! You can't use `\halign' in math mode. \eqalignno [EMAIL PROTECTED] \tabskip \centering

Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
Hi, On Thu, 14 Aug 2003, Tobias Burnus wrote: On Thu, 14 Aug 2003, Holger Schöner wrote: Thanks, Tobias! This works for me, if I place a \placeformula before formulas enclosed by $$. Funny, though, that I get an error if I instead enclose the formula with \startformula ... \endformula

Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Tobias Burnus
Hi all, On Thu, 14 Aug 2003, David Arnold wrote: May I ask how I can reference each of these equations separately in the text? That is, how can I give a different label to each equation in the alignment, then reference each one independent of the other? \placeformula[david] \startformula

[NTG-context] Lucida, some progress

2003-08-03 Thread David Arnold
. Have I done this the correct way? \setupoutput[pdf] \usetypescript[berry][texnansi] \usetypescript[lbr] \setupbodyfont[lbr] \starttext Hello. This is a {\em test} of what the {\it Lucida} {\sl Fonts} can do at 6 {\sc am}. \placeformula \startformula f(x)=\int_0^x f(t)\, dt \stopformula

<    2   3   4   5   6   7