On 04/26/2013 08:31 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
even though I consider myself a serious Ctx user, Dutch is still Greek
to me.
How about to prompt the user to encode a displayed math, e.g. "b/a2^3"
to be answered "$\frac{b}{a_2^3}$"?
Well, in tha
d keyword/option" may mean a
unanswered/unanswerable question...
How about to prompt the user to encode a displayed math, e.g. "b/a2^3" to be answered
"$\frac{b}{a_2^3}$"?
Best regards,
Lukas
If that doesn't help, we make them
pronounce it...
Thomas
--
Ing. Lu
On 4/16/2013 1:04 PM, Marco Patzer wrote:
On 2013–04–16 Hans Hagen wrote:
- frac fixed
Thanks.
- fixed more restrictive tex file lookup in run
context s-pre-17.mkiv
still works on my machine. I'm fine with that, just want to let you
know, it might not be the intended behaviour.
On 2013–04–16 Hans Hagen wrote:
> - frac fixed
Thanks.
> - fixed more restrictive tex file lookup in run
context s-pre-17.mkiv
still works on my machine. I'm fine with that, just want to let you
know, it might not be the intended behaviour.
Marco
signature.asc
Descripti
Hi,
I uploaded a beta:
- combinations extended cf mails on this list
- new windows stubs (might need testing)
- frac fixed
- fixed more restrictive tex file lookup in run
Hans
-
Hans
On 4/16/2013 9:52 AM, Marco Patzer wrote:
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string "\directlua "]:1: attempt to call field 'math_frac' (a n
il value)
stack traceback:
[string "\directlua "]:1: in main chunk.
ah, missing file, i'll upload a new zip (fir
On Tue, 16 Apr 2013 09:52:08 +0200
Marco Patzer wrote:
> Hi,
>
> \starttext
> \math{\frac12}
> \stoptext
>
> gives
>
> ! LuaTeX error [string "\directlua "]:1: attempt to call field
> 'math_frac' (a n il value)
> stack traceback:
> [string "\directlua "]:1: in main chunk.
>
>
> Mar
Hi,
\starttext
\math{\frac12}
\stoptext
gives
! LuaTeX error [string "\directlua "]:1: attempt to call field 'math_frac' (a n
il value)
stack traceback:
[string "\directlua "]:1: in main chunk.
Marco
signature.asc
Description: Digital signature
_
Oh, I didn't know that. For my feelings, all variables should have the
same size here (a,b and c).
Hopefully ok now ... I also made the mathstyle more conformant the new
math style mechanism and added coloring of the fraction rule.
\definemathfraction[innerfrac][frac][alternative=inner
v lua stats > fonts load time: 0.249 seconds
mkiv lua stats > luatex banner: this is luatex, version beta-0.75.0-2013031411 (tex live 2013/dev)(rev 4589)
mkiv lua stats > control sequences: 36706 of 65536 + 10
mkiv lua stats > current memory usage: 26 MB (ctx: 26 MB)
mkiv lua stats >
On 1/29/2013 12:20 AM, Khaled Hosny wrote:
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
\startmathalignment
\NC 3x + 7y \NC = -23 \NR[+]
\NC 5x + 4y \NC = -23 \NR
\stopmathalignment
\stopformula
\stopexercici
\stopcolumns
\subject{Opció A}
\startexercici Resoleu pel mètode que vulgueu:
\placeformula
\startformula
\startmathalignment
\NC \frac{x}{3} + \frac{4y}{5} - 3(x+y) \NC = -
tode de reducció:
\placeformula
\startformula
\startmathalignment
\NC 3x + 7y \NC = -23 \NR[+]
\NC 5x + 4y \NC = -23 \NR
\stopmathalignment
\stopformula
\stopexercici
\stopcolumns
\subject{Opció A}
\startexercici Resoleu pel mètode que vulgueu:
\placeformula
\startformula
\startmathalignment
\N
Hi,
I have two problems with vertical position, one in itemize and one in
math. The example below show them both.
\starttext
\startitemize[n]
\item
\startitemize[a][left={},right={)},stopper=]
\item Bla bla
$\theta = \arctan\bigl(\frac{\bar{y}^2}{\bar{x}^2}\bigr)$ % comment
this line out to see
Hi Aditya,
I made a mathstyle mechanism ... used in fences first:
\starttext
\startTEXpage[offset=1ex]
\def\TestMe#1%
{\NC \ttbf #1
\NC \ruledhbox{$\setupmathstyle[#1]x + x_j^2 + x_i^{e^2} + \frac{1}{x}$}
\NC \ruledhbox{$\setupmathstyle[#1,small]x + x_j^2 + x_i^{e^2} +
\frac{1}{x
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 $a
table:math]
\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
e 3.
Troy
\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\c
artformula
\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
ight,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) \NC = \NC \left(12\cdot\f
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
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
the
;> should behave in the same manner.
>>
>> 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
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
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 \dfra
m, 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) +
>>> U(t-s))
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 interest
, 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, R
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
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
problem I have 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.
\star
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
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
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 is
-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 :
> 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) = \fr
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
The
On 11/14/2012 11:16 AM, Marcin Borkowski wrote:
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski 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
e, and all itemizations will appear.)
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 -
> Dnia 2012-11-10, o godz. 03:23:11
>>> Marcin Borkowski napisał(a):
>>>
>>>> This minimal example behaves in a strange way:
>>>>
>>>> \starttext
>>>> Some text
>>>> \startitemize[columns,two,joinedup]
>&g
t output both 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 \natural
, 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
> 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 t
Am 14.11.2012 11:38, schrieb Philipp Gesang:
·
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski 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
·
> Dnia 2012-11-10, o godz. 03:23:11
> Marcin Borkowski 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+
Dnia 2012-11-10, o godz. 03:23:11
Marcin Borkowski 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}$.
>
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
NC()
context("{\\bf r}_1 \\leftrightarrow {\\bf r}_3 \\quad\\Rightarrow\\quad")
matrixfunction.rowChange(mat, 1, 3)
context.NC()
matrixfunction.print_matrix(mat)
context.NR()
context.NC()
context("\\frac{1}{2}{\\bf r}_1 \\rightarrow {\\bf r}_1
\\quad\\Rightarrow\\quad")
matrixf
lstopdmath\Ustopdisplaymath % to prevent error message from
\displaymath
\starttext
<\mathematics {\frac{1}{2}}>
<\displaymathematics{\frac{1}{2}}>
<\inlinemathematics {\frac{1}{2}}>
<\displaymath{\frac{1}{2}}>
<\inlinem
}
\usepackage[paperwidth=600pt,paperheight=450pt]{geometry}
\def\adjustdisplay#1 {
\ifnum#1>0
\newdimen\mydimen
\mydimen\abovedisplayskip \abovedisplayskip\mydimen
\mydimen\belowdisplayskip \belowdisplayskip\mydimen
\fi
}
\def\foo{
\vskip0.5ex
\[\frac{x}{1} = \frac{1}{x-1}\]
\vskip0.5ex
\[
i
\math{-2p+3(1-p)}. 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~prawdopod
gn
4 \NC v \NC = u + at \NR
5 >> \NC h \NC= ut + \frac12 gt^2 \NR
6 \stopalign \stopformula
7
8 \stoptext
9
<template> \endtemplate
\math_alignment_NC ->\aligntab
l.5 \NC h \NC
= ut + \frac12 gt^2 \NR
! Use of \expandafter doesn't match its
yznaczymy~\math{p} tak, żeby
gracz~I wygrywaÅ przeciÄtnie {\em tyle samo}, obojÄtnie, co
zrobi gracz~II.
JeÅli gracz~II wybierze~\math{1}, przeciÄtna wygrana~I wynosi
\math{-2p+3(1-p)}. JeÅli II wybierze~\math{2}, przeciÄtna
wygrana~I wynosi~\math{3p-4(1-p)}.
]
\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
\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 the
s perfectly. Am I doing something wrong here?
>>>
>>> \definetypeface[palatino][rm][serif][palatino]
>>> \definetypeface[palatino][mm][math][palatino]
>>>
>>> \setupbodyfont[palatino]
>>>
>>> \starttext
>>>
>>> \sta
netypeface[palatino][rm][serif][palatino]
>> \definetypeface[palatino][mm][math][palatino]
>>
>> \setupbodyfont[palatino]
>>
>> \starttext
>>
>> \startformula
>> \int_0^\infty \frac{1}{x} {\rm d} x
>> \stopformula
>>
>> \stoptext
> co
[math][palatino]
>
> \setupbodyfont[palatino]
>
> \starttext
>
> \startformula
> \int_0^\infty \frac{1}{x} {\rm d} x
> \stopformula
>
> \stoptext
confirmed (again)
--
luigi
___
If your question is
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
0,102 \cdot \frac{2 \cdot F \cdot \sin\frac{θ}{2}}{d^2} \doteq
0,1891 \cdot \frac{F}{d^2}
\stopformula
\stoptext
Thanx Jaroslav Hajtmar
___
If your question is of interest to others as well, please add an entry to
, \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, please a
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
u 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}^{r
nction testfun(param)
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+
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$.
> >
> >
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
>
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 reg
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
s,palt=yes,tlig=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
\definefontfeatur
\unit{crap}
29: 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}
issing $\bullet$ 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 i
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, 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
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}}
Wit
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
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&qu
y 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”.
Wolfgang
___
If your question is of interest to others as well, please add
some font doesn't provide 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 ca
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
Hi,
this gives a very bad result (the limits overlap the integral sign):
\usetypescript[pagella]
\setupbodyfont[pagella]
\starttext
\startformula
\int_a^b\frac{dx}{x^2+1}
\stopformula
\stoptext
A similar thing happens with termes, but with LM it's okay.
Am I doing something
er per second}
> 10 \su{cubic meter / second}
> $10 \su{cubic meter / second}$
> 30 \su{kilo pascal }
> 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 m
}
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
>
> %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
>
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
'stuff',
'for',
'demonstration',
}
local function UpdateProgressBar(bar)
local oldFrac = gtk.progress_bar_get_fraction(bar)
local frac= 1/#List
if (oldFrac + frac >= 1)
then
frac = 0
oldFrac = 1
gtk.main_quit()
e
+ 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
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
-
compile a file 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 c
; ok, so I was using the right compiler I get a mystake while trying to
> compile a file 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:
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 tried then to simply add \usemodule[newm
described in details.pdf, 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:
linux 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
s you 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[o
"$\sigma_t$") 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
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
ggestion!
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 deeply int
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 si
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}}. The following line
> should be seperated from t
tuptextformulas[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}}. The following line
should be seperated from this one by
401 - 500 of 758 matches
Mail list logo