[NTG-context] Wrong location of mframed

2011-01-22 Thread Aditya Mahajan
Hi, In MkIV, \mframed does not place the result in the middle of the math axis. Consider, \starttext \startformula f(x) = \mframed{\frac{1}{2}}^{\mframed{\frac{1}{2}}} \stopformula \stoptext The MkII and MkIV results are attached. Adityaattachment: test-mkii.pngattachment: test

Re: [NTG-context] Issues with cross reference

2010-12-12 Thread Hans Hagen
On 11-12-2010 1:58, views63 wrote: Hi all, cross reference is not worked in latest beta (MkIV) example: \starttext \placeformula[f] \startformula {\bf d}(t)=(1-t)^2{\bf b}_{0,0}+2(1-t)t\Big[\frac{1}{2}{\bf b}_{0,1}+\frac{1}{2}{\bf b}_{1,0}\Big]+t^2{\bf b}_{1,1}. \stopformula see (\in[f

Re: [NTG-context] Issues with cross reference

2010-12-12 Thread views63
\Big[\frac{1}{2}{\bf b}_{0,1}+\frac{1}{2}{\bf b}_{1,0}\Big]+t^2{\bf b}_{1,1}. \stopformula see (\in[f]) \stoptext it took me a while to figure out that I had rename a low level function wrongly .. fixed asap

[NTG-context] Issues with cross reference

2010-12-10 Thread views63
Hi all, cross reference is not worked in latest beta (MkIV) example: \starttext \placeformula[f] \startformula {\bf d}(t)=(1-t)^2{\bf b}_{0,0}+2(1-t)t\Big[\frac{1}{2}{\bf b}_{0,1}+\frac{1}{2}{\bf b}_{1,0}\Big]+t^2{\bf b}_{1,1}. \stopformula see (\in[f]) \stoptext -- Best regards, Huang

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Florian Wobbe
][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes] % Subscript and access the font features

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
be accessed via \setff{feature}, I guess. Yes, you can define for instance \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[sups][default][sups=yes

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Khaled Hosny
\definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes] % Subscript and access the font features with \setff{dlig}, \setff{subs} etc. Florian Wonderfull! I'm starting to get

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
\definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4 \definefontfeature[sups][default][sups=yes] % Superscript \definefontfeature[subs][default][subs=yes

[NTG-context] OpenType Math

2010-10-13 Thread Andreas Harder
Hi all, there are still some problems with OpenType math. I've collected some: % \setupbodyfont[palatino] % reference % \setupbodyfont[cambria] % \setupbodyfont[euler] \setupbodyfont[asana] \startTEXpage[offset=1ex] $n\choose k$ \crlf $1+\cdots+n$ \crlf $1+\frac{a}{b}$ \crlf $(a+b

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-03 Thread Mojca Miklavec
{lm}\NR \NC 0 \NC\NC 0\NC\NC s \NC \frac{1}{2}\sqrt{\frac{ 1}{π}} \NR \NC 1 \NC\NC 0\NC\NC p_z \NC \frac{1}{2}\sqrt{\frac{ 3}{π}}\frac{z}{r} \NR \NC 1 \NC\NC \pm1 \NC\NC p_x \NC \frac{1}{2}\sqrt{\frac{ 3}{π}}\frac{x}{r} \NR \NC

[NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Mojca Miklavec
,left,left}] \NC l \NC\hbox to 1em{}\NC m_l \NC\hbox to 1em{}\NC \text{orb.}\hbox to 2em{} \NC Y_{lm}\NR \NC 0 \NC\NC 0\NC\NC s \NC \frac{1}{2}\sqrt{\frac{ 1}{π}} \NR \NC 1 \NC\NC 0\NC\NC p_z \NC \frac{1}{2}\sqrt{\frac{ 3}{π}}\frac{z}{r} \NR \NC

Re: [NTG-context] rotated (landscape) pages in portrait document

2010-10-01 Thread Wolfgang Schuster
,middle,left,left}] \NC l \NC\hbox to 1em{}\NC m_l \NC\hbox to 1em{}\NC \text{orb.}\hbox to 2em{} \NC Y_{lm}\NR \NC 0 \NC\NC 0\NC\NC s \NC \frac{1}{2}\sqrt{\frac{ 1}{π}} \NR \NC 1 \NC\NC 0\NC\NC p_z \NC \frac{1}{2}\sqrt{\frac{ 3}{π}}\frac{z}{r

[NTG-context] linking to equations with leqalignno?

2010-09-04 Thread Pau
Hello, I am a bit lost. I am using this format for an equation: - \placeformula[nohair] \startformula \leqalignno{ - M^{}_{\bullet}a^{2}_{\bullet} = M^{}_{2} = - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet

Re: [NTG-context] linking to equations with leqalignno?

2010-09-04 Thread Otared Kavian
] \startformula \eqalign{ - M^{}_{\bullet}a^{2}_{\bullet} = M^{}_{2} = - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet} = J^{}_{3} = \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr } \stopformula As one may see from equation (\in[nohair]), we have\dots It is more handy

[NTG-context] LuaTeX printf() function ?

2010-07-23 Thread Vnpenguin
Hi, Here is my test: === \setuppapersize[A4][A4] \usetypescript[postscript] \setupbodyfont[palatino,12pt] \starttext \startformula K = \frac{\sigma_1}{\sigma_2} = \frac{355}{14}= \ctxlua{tex.print(355/14)} \stopformula \stoptext

Re: [NTG-context] LuaTeX printf() function ?

2010-07-23 Thread luigi scarso
On Fri, Jul 23, 2010 at 10:25 PM, Vnpenguin vnpeng...@vnoss.org wrote: Hi, Here is my test: === \setuppapersize[A4][A4] \usetypescript[postscript] \setupbodyfont[palatino,12pt] \starttext \startformula K = \frac{\sigma_1}{\sigma_2} = \frac

Re: [NTG-context] LuaTeX printf() function ?

2010-07-23 Thread luigi scarso
[palatino,12pt] \starttext \startformula K = \frac{\sigma_1}{\sigma_2} = \frac{355}{14}= \ctxlua{tex.print(355/14)} \stopformula \stoptext === It works well and give me result = 25,357142857143. In order to obtain 2 decimal number I tried

Re: [NTG-context] LuaTeX printf() function ?

2010-07-23 Thread Vnpenguin
: === \setuppapersize[A4][A4] \usetypescript[postscript] \setupbodyfont[palatino,12pt] \starttext \startformula K = \frac{\sigma_1}{\sigma_2} = \frac{355}{14}= \ctxlua{tex.print(355/14)} \stopformula \stoptext === It works well and give me

Re: [NTG-context] LuaTeX printf() function ?

2010-07-23 Thread Hans Hagen
On 23-7-2010 10:53, Vnpenguin wrote: \startformula K = \frac{\sigma_1}{\sigma_2} = \frac{355}{14}= \ctxlua{tex.print(string.format(%0.2f,355/14))} \stopformula or \ctxlua{context(\letterpercent0.2f,355/14)} we can consider adding \let\pct\letterpercent but nice

Re: [NTG-context] LuaTeX printf() function ?

2010-07-23 Thread Vnpenguin
On Fri, Jul 23, 2010 at 23:23, Hans Hagen pra...@wxs.nl wrote: On 23-7-2010 10:53, Vnpenguin wrote: \startformula  K = \frac{\sigma_1}{\sigma_2} = \frac{355}{14}=  \ctxlua{tex.print(string.format(%0.2f,355/14))}  \stopformula or    \ctxlua{context(\letterpercent0.2f,355/14)} we can

[NTG-context] \frac with Cambria

2010-07-12 Thread luigi scarso
\usetypescript[cambria] \setupbodyfont[cambria,8pt] \starttext \inlinemath{\displaystyle\frac{(1-0.1) - 0.89803921568627}{1-0.1}}% {\switchtobodyfont[modern,8pt] \inlinemath{\displaystyle\frac{(1-0.1) - 0.89803921568627}{1-0.1}}} \stoptext IMO the numerator with cambria is too much distant from

Re: [NTG-context] XITS fonts - second beta

2010-06-09 Thread Khaled Hosny
user guide. The text fonts provide to features over STIX fonts: * oldstyle figures, through 'onum' feature * text fractions, through 'frac' feature and: * sane filenames As usual, it is available from github: http://github.com/khaledhosny/xits-math/downloads ok, i adapted

Re: [NTG-context] XITS fonts - second beta

2010-06-09 Thread taco
also a rudimentary user guide. The text fonts provide to features over STIX fonts: * oldstyle figures, through 'onum' feature * text fractions, through 'frac' feature and: * sane filenames As usual, it is available from github: http://github.com/khaledhosny/xits-math/downloads ok, i adapted

[NTG-context] XITS fonts - second beta

2010-06-06 Thread Khaled Hosny
' feature * text fractions, through 'frac' feature As usual, it is available from github: http://github.com/khaledhosny/xits-math/downloads Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

Re: [NTG-context] XITS fonts - second beta

2010-06-06 Thread Hans Hagen
: * oldstyle figures, through 'onum' feature * text fractions, through 'frac' feature and: * sane filenames As usual, it is available from github: http://github.com/khaledhosny/xits-math/downloads ok, i adapted the typescripts Hans

[NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Mojca Miklavec
\getbuffer[gnu] \stoptext 5.) Weird formula number placement when long equations are used in MKIV \def\oklepaj#1{\left(#1\right)} \starttext \placeformula \startformula {\dot N}(t)= A\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{fast}+ B

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Mojca Miklavec wrote: 5.) Weird formula number placement when long equations are used in MKIV \def\oklepaj#1{\left(#1\right)} \starttext \placeformula \startformula {\dot N}(t)= A\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{fast}+ B

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Hans Hagen
number placement when long equations are used in MKIV \def\oklepaj#1{\left(#1\right)} \starttext \placeformula \startformula {\dot N}(t)= A\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp.-\exp\oklepaj{-\frac{t-t_0}{τ_{\text{fast}+ B\oklepaj{\exp\oklepaj{-\frac{t-t_0}{τ_{\text{eksp

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Aditya Mahajan
$\boldsymbol{\theta}$ \stoptext 9.) Note the big difference of when the formula starts vertically on page: \starttext \startformula a+b \stopformula \stoptext 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac{\left(x_j-μ_i\right)^2}{2σ_i^2}\biggr), \NC for $i\in\left\{1,2\right

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Aditya Mahajan
On Wed, 12 May 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac{\left(x_j-μ_i\right)^2

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-12 Thread Taco Hoekwater
Aditya Mahajan wrote: On Wed, 12 May 2010, Taco Hoekwater wrote: Aditya Mahajan wrote: 10.) Different square root shape/variant used: $\frac{1}{\sqrt{2πσ_i^2}}$ Original formula: \startformula \startcases \NC ρ_0, \NC for $i=0$, \NR \NC ρ_i\,\frac{1}{\sqrt{2πσ_i^2}} \exp\biggl(-\frac

Re: [NTG-context] footnote marks fail

2010-04-13 Thread Hans Hagen
. How could I do that? you cannot trust open type features like sups and frac as you can never be sure how complete these are and if the ruled laid down in the font are okay; some of these features are really meant to be applied specifically (select piece of text and apply in dtp) i have plans

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
}. \stopitemize \item Càlcul de probabilitats. Regla de Laplace. \startitemize[n,packed] \item Assignació de $\frac{1}{n}$ als esdeveniments elementals (equiprobables) $A_i$ d'un espai mostral \item Aplicació de la regla de Laplace {\em directament}: \startformula P(A) = \frac{\text{casos favorables

Re: [NTG-context] typescripts

2010-03-18 Thread Wolfgang Schuster
on the part of the writer. It seems natural that way. \setupbodyfont[pagella] \definefontfeature[smcp][smcp=yes] \definefontfeature[frac][frac=yes] \setuphead[chapter][textstyle=\addfs{frac}\addfs{smcp}] \starttext \chapter{Fellini’s {\it Roma} and 8 1/2} \input knuth \stoptext Wolfgang

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 95

2010-03-18 Thread Michael Saunders
Wolfgang Schuster: \setupbodyfont[pagella] \definefontfeature[smcp][smcp=yes] \definefontfeature[frac][frac=yes] \setuphead[chapter][textstyle=\addfs{frac}\addfs{smcp}] ... This is just an example, but what I think you mean to say by it is that the new command \addfs{} has the behavior I

[NTG-context] math error

2010-03-18 Thread Wolfgang Werners-Lucchini
Hallo, the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7} \stopformula \stoptext Bug or user error? Wolfgang

Re: [NTG-context] math error

2010-03-18 Thread Mehdi Omidali
On 3/18/2010 4:15 PM, Wolfgang Werners-Lucchini wrote: the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7} \stopformula \stoptext In context, commands accept

Re: [NTG-context] math error

2010-03-18 Thread Mikael Persson
On Thu, Mar 18, 2010 at 1:45 PM, Wolfgang Werners-Lucchini w...@musensturm.de wrote: Hallo, the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7

[NTG-context] math error

2010-03-18 Thread Wolfgang Werners-Lucchini
Sorry, I found it! \starttext \startformula[] [29;2,2,1]=\frac{206}{7} \stopformula \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] ntg-context Digest, Vol 69, Issue 95

2010-03-18 Thread Hans Hagen
On 18-3-2010 12:00, Michael Saunders wrote: Wolfgang Schuster: \setupbodyfont[pagella] \definefontfeature[smcp][smcp=yes] \definefontfeature[frac][frac=yes] \setuphead[chapter][textstyle=\addfs{frac}\addfs{smcp}] This is just an example, but what I think you mean to say

Re: [NTG-context] simplefonts

2010-03-12 Thread Thomas A. Schmitz
Small Capitals From Capitals caltContextual Alternates caseCase-Sensitive Forms cpspCapital Spacing dligDiscretionary Ligatures dnomDenominators finaTerminal Forms fracFractions histHistorical Forms kernKerning ligaStandard Ligatures lnumLining Figures

Re: [NTG-context] Math Alignment - start equation at left margin

2009-12-15 Thread Aditya Mahajan
is either placed in the middle or is aligned to the right. I want it to start at the left. Thanks. \setuppapersize[letter][letter] \starttext \startformula\startalign[align={left}] \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x

Re: [NTG-context] Math Alignment - start equation at left margin

2009-12-15 Thread Curiouslearn
in the middle or is aligned to the right. I want it to start at the left. Thanks. \setuppapersize[letter][letter] \starttext \startformula\startalign[align={left}]                                \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-30 Thread Curiouslearn
\startalign \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR \stopalign \stopformula \startformula \startFLalign %% here you can add [m=2] or [m=3] if you need more columns \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x

[NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Curiouslearn
to the right. I want it to start at the left. Thanks. \setuppapersize[letter][letter] \starttext \startformula\startalign[align={left}] \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR \stopalign\stopformula \stoptext

[NTG-context] Math Alignment - start equation at left margin (Bug in latest beta)

2009-11-29 Thread Curiouslearn
Just wanted to mention that I tried to achieve left alignment of single equation using: \setupformulas[align=flushleft] \startformula \text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC\NR \stopformula But that does not work with the latest

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
value for m Curiouslearn' input was: \startformula \startalign \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR \stopalign \stopformula \startformula \startFLalign %% here you can add [m=2] or [m=3] if you need more columns \NC\text{\bf Example: } \frac{d

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
\definemathalignment[FLalign] [m=2, distance=5em plus 1 fil] %We need to set a default value for m Curiouslearn' input was: \startformula \startalign \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR \stopalign \stopformula \startformula \startFLalign %% here you can

[NTG-context] leqalignno and labels

2009-11-02 Thread Pau
] \startformula \leqalignno{ f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 + \log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right) \right]\cr \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right) \sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i} \right],\cr

Re: [NTG-context] leqalignno and labels

2009-11-02 Thread Aditya Mahajan
: -- \placeformula[Pflux] \startformula \leqalignno{ f_{q}^{p}(v) = \frac{32}{5} \nu^{10} v^{10} \left[1 + \log\left(v\right) \left(\sum_{i\geq6}^{k} \ell_{i} v^{i} \right) \right]\cr \times P_{q}^{p} \left[\left(1 - \frac{v}{v_{\p}} \right) \sum_{i=0}^{k} {\cal{F}}_{i}^{\lf} v^{i

Re: [NTG-context] Cambria integral operator

2009-10-15 Thread Taco Hoekwater
font) virtual definitions are far from perfect (but that should not affect you, as you are using CambriaMath). * There is no support for skewed (text-style, with a diagonal bar, like in the frac feature) fractions yet in luatex. * The traditional TeX commands \atopwithdelims, \overwithdelims

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-22 Thread Hans Hagen
Barry Schwartz wrote: Are there fonts that have a or b in the numr and dnom features but where they do not work in frac? that is unrelated, the replacement rules refer to glyphs an doften they stick to digits so you get a/b with a large a and b and the fractional slash which then gives

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-21 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl skribis: so, its not that frac itself is the problem dealing with in the engine, because if so, many features would be a problem, it's just that font makers stick to a couple of simple rules like: (1) replace all digits slash digits by sup

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-19 Thread Hans Hagen
Barry Schwartz wrote: Hans Hagen pra...@wxs.nl skribis: but even then, if a font is not clear about issues, then one can get unwanted side effects (the frac feature for instance is often quite bugged and can only be applied selectively) Yeah, I think trying to be fancy with contextual

Re: [NTG-context] Small caps problem/bug with some fonts

2009-09-18 Thread Barry Schwartz
Hans Hagen pra...@wxs.nl skribis: but even then, if a font is not clear about issues, then one can get unwanted side effects (the frac feature for instance is often quite bugged and can only be applied selectively) Yeah, I think trying to be fancy with contextual substitutions is a bit like

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Xan
{\sigma, k} (n)= \max \{\frac{1}{k+1} \sum_{i=0}^k D_{\sigma, g, h} (t+i) \mid t \in \naturalnumbers, (g, h) \in K_{G, X} (n) \}. \stopformula Quan $\sigma$ sigui clara pel context o sigui una secció genèrica, escriurem simplement $\varphi_k (n)$\mysymbol{$\varphi_k$}. De forma trivial, $\varphi_0

Re: [NTG-context] Urgent: Strange index problems

2009-09-08 Thread Xan
$\varphi_k (n) \leq \varphi (n)$. \stopmylema \startmydemo Clarament, per a tot $n \in \naturalnumbers$, \startformula \startsplit \NC \varphi_k (n) \NC = \max \{ \frac{1}{k+1} \sum_{i=0}^k D_{\sigma, g, h} (t+i) \mid t \in \naturalnumbers, (g, h) \in K_{G, X} (n)\}\NR \NC \NC \leq \frac{1}{k+1

[NTG-context] mathalign with \{ ?

2009-09-02 Thread Xan
Hi, I have \placeformula[-] \startformula F(n) = \startdisplaycases \NC F(0) + 2 \ln n!! - \frac{n}{2} \ln 2 \MC \text{si } n \text{ parell} \NR \NC F(1) + 2 \ln n!! - \frac{n+1}{2} \ln 2 \MC \text{si } n \text{ senar} \NR \stopdisplaycases \stopformula and I want to put

Re: [NTG-context] mathalign with \{ ?

2009-09-02 Thread Aditya Mahajan
On Wed, 2 Sep 2009, Xan wrote: Hi, I have \placeformula[-] \startformula F(n) = \startdisplaycases \NC F(0) + 2 \ln n!! - \frac{n}{2} \ln 2 \MC \text{si } n \text{ parell} \NR \NC F(1) + 2 \ln n!! - \frac{n+1}{2} \ln 2 \MC \text{si } n \text{ senar} \NR \stopdisplaycases \stopformula

[NTG-context] Frac (was \everymath problem)

2009-08-20 Thread Aditya Mahajan
On Wed, 19 Aug 2009, Wolfgang Schuster wrote: And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5=mathstyle $\frac{a}{b}$ I am thinking

Re: [NTG-context] \everymath problem

2009-08-19 Thread Wolfgang Schuster
\displaystyle \to \everymath as (among other important things) \everymath does initialize \over And with \frac it can be configured at context low level (why no key for \setupmathematics?) \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5

Re: [NTG-context] How to move an inframed block?

2009-08-15 Thread rrvhassel
}\startmatrix[left={\left[\,},right={\,\right]}] \NC {\displaystyle \frac{\partial f^{i}}{\partial x^{j}}}(X)\NR \stopmatrix \neq 0$ for every $X\in\Omega$. \stopitemize}{} %\QED}{} \stoptext ### End Example. Question is now: How to move the frames, with the text Definition, Not only inside

Re: [NTG-context] support for SUBSCRIPT THREE etc. ?

2009-07-22 Thread Hans Hagen
unless the editor implements some fallback mechanism there's also a subscript font feature but often such features are implemented incomplete in fonts (like frac) and quite unuseable unless more logic in the engine is added (again, something that i will look into when i have a reason

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Mojca Miklavec
\alpha \black = \frac{{\red \sin \alpha}}{\blue \cos \alpha}$} (intersection of 0,0--30:1cm and 1,0--1,1) coordinate (t); \draw (0,0) -- (t); and the rest should work. I mean: under normal usage, most things that you'll want to try will work. If not, the author

[NTG-context] startcombination alignment problem

2009-06-10 Thread Xan
) node[right] {$x$}; %\draw[-] (0,-5.2) -- (0,5.2) node[above] {$y$}; % r = \frac{-1}{3} x + 3 %\filldraw (3,2) circle (2pt); %\filldraw (-3,4) circle (2pt); %\draw (-6,5) -- (6,1); %\draw (1, 3.5) node {$r$}; \stoptikzpicture} {Les seccions de $\pi(w(i))$.} { \starttikzpicture[scale=1

Re: [NTG-context] startcombination alignment problem

2009-06-10 Thread Xan
, amplitude=2pt}] (0,0) arc (-90:97.18:3.5 and 4); %\draw[very thin,color=gray] (-5.1,-5.1) grid [step=1] (5.9,5.9); %\draw[-] (-5.2,0) -- (6.2,0) node[right] {$x$}; %\draw[-] (0,-5.2) -- (0,5.2) node[above] {$y$}; % r = \frac{-1}{3} x + 3 %\filldraw (3,2) circle (2pt); %\filldraw (-3,4

[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan
[right] {$x$}; %\draw[-] (0,-5.2) -- (0,5.2) node[above] {$y$}; % r = \frac{-1}{3} x + 3 %\filldraw (3,2) circle (2pt); %\filldraw (-3,4) circle (2pt); %\draw (-6,5) -- (6,1); %\draw (1, 3.5) node {$r$}; \stoptikzpicture} { } \stopcombination} D'altra banda, siguin $w_1, w_2$ i $w \in A^*$ les

Re: [NTG-context] fonts --list --info

2009-05-13 Thread Vyatcheslav Yatskovsky
MtxRun | feature: fina, script: dflt, language: dflt MtxRun | feature: fina, script: cyrl, language: srb dflt MtxRun | feature: fina, script: grek, language: dflt MtxRun | feature: fina, script: latn, language: aze crt deu mol rom trk dflt MtxRun | feature: frac, script: dflt, language: dflt

[NTG-context] [***SPAM***] Bug? \getmarking fails under some circumstances

2009-05-12 Thread Oliver Heins
setzt die beiden letztgenannten Formate ein. Hier ein Beispiel für den Mathematiksatz von \TeX{}: \startlinecorrection \vskip-.5\baselineskip \placeformula \startformula \startmathalignment[m=2,distance=2em]%Notice distance=2em \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \nabla

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Florian M. Baudach
\startformula Knappheit = \frac{Stimmen\ f \ddot{u}r\ erstplatzierte\ Partei - Stimmen\ f\ddot{u}r\ zweitplatzierte\ Partei}{G\ddot{u}ltige\ Stimmen} \stopformula \startformula \ddot a \stopformula \usetypescript[times][ec] \setupbodyfont[times,11pt] \placeformula \startformula Knappheit = \frac{Stimmen

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Mojca Miklavec
that update I only get an crossed a with an accent, but no ä. \starttext \usetypescript[times][ec] \setupbodyfont[times,11pt] \placeformula \startformula  Knappheit = \frac{Stimmen\ f \ddot{u}r\ erstplatzierte\ Partei - Stimmen\ f\ddot{u}r\  zweitplatzierte\ Partei}{G\ddot{u}ltige\  Stimmen

Re: [NTG-context] Value of Metapost variable as a label

2009-03-23 Thread Eythan Weg
Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over label.bot

Re: [NTG-context] Value of Metapost variable as a label

2009-03-23 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Eythan Weg wrote: Aditya Mahajan adit...@umich.edu Sun, 22 Mar 2009 22:24:17 -0400 (EDT) On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent

Re: [NTG-context] Value of Metapost variable as a label

2009-03-22 Thread Mojca Miklavec
This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Value of Metapost variable as a label

2009-03-22 Thread Aditya Mahajan
On Mon, 23 Mar 2009, Mojca Miklavec wrote: This however fails: k:=2; label.bot(textext($1\over decimal k $), (10,0)) ; Try with \frac instead. Or prevent expansion of \over label.bot(textext($1\noexpand\over decimal k $), (10,0)) ; Aditya

[NTG-context] math problems

2009-03-15 Thread Mohamed Bana
={\,\right\vert}] % double vertical bars \definemathmatrix [Vmatrix] [left={\left\Vert\,},right={\,\right\Vert}] \def\PD#1#2{\frac{\partial #1}{\partial #2}} \def\ann{\mathscr{Q}^{\vphantom{*}}} \def\mathscr#1{{\gothic #1}} \def\cre{\mathscr{Q}^*} \def\dirac{{\mathfrak{D}}} \def\pform{\mathfrak{p

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Wolfgang Schuster
? Another way is to use the 'frac' feature. \definefontfeature[frac][default][script=latn,frac=yes] \definefont[minion][name:minionproregular*default] \def\utffrac{\groupedcommand{\setfontfeature{frac}}{}} \starttext \minion 1/2 \utffrac{1/2} 1/2 \utffrac{12345/6789} 12345/6789 \stoptext

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Hans Hagen
Thomas A. Schmitz wrote: On Mar 4, 2009, at 10:40 AM, Wolfgang Schuster wrote: What the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. there is a frac feature in some fonts but it might be crappy in some fonts

Re: [NTG-context] 1/2 symbol

2009-03-04 Thread Wolfgang Schuster
On Wed, Mar 4, 2009 at 11:45 AM, Hans Hagen pra...@wxs.nl wrote: What's the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. there is a frac feature in some fonts but it might be crappy in some fonts in the sense

Re: [NTG-context] some minor Problems

2009-03-04 Thread Hans Hagen
MtxRun | feature: flac, script: math, language: dflt MtxRun | feature: frac, script: cyrl, language: srb dflt MtxRun | feature: frac, script: grek, language: dflt MtxRun | feature: frac, script: latn, language: rom trk dflt MtxRun | feature: kern, script: cyrl, language: srb dflt MtxRun | feature

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Hans Hagen
that suggests it, thats the problem; open type fonts *don't* have any information about what features should be on by default; it's the renderers that kind of decide it and there is no standard, so any renderer will follow its own rules also, some features (like frac) are often implemented only partial

Re: [NTG-context] A few questions about aligned maths

2009-01-19 Thread Aditya Mahajan
. Below is an example. Any ideas? Thanks, Dave \placeformula \startformula \startalign \NC \sigma_{L_s}^2 \NC= E\left\{ \eps_L^2 \right\} \NR \NC \NC= \startmathlines \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)} \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth

Re: [NTG-context] A few questions about aligned maths

2009-01-17 Thread Dave
^2 \right\} \NR \NC \NC= \startmathlines \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)} \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu)\right) \right)^2 \right\} - \NR \NC E\left\{ \frac{2}{L_{\ref}^2

[NTG-context] create and grade multiple choice exams with MUCH an ConTeXT

2008-12-31 Thread batela
\def\mcquestionnumber{1} \mcquestionheader In how many ways can we select, from a set of 20 people, a committee of 3 different persons with a chair, secretary and member? \\ {$A$}: $20\cdot19\cdot18$ \ \ {$B$}: $\frac{20!}{3!}$ \ \ {$C$}: $20^3$ \ \ {$D$}: $3^{20}$ \ \ \mcquestionfooter

Re: [NTG-context] fullpage and XeTeX typescript

2008-12-23 Thread Yue Wang
a specific instance, applying such an instance to a whole document might fail because some features may not cover the whole possible set of combinations of characters (take frac as an example) and so usage demands knowlegde eventually we may have a set of predefined typescripts that cover most system

Re: [NTG-context] How to use Minion Pro

2008-12-03 Thread Yue Wang
] \stoptypescript \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes, protrusion=quality, expansion=quality] \definefontfeature[minionsmcp][language=dflt, script=latn, mode

[NTG-context] How to use Minion Pro

2008-12-02 Thread Fengnan Gao
] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes

Re: [NTG-context] How to use Minion Pro

2008-12-02 Thread Mohamed Bana
] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes

[NTG-context] Using a .fea file disable arabic contextual analysis

2008-10-31 Thread Khaled Hosny
=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,frac=yes, calt=yes,ccmp=yes,kern=yes,mark=yes, mkmk=yes,ardi=yes,featurefile=digit.fea] \font\ara=arabtype*fea at 20pt\ara \textdir TRT\pardir TRT بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم 1234567890 \bye lookup ArabicDigits { lookupflag 0

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Wolfgang Schuster
appreciated!! \starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot \gamma}{1 - \sigma} - H_S \cdot z^{-\phi} \cdot \frac{\phi - \sigma \cdot

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Wolfgang Schuster
a better way to deal with this kind of formulae in ConTeXt? Any help very much appreciated!! \starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle \startcases[left={\left[},right={\right]},style=\displaystyle] \NC H_M \cdot z^{1 - \phi

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Steffen Wolfrum
with this kind of formulae in ConTeXt? Any help very much appreciated!! \starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC \displaystyle H_M \cdot z^{1 - \phi} \cdot \frac{\phi - \sigma \cdot \phi}{\sigma - \phi} \cdot \frac{(1 - \phi) \cdot

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Oliver Buerschaper
If you are allowed to make some minor adjustments you may probably even leave out most of the \cdot commands, which will turn the formula even sleeker ... Just my two cents, Oliver \starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC

Re: [NTG-context] typescript and font features bug?

2008-09-21 Thread Hans Hagen
Yue Wang wrote: I can confirm it is related to the frac featue. The fonts in Acrobat Reader work ok. they might not hav eall features; also, they're not supposed to be used other than in acrobat

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Hans Hagen
, with no font features specified, it is OK. I do not know whether someone else can replicate this problem. But it happended on my laptop. All compiled are attached in this email. \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Hans Hagen
Zhaopeng Xing wrote: The attachment. remark: using those st ligatures is pretty annoying (ok for older docs in french etc) the funny punctuation is probably due to the frac features .. i found (in other fonts) that frac is a rather weird feature in the sense that it has to be applied very

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Zhaopeng Xing
etc) the funny punctuation is probably due to the frac features .. i found (in other fonts) that frac is a rather weird feature in the sense that it has to be applied very selectively if only because the contextual analysis definitions might not be complete at all for me it makes such features

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Jianning Dong
is it a rpwt! 2008/9/20 Hans Hagen [EMAIL PROTECTED] Zhaopeng Xing wrote: The attachment. remark: using those st ligatures is pretty annoying (ok for older docs in french etc) the funny punctuation is probably due to the frac features .. i found (in other fonts) that frac is a rather

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Yue Wang
I can confirm it is related to the frac featue. The fonts in Acrobat Reader work ok. However, Adobe FontFolio version appears to produce the problem. Moreover, Adobe Brioso has the same problem. On Sat, Sep 20, 2008 at 7:00 PM, Hans Hagen [EMAIL PROTECTED] wrote: Zhaopeng Xing wrote

<    1   2   3   4   5   6   7   8   >