This is experimental in upcoming beta:
\starttext
\definemathfence [fancybracket] [bracket] [command=yes,color=blue]
test $|x|$ test \par
test $||x||$ test (replaced) \par
test $a\left|\frac{1}{b}\right|c$ test \par
test $a\left||\frac{1}{b}\right||c$ test (kept) \par
\startbuffer
test
,left}]
\STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
\frac{1}{6}x+\frac{21}{4} \NR}
\STEP{2}{\NC 12\times\NC \NC \NC \NR}
\STEP{3}{\NC \NC \left(12\cdot\frac{2}{3}x\right) -
\left(12\cdot\frac{3}{4}\right) \NC = \NC \left(12\cdot\frac{1}{6}x
\startalign[n=4,align={right,right,middle,left}]
\STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
\frac{1}{6}x+\frac{21}{4} \NR}
\STEP{2}{\NC 12\times\NC \NC \NC \NR}
\STEP{3}{\NC \NC \left(12\cdot\frac{2}{3}x\right) -
\left(12\cdot\frac{3}{4}\right
\StartStepping{10}
\startformula
\startalign[n=4,align={right,right,middle,left}]
\STEP{1}{\NC \NC \frac{2}{3}x-\frac{3}{4} \NC = \NC
\frac{1}{6}x+\frac{21}{4} \NR}
\STEP{2}{\NC 12\times\NC \NC \NC \NR}
\STEP{3}{\NC \NC \left(12\cdot\frac{2}{3
]
\NC $\displaystyle \frac{2}{3}x-\frac{3}{4}$ \NC $\displaymath {}=
\frac{1}{6}x+\frac{21}{4}$ \NC \NR
\NC $\displaystyle \left(12\cdot\frac{2}{3}x\right) -
\left(12\cdot\frac{3}{4}\right) $
\NC $\displaystyle{}= \left(12\cdot\frac{1}{6}x\right) +
\left(12\cdot\frac{21}{4}\right)$ \NC \NR
Indeed it seems like the alignment is good with \dfrac, but this does
not solve my problem, since I wish to also use fractions with
script-size or scriptscript-size (\xfrac, \xxfrac). The specific
formula I have is
\startformula
f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t
, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t) +
U(t-s)) + \frac{(S(u-t) +
U(t-s))^2}{(u-s)}}{2(t-s)(u-t)}}}{\sqrt{2\pi\frac{(t-s)(u-t)}{u-s}}}
\stopformula
Thanks,
Janne
OK !
So you need an expert, I'm just a newbie :)
I would be interested to know how to do that.
Best, Roland
formula I have is
\startformula
f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t) +
U(t-s)) + \frac{(S(u-t) +
U(t-s))^2}{(u-s)}}{2(t-s)(u-t)}}}{\sqrt{2\pi\frac{(t-s)(u-t)}{u-s}}}
\stopformula
Thanks,
Janne
OK !
So you need an expert, I'm just a newbie :)
I would be interested
with
script-size or scriptscript-size (\xfrac, \xxfrac). The specific
formula I have is
\startformula
f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t) +
U(t-s)) + \frac{(S(u-t) +
U(t-s))^2}{(u-s)}}{2(t-s)(u-t)}}}{\sqrt{2\pi\frac{(t-s)(u-t)}{u-s}}}
\stopformula
Thanks,
Janne
On Mon, 28 Jan 2013, Wolfgang Schuster wrote:
I'll look into fractions later this week. All the fraction macros of ConTeXt
were based on \genfrac macro from AMSTeX so, in principle, they should behave
in the same manner.
The \frac command uses \vcenter for the content while \dfrac
Hi Janne,
Personnally I prefer to use the Plain TeX alternative \over (which works fine
in ConTeXt), that is
${a \over b}$
instead of
$\frac{a}{b}$
Compare the following two outputs in the example you want to typeset: I think
the second is more or less what you want
\starttext
.
The \frac command uses \vcenter for the content while \dfrac and \tfrac only
set the mathstyle before placing the content with the \over primitive.
Then something has been lost in the MkII - MkIV transition. I am pretty sure
(cannot check right now), that the code in MkII used \genfrac
On Mon, 28 Jan 2013, Otared Kavian wrote:
Hi Janne,
Personnally I prefer to use the Plain TeX alternative \over (which works fine
in ConTeXt), that is
${a \over b}$
instead of
$\frac{a}{b}$
Compare the following two outputs in the example you want to typeset: I think
On Mon, Jan 28, 2013 at 09:33:52PM +0100, Wolfgang Schuster wrote:
The \frac command uses \vcenter for the content while \dfrac and
\tfrac only set the mathstyle before placing the content with the
\over primitive.
The use of \vcenter seems odd here as it means the fraction rule
is related to the positioning of minus signs in
front of fractions. I would expect the minus sign to align with the
horizontal line of the fraction, as it does on LaTeX. Below is an example
formula to illustrate my point. The result seems to be independent of the
font in use.
\startformula
-\frac
to illustrate my point. The result seems to be
independent of the font in use.
\startformula
-\frac{e^{\frac{4}{5}}}{4}
\stopformula
Janne
Hi Janne,
With \dfrac it looks good.
With \fraction the minus sign is on the top of the fraction.
Best regards, Roland
If I want to say that dy/dx is calculated at z
then in latex I can write
\frac{dy}{dx}\Big|_z
The \Big is to scale | according to the size of the \frac.
I am using newmat and amsl modules that have supported
the native math mode commands till now. But context does
not recognise \Big.
What
On Wed, 23 Jan 2013, Devendra Ghate wrote:
If I want to say that dy/dx is calculated at z
then in latex I can write
\frac{dy}{dx}\Big|_z
The \Big is to scale | according to the size of the \frac.
I am using newmat and amsl modules that have supported
the native math mode commands till now
On 01/23/2013 09:27 PM, Aditya Mahajan wrote:
On Wed, 23 Jan 2013, Devendra Ghate wrote:
If I want to say that dy/dx is calculated at z
then in latex I can write
\frac{dy}{dx}\Big|_z
The \Big is to scale | according to the size of the \frac.
I am using newmat and amsl modules that have
-6y-xy)$
\item $\B (-0{,}5x)\cdot (3y-5x)$
\item $\B (2z-3x+5)\cdot (0{,}5z+x)$
\item $\B 8ac\cdot 3\frac{1}{4}ax$
\item $\B 2\frac{1}{2}ab\cdot 6ax$
\item $\B \frac{2}{3}ax\cdot 1\frac{1}{2}by$
\item $\B 7\frac{1}{2}ay\cdot 1\frac{3}{5}ax$
\item $\B (+4ab)\cdot (-15xy)$
\stopitemize
\stoptext
now
+5)\cdot (0{,}5z+x)$
\item $\B 8ac\cdot 3\frac{1}{4}ax$
\item $\B 2\frac{1}{2}ab\cdot 6ax$
\item $\B \frac{2}{3}ax\cdot 1\frac{1}{2}by$
\item $\B 7\frac{1}{2}ay\cdot 1\frac{3}{5}ax$
\item $\B (+4ab)\cdot (-15xy)$
\stopitemize
\stoptext
now with LuaTeX I get very large vertical distances. Much more
Am 25.11.2012 um 02:13 schrieb Kip Warner k...@thevertigo.com:
Hey list,
I am trying to typeset the Verhulst equation which contains a Euler
constant which I cannot get to display correctly:
\placeformula[formula:Verhulst equation]
\startformula
\math{P(t) = \frac{K P_0 \Eulerconst^{rt
Hey list,
I am trying to typeset the Verhulst equation which contains a Euler
constant which I cannot get to display correctly:
\placeformula[formula:Verhulst equation]
\startformula
\math{P(t) = \frac{K P_0 \Eulerconst^{rt}}
{K + P_0(\Eulerconst^{r t} - 1)}}
\stopformula
On 11/14/2012 11:16 AM, Marcin Borkowski wrote:
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item
.)
Michael
MWE:
\starttext
%Some text
\dorecurse{10}{
\startitemize
\item Find a well-ordered set.
\startitemize[n, columns, four][stopper=,left=(, right=)]
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers
(a):
···date: 2012-11-14, Wednesday···from: Marcin Borkowski···
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2
in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item xyz% $\frac{x^5-3}{x^3+x-2}$.
\stopitemize
\stoptext
If we remove the percentage signs in the items, an additional
vertical skip appears
, columns, four][stopper=,left=(, right=)]
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals$
\stopitemize
\stopitemize
\stoptext
___
If your
in mkii and mkiv
\item sub-one
\item sub-two
\item sub-three
\item sub-four
\stopitemize
\hairline
\startitemize[n=4] % --- gives correct output in mkii, but not in mkiv
\item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$
\item $[0, 1)$
\item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$
\item $ \reals
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item xyz% $\frac{x^5-3}{x^3+x-2}$.
\stopitemize
···date: 2012-11-14, Wednesday···from: Marcin Borkowski···
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a):
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3
,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item xyz% $\frac{x^5-3}{x^3+x-2}$.
\stopitemize
\stoptext
If we remove the percentage signs in the items, an additional vertical
skip appears. Is it a feature or a bug?
Hi, could anybody look into it? I tried also \smash-ing the formulae
This minimal example behaves in a strange way:
\starttext
Some text
\startitemize[columns,two,joinedup]
\item abc% $\frac{x^2-x+3}{x^2+x-3}$;
\item xyz% $\frac{x^5-3}{x^3+x-2}$.
\stopitemize
\stoptext
If we remove the percentage signs in the items, an additional vertical
skip appears
(\\frac{1}{2}{\\bf r}_1 \\rightarrow {\\bf r}_1
\\quad\\Rightarrow\\quad)
matrixfunction.rowMult(mat, 1, 1/2)
context.NC()
matrixfunction.print_matrix(mat)
context.NR()
context.NC()
context(-2{\\bf r}_1 + {\\bf r}_4 \\rightarrow {\\bf r}_4
\\quad\\Rightarrow\\quad)
matrixfunction.rowMultSum(mat, 4
% to prevent error message from
\displaymath
\starttext
\mathematics {\frac{1}{2}}
\displaymathematics{\frac{1}{2}}
\inlinemathematics {\frac{1}{2}}
\displaymath{\frac{1}{2}}
\inlinemath {\frac{1}{2}}
\textmath {\frac{1}{2}}
\stoptext
Wolfgang
}
\usepackage[paperwidth=600pt,paperheight=450pt]{geometry}
\def\adjustdisplay#1 {
\ifnum#10
\newdimen\mydimen
\mydimen\abovedisplayskip \abovedisplayskip\mydimen
\mydimen\belowdisplayskip \belowdisplayskip\mydimen
\fi
}
\def\foo{
\vskip0.5ex
\[\frac{x}{1} = \frac{1}{x-1}\]
\vskip0.5ex
\[x(x
)}. JeÅli II wybierze~\math{2}, przeciÄtna
wygrana~I wynosi~\math{3p-4(1-p)}. Aby wartoÅci te byÅy równe,
musi byÄ \math{p=\frac{7}{12}}. Zatem gracz~I powinien
wybraÄ~\math{1} z~prawdopodobieÅstwem \math{\frac{7}{12}},
a~\math{2} z~prawdopodobieÅstwem~\math{\frac{5
; \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9
\frac ...acmode \expandafter \math_fractions_auto
\or \expandafter
\math_fra...
l.5 \NC h \NC= ut + \frac
12 gt^2 \NR
! Extra
{p=\frac{7}{12}}. Zatem gracz~I powinien
wybraÄ~\math{1} z~prawdopodobieÅstwem \math{\frac{7}{12}},
a~\math{2} z~prawdopodobieÅstwem~\math{\frac{5}{12}}. Jego
przeciÄtna wygrana wynosi
\math{-2\frac{7}{12}+3\frac{5}{12}=3\frac{7}{12}-4\frac{5}{12}=\frac{1}{12
]
\quittypescriptscanning
\stoptypescript
\protect
\usetypescript[PalatinoTest]
\setupbodyfont[PalatinoTest,12pt]
\starttext
\input knuth \par
\startformula
\int_0^\infty \frac{1}{x} {\rm d} x
\stopformula
\stoptext
In this case \int and \sum are of the same size, so it appears as a
design choice
Still get a small integral sign in the latest beta (2012.05.26 16:40).
Times works perfectly. Am I doing something wrong here?
\definetypeface[palatino][rm][serif][palatino]
\definetypeface[palatino][mm][math][palatino]
\setupbodyfont[palatino]
\starttext
\startformula
\int_0^\infty \frac{1}{x
][palatino]
\setupbodyfont[palatino]
\starttext
\startformula
\int_0^\infty \frac{1}{x} {\rm d} x
\stopformula
\stoptext
confirmed (again)
--
luigi
___
If your question is of interest to others as well, please
?
\definetypeface[palatino][rm][serif][palatino]
\definetypeface[palatino][mm][math][palatino]
\setupbodyfont[palatino]
\starttext
\startformula
\int_0^\infty \frac{1}{x} {\rm d} x
\stopformula
\stoptext
confirmed (again)
Stupid question: why we are not using
texgyrepagella-math-regular.otf
(2012.05.26 16:40).
Times works perfectly. Am I doing something wrong here?
\definetypeface[palatino][rm][serif][palatino]
\definetypeface[palatino][mm][math][palatino]
\setupbodyfont[palatino]
\starttext
\startformula
\int_0^\infty \frac{1}{x} {\rm d} x
\stopformula
\stoptext
confirmed
\protect
\usetypescript[PalatinoTest]
\setupbodyfont[PalatinoTest,12pt]
\starttext
\input knuth \par
\startformula
\int_0^\infty \frac{1}{x} {\rm d} x
\stopformula
\stoptext
In this case \int and \sum are of the same size, so it appears as a design
choice, and more importantly, we can patch
Works in text, \strike{two}too!
\stoptext
Don't use {... \over ...} as it will mess up the calculation of math
style. \frac{...}{...} is more robust.
Aditya
___
If your question is of interest to others as well
? E
You want to edit file Source/Terms_and_Concepts/Terms_and_Concepts.tex
at line 120
The line it is referring to is the last line of the following code
snippet:
...
\placeformula[formula:Verhulst equation]
\startformula
\math{P(t) = \frac{K P_0 {\it e}^{rt}}
{K + P_0({\it e
tufte\par
\placeformula\startformula
q = \delta \frac{\partial p}{\partial x} =
\delta(\phi) p_{vsat}(\theta) \frac{\partial \phi}{\partial x} =
\left[ \frac{\delta_a}{\mu(\theta)} p_{vsat}(\theta) \right]
\frac{\partial \phi}{\partial x}
\stopformula
\input tufte\par
Thanks,
--
Peter Park Nelson
)
debug:write(param)
-- tex.print(param)
end
\stopluacode
\def\testmac#1{\directlua{testfun('#1')}}
\starttext
$\frac{x_\alpha+y_\beta}{z_\gamma}$
\testmac{\frac{x_\alpha+y_\beta}{z_\gamma}}
\stoptext
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
Dear ConTeXt folks,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
\stopformula
\CONTEXT\ \contextmark
Am Sonntag, den 04.12.2011, 09:52 +0100 schrieb Wolfgang Schuster:
Am 03.12.2011 um 19:56 schrieb Paul Menzel:
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
Dear ConTeXt folks,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
\startformula
n \choose \frac{n}2
\stopformula
\CONTEXT\ \contextmark\ \contextversion\ with \texenginename
Dear Paul,
using the following minimal example
\starttext
Using \type{\choose} in text $n \choose \frac{n}2$.
Please try $\displaystyle{n \choose \frac{n}2}$.
It is working for me.
I hope it is what you are looking for.
best regards,
Dalyoung
=yes,trep=yes,init=yes,size=yes]
%some default features
\definefontfeature[frac][default][frac=yes] % opentype 'frac' feature for nice
fractions
\definefontfeature[sups][default][sups=yes]
\definefontfeature[onum][default][onum=yes] % old-style figures
\definefontfeature[lnum][default][lnum=yes
: 30 \unit{AC}
30: $\frac{10 \unit{m/s}}{20 \unit{m/s}} $
31: {\ss 30 \unit{kilo pascal square meter / second kelvin}}
32: \unit{123.22^-3 km/s}
33: \unit{123.22e-3 km/s}
100: \unit{10 mm}
101: \unit{10 km}
102: \unit{10,2 mA}
103: \unit{123 kA}
104: \unit{0,001 MA}
105: \unit{1 dal}
106: \unit{2.21
$ and one can always use $\frac{\text{1}}{\text{2}}$
or something similar :).
there is some fall back mechanism that does that but as soon as one
defined his/her own typescript that can interfere
Hans
accompanying math glyphs instead of giving
up in the middle of the run? Of course that will give suboptimal
result (in particular everything inside $math$ will be in LM as
opposed to original font), but at least it won't complain about a
missing $\bullet$ and one can always use $\frac{\text{1
Am 26.09.2011 um 00:23 schrieb Aditya Mahajan:
On Mon, 26 Sep 2011, R. Ermers wrote:
My one and only math item -- $\frac1{40}$ -- does cause a problem though.
Apparently there is no math fallback.
Hard to say without an example.
Any suggestions?
Use text mode fractions! \frac{1
On Mon, Sep 26, 2011 at 09:34:45AM +0200, Wolfgang Schuster wrote:
Any suggestions?
Use text mode fractions! \frac{1}{40}.
This is still typeset in math mode. A alternative is to write the fraction as
“1/40”.
¼÷10, 0.025.
How about:
\definetypeface [xits] [mm] [math] [xits] [default
Am 26.09.2011 um 10:49 schrieb Alan Braslau:
On Mon, Sep 26, 2011 at 09:34:45AM +0200, Wolfgang Schuster wrote:
Any suggestions?
Use text mode fractions! \frac{1}{40}.
This is still typeset in math mode. A alternative is to write the fraction
as “1/40”.
¼÷10, 0.025
Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
\definefontfeature[frac][frac=yes,script=latn]
\setupbodyfont[cambria]
Is there a font in Standalone which can be used to demonstrate the
behavior?
\starttext
1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
With `{\setff{frac}1/40
On Mon, Sep 26, 2011 at 11:31:09AM +0200, Paul Menzel wrote:
Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
\definefontfeature[frac][frac=yes,script=latn]
\setupbodyfont[cambria]
Is there a font in Standalone which can be used to demonstrate the
behavior?
XITS
Thanks all, for your reactions.
I tried them all, but the process still stops at the \frac, which I changed now
into \frac{1}{40}, whatever I do.
The gentium font does not load properly; the file is typeset in Times instead.
I get these strange references to gentium instead.
Regards,
Robert
On Mon, 26 Sep 2011, R. Ermers wrote:
My one and only math item -- $\frac1{40}$ -- does cause a problem though.
Apparently there is no math fallback.
Hard to say without an example.
Any suggestions?
Use text mode fractions! \frac{1}{40}.
Aditya
pascal square meter / second}
30 \su{kilo pascal square meter / kelvin second}
\su{30 kilo pascal square meter / kelvin second}
$30 \su{kilo pascal square meter / kelvin second }$
30 \su{crap}
30 \su{AC}
$ \frac{10 \su{m/s}}{20 \su{m/s}} $
{\ss 30 \su{kilo pascal square meter / second kelvin
}
30 \su{kilo pascal square meter / second}
30 \su{kilo pascal square meter / kelvin second}
\su{30 kilo pascal square meter / kelvin second}
$30 \su{kilo pascal square meter / kelvin second }$
30 \su{crap}
30 \su{AC}
$ \frac{10 \su{m/s}}{20 \su{m/s}} $
{\ss 30 \su{kilo pascal square meter / second
atom. To see the difference,
%D consider
%D
%D \startbuffer
%D \startformula
%D 2\left(\frac {3}{4} \right) \qquad \hbox{ vs } \qquad
%D 2\biggl( \frac {3}{4} \biggr)
%D \stopformula
%D
%D and
%D
%D \startformula
%D \Pr\left(\frac {3}{4} \right) \qquad \hbox{ vs } \qquad
%D \Pr
is not viewable now.
%D The \type{\left} and \type{\right} generate a math atom of type inner,
%D while for math sets, we want a math open atom. To see the difference,
%D consider
%D
%D \startbuffer
%D \startformula
%D 2\left(\frac {3}{4} \right) \qquad \hbox{ vs } \qquad
%D 2\biggl( \frac {3}{4
frac= 1/#List
if (oldFrac + frac = 1)
then
frac = 0
oldFrac = 1
gtk.main_quit()
end
gtk.progress_bar_set_fraction(bar, oldFrac + frac)
end
function Progressbar()
local progress = gtk.progress_bar_new()
gtk.progress_bar_set_text(progress
+ 3 + \dotsb + n = \frac{n}{2} (n + 1)
\stopformula
\stoptext
This is the error.
[…]
system begin file dotsb.tex at line 1
! Undefined control sequence.
system tex error on line 5 in file dotsb.tex: Undefined
control
Hi
I am using context to run a metapost graph. I am however unable to
insert a label with \frac, since this is not pure Tex but Latex. This
seems to be a known problem for metapost:
-Seems for metapost only, one should add %latex
(http://ryanmlayer.wordpress.com/tag/metapost/).
-I saw also
$) scaled 1.00, (0,
10));
label.top(textext($\displaystyle \frac{\sigma_t}{a}$) scaled 1.00, (1,
1));
works ok (only tested mkiv); also \frac is available in context
Hans
-
Hans
mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
I tried then to simply add \usemodule[newmat] and compile with context,
but did not work... Code below, error message below below...
Thanks a lot
Matthieu
Code:
\usemodule[newmat]
\starttext
\setupMPpage[offset
ubuntu).
no, use the 'context' command as texexec is for mkii
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I tried
, and I want
halfline spacing around formulas in text, because a full line is
definitely too much. This is what I'm compiling:
\setupbodyfont[10pt,serif] % should be lm?
\setuplayout[grid=yes]
\setuptextformulas[step=halfline]
\starttext
\showgrid
Testing inline math: \gform{x_2 = \frac{a}{b
what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I tried then to simply add \usemodule[newmat] and compile
? Would you be so nice and
send complete file, so I can check what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv there is no m-newmath
I
with the code you sent... you didn't? Would you be so nice and
send complete file, so I can check what is wrong?
I saw also that, as you mention, context has a \frac:
http://wiki.contextgarden.net/Math_with_newmat
indeed, \frac is already there for a long time (ams compatible command)
btw, in mkiv
On 26-4-2011 5:17, Matthieu Stigler wrote:
MTXrun | current version: 2009.11.26 16:2
that's rather old for a luatex/context combination
on the wiki you can find how to install minimals (takes a few minutes
only, no compilation needed)
Hans
=on, I get a different result, but it's not better. Code:
Testing inline math: \gform{x_2 = \sqrt{\frac{a}{b_2}}}. The following
line should be seperated from this one with half a line, but it isn't.
In this case, there is no space and the root sign reaches deeply into
the following line.
Regards
=halfline]
\starttext
\showgrid
Testing inline math: \gform{x_2 = \frac{a}{b}}. The following line
should be seperated from this one by half a line, but it isn't.
Testing inline math: \gform[-]{x_2 = \frac{a}{b}}. The following line
should be seperated from this one by half a line, but it isn't
,serif] % should be lm?
\setuplayout[grid=yes]
\setuptextformulas[step=halfline]
\starttext
\showgrid
Testing inline math: \gform{x_2 = \frac{a}{b}}. The following line
should be seperated from this one by half a line, but it isn't.
Testing inline math: \gform[-]{x_2 = \frac{a}{b
Thanks for the suggestion!
With grid=on, I get a different result, but it's not better. Code:
Testing inline math: \gform{x_2 = \sqrt{\frac{a}{b_2}}}. The following
line should be seperated from this one with half a line, but it isn't.
In this case, there is no space and the root sign reaches
, but use roman. You should not use \rm
for force since you would get mathematical spacing instead of proper
kerning.
\startformula
{\forceQA \over \massQA} = \accelerationQA
\stopformula
Try to use \frac{}{} instead of \over. There are discussions about
disabling \over in luatex (or at least
][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures
\definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4
\definefontfeature[pnum][default][pnum=yes] % Proportional Figures
\definefontfeature[tnum][default][tnum=yes] % Tabular Figures
\definefontfeature[hist
,maxheight:1.4,strut]
\setuplayout[grid=verytolerant]
% \setuplayout[grid=tolerant]
\setupbodyfont[palatino]
\starttext
test\crlf
$b = \frac p q$\crlf
test
\stoptext
Andreas
___
If your question is of interest
=yes,trep=yes,init=yes,size=yes]
\definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures
\definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g. 3/4
\definefontfeature[pnum][default][pnum=yes] % Proportional Figures
\definefontfeature[tnum
Dear Otared,
Am Freitag, den 04.02.2011, 20:45 +0100 schrieb Otared Kavian:
I think one should use \overline instead of \overbar in your example. For me
the following works fine with mkiv:
\starttext
\startformula
\overline{q} = \frac{\overline{q}}{\overline{α_0
Dear ConTeXt folks,
I do have some problem with the following example (also attached,
executed with `context test`).
\starttext
\startformula
\overbar{q} = \frac{\overbar{q}}{\overbar{α_0}}
\stopformula
In text $\overbar{q} = \frac{\overbar{q}}{\overbar
Hi Paul,
I think one should use \overline instead of \overbar in your example. For me
the following works fine with mkiv:
\starttext
\startformula
\overline{q} = \frac{\overline{q}}{\overline{α_0}}
\stopformula
In text $\overline{q} = \frac{\overline{q
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
401 - 500 of 711 matches
Mail list logo