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
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
\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
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
][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
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
\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
\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
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
{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
,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
,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
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
]
\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
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
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
[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
:
===
\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
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
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
\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
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
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
' 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
:
* 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
\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
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
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
$\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
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
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
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
. 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
}.
\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
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
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
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
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
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
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
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
Small Capitals From Capitals
caltContextual Alternates
caseCase-Sensitive Forms
cpspCapital Spacing
dligDiscretionary Ligatures
dnomDenominators
finaTerminal Forms
fracFractions
histHistorical Forms
kernKerning
ligaStandard Ligatures
lnumLining Figures
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
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
\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
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
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
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
\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
]
\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
:
--
\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
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
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
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
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
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
{\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
$\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
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
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
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
\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
}\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
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
\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
) 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
,
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
[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
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
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
\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
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
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
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
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
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
={\,\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
?
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
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
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
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
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
. 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
^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
\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
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
]
\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
]
\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
]
\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
=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
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
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
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
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
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
, 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
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
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
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
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
501 - 600 of 721 matches
Mail list logo