=\textwidth, height=5cm, align=normal]
\starttext
This formula is preceded by normal spacing:
\placeformula[-]\startformula
1+1=2
\stopformula
\Framed{
This formula somehow is preceded by too much spacing:
\placeformula[-]\startformula
1+1=2
\stopformula
}
\stoptext
signature.asc
Description: Message
Hi Mingranina,
For displayed aligned formulas it is better to use \startalign…\stopalign,
instead of the plain TeX construction \leqalignno.
Please have a look at the following:
Best regards: OK
%%% begin align-equations.tex
\starttext
\placeformula
\startformula
\startalign
\NC c^2 \NC= a^2
On Sun, 11 Sep 2016, Mingranina Gingranina wrote:
Hello All,
I am trying to compile the following example (from
http://wiki.contextgarden.net/Math/Display) with context:
\starttext
\placeformula
\startformula
\leqalignno{c^2 &= a^2 + b^2 &\formulanumber{a} \cr
a^2 + b^
Hello All,
I am trying to compile the following example (from
http://wiki.contextgarden.net/Math/Display) with context:
\starttext
\placeformula
\startformula
\leqalignno{c^2 &= a^2 + b^2 &\formulanumber{a} \cr
a^2 + b^2 &= c^2 &\subformulanumber{b} \cr
[location=right]} one
gets:
\placeformula
\startformula
\startalign
\NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR[eq:explag0]
\NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1]
\stopalign
\stopformula
\placeformula
\startformula
1+1=2
\stopformula
\setupformulas[location
of
numbers in equations numbered in an aligned environment and those which are by
themselves.
Please have a look at the attached PDF which is the result of the following
example (using ConTeXt ver: 2016.09.06 19:11 MKIV beta).
Best regards: OK
%%% begin math-align.tex
\starttext
\placeformula
Hi Henri,
Your are right there is an issue with \startmathcases…\stopmathcases: the
equations are not numbered when using this structure.
As a temporary solution you can use \startmatrix…\stopmatrix as in the
following, or you can define your own \startalignedcases.
\starttext
\placeformula
Dear list,
this formula is not numbered even though it should be. Please fix.
\starttext
\placeformula
\startformula
\startmathcases
\NC 0 \NC $\mu > 2t$ \NR
\NC \pi/2 \NC $\mu = 2t$ \NR
\NC \pi \NC $\mu < 2t$ \NR
\stopmathcases
\stopformula
\stoptext
Cheers,
P. Sundqvist <mic...@gmail.com> wrote:
>>
>> Hi,
>>
>> The test file
>>
>> \starttext
>> \placeformula
>> \startformula
>> \startalign
>> \NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR
>> \NC \NC =\exp(\ln x_1+\ln x_2)=\
with startalign, and it seemed to
me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56.
Best regards: OK
> On 17 Aug 2016, at 14:20, Mikael P. Sundqvist <mic...@gmail.com> wrote:
>
> Hi,
>
> The test file
>
> \starttext
> \placeformula
> \startfor
Hi,
The test file
\starttext
\placeformula
\startformula
\startalign
\NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR
\NC \NC =\exp(\ln x_1+\ln x_2)=\exp(t_1+t_2).\NR[eq:explag1]
\stopalign
\stopformula
\placeformula
\startformula
1+1=2
\stopformula
\stoptext
gives the attached pdf
Hi Hans,
I was going to report a similar issue with \placeformula and floats in general,
as in the example below.
However the trick suggested by Wolfgang does not solve all the problems and in
fact in my real size document it triggers an error message saying
Hi Hans,
Thanks a lot for having fixed the issue I was reporting.
Unfortunately I found another issue related to placeformula and alignment in
math mode.
In the following example the use of \startalign in a \placeformula triggers a
weird behavior in the sense that the following instance
On 7/4/2016 11:11 AM, Otared Kavian wrote:
Below is an example (sorry if it is not absolutely minimal: I ran into this bug
when updating a lecture notes which uses a left frame around \proclaim stuff).
I attach the PDF showing the problem. I wonder whether this is related to the
new features
Hi Hans,
It seems that there is a bug in the latest beta (ConTeXt vesion: 2016.07.01
16:28) when using \placeformula with a framed text environment. The numbers for
the formulas are placed incorrectly, on the left as well as on the right.
Also, as one may see in the example below the numbering
expression
\placeformula
\startformula
y = Z \beta_1 + Y \beta_2 + u
\stopformula
that changes to
% \placeformula
\startformula
y = Z \beta_1 + Y \beta_2 + W_1\tau + u \eqno{ (1')}
\stopformula
\stoptext
%%
I would like the (1') keep the same kind of font than (1).
Any
') ||
finish
endif
let st = g:snip_start_tag
let et = g:snip_end_tag
let cd = g:snip_elem_delim
let bt = st.et
let si = IMAP_GetPlaceHolderStart()
let ei = IMAP_GetPlaceHolderEnd()
exec "Snippet for \\startformula".st.et."\\stopformula".si.ei
exec "Snippet pfor \\p
]
\setuphead[section][number=no]
\starttext
\chapter{foo}
\placeformula
\startformula
E=mc^2
\stopformula
\section{bar}
\placeformula
\startformula
a^2+b^2=c^2
\stopformula
\stoptext
The second formula has only the formula number 2. I would expect the formula
number 1.2 (or at least I would
Mari Voipio <mailto:mari.voi...@iki.fi>
8. September 2015 13:40
Hello!
I recently had to reformat a document that contains mathematical
notation and I was surprised how easy it was once I got the hang of
it. There's only one tiny problem:
I have one equation inserted with \placef
Hello!
I recently had to reformat a document that contains mathematical
notation and I was surprised how easy it was once I got the hang of
it. There's only one tiny problem:
I have one equation inserted with \placeformula. Currently this
formula gets numbered as equation 2.1 as it is in chapter
-formulas by invoking (\in[mylabel]), but if
one wishes to refer to any individual sub-formula one has to give a label
inside the structure \start—\stop—subformulas, at the level of \placeformula
for that sub-formula.
Below is your example, with these remarks.
Thanks for your attention and help: OK
\c_strc_formulas_inside_formulas_sub
+ \the\everyresetformulas % to be checked
\dorechecknextindentation} % here ?
begin example
\usemodule[visual]
\starttext
\placeformula
\startformula
\fakeformula
\stopformula
%\startsubformulas[+] % These two options for \subformulas
{Cha1}
\section{A}
\placeformula\startformula\fakeformula\stopformula
\section{B}
\placeformula\startformula\fakeformula\stopformula
\subsection{Ba}
\placeformula\startformula\fakeformula\stopformula
\stoptext
gives numbers in form of (1.1), (1.2
,
prefixsegments=part,
way=bysection,
%way=bytext,
%location=right,
]
\def\fakeformula{a^2 + b^2 = c^2}
\starttext
\part{P1}
\chapter{Cha1}
\section{A}
\placeformula\startformula\fakeformula\stopformula % 1.1 | 1.1 be part 1,
formula #1 in the part
\section{B
} % here ?
begin example
\usemodule[visual]
\starttext
\placeformula
\startformula
\fakeformula
\stopformula
%\startsubformulas[+] % These two options for \subformulas
%\startsubformulas[mylabel] % enable subnumbers for the formulas
\startsubformulas
\placeformula
\startformula
]
\placeformula
\startformula
\startalign
\NC a_1 x + b_1 y \NC = c_1 \NR[eq:11]
\NC a_2 x + b_2 y \NC = c_2 \NR[eq:12]
\stopalign
\stopformula
\stopsubformulas
\in{eq:11}[eq:11]
\in{eq:12}[eq:12]
\placeformula
Hello,
the following example (based on
http://wiki.contextgarden.net/Math/Display#Automatic_Sub-Formula_Numbering ):
\starttext
\startsubformulas[eq:1]
\placeformula[eq:1a]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformula[eq:1b]
\startformula
.
%\def\equlb#1{\left\{ \startalign #1 \stopalign\right.}
%\def\equlb#1{\left\{ \startmathalignment #1 \stopmathalignment\right.}
\startformula \placeformula[JcoordDef]
J^j:\equlb{ω^0 → 0 \cr ω^j → 0} \quad
\equlb{ω^k → ω^l \cr ω^l → -ω^k} \stopformula
\stoptext
On Fri, May 15, 2015 at 7:07 PM, luigi scarso wrote:
a patch is available in trunk, rev. 5244 (not in TeXLive 2015) .
Thank you, but something seems wrong.
\starttext
\hsize=2cm
\dorecurse{10}{hi }
$$a\eqno(a)$$
\placeformula
\startformula
a
\stopformula
$$a^2+b^2=c^2\eqno(b
problematic example:
\starttext
\placeformula
\startformula
\dorecurse{28}{a+}
\stopformula
\stoptext
Thank you,
Mojca
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
that this positioning on the
left is intentional: is there any way or setting to force the equation
number to be moved to the right?
This is a bug in luatex:
http://tracker.luatex.org/view.php?id=807
Aditya
isn't the the formula simply too long ?
\starttext
\placeformula
\startformula
0
Hi,
How does one change the numberconversion for math formulas? The old
method:
\setupformulas[numberconversion=set 1]
\starttext
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does not appear to work.
Thanks,
Aditya
On 4/27/2015 11:24 AM, Aditya Mahajan wrote:
Hi,
How does one change the numberconversion for math formulas? The old method:
\setupformulas[numberconversion=set 1]
\starttext
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does not appear to work.
\setupcounter[formula
On Mon, 27 Apr 2015, Hans Hagen wrote:
On 4/27/2015 11:24 AM, Aditya Mahajan wrote:
Hi,
How does one change the numberconversion for math formulas? The old method:
\setupformulas[numberconversion=set 1]
\starttext
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does not appear to work.
\setupcounter[formula][numberconversion=set 1]
Using `characters` as numberconversion works, but `set 1` does not.
Your original example with \setupformulas[numberconversion=set 1] works for me
[numberconversion=set 1]
\starttext
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does not appear to work.
\setupcounter[formula][numberconversion=set 1]
Using `characters` as numberconversion works, but `set 1` does not.
Your original example with \setupformulas
for math formulas? The old
method:
\setupformulas[numberconversion=set 1]
\starttext
\placeformula
\startformula
E = mc^2
\stopformula
\stoptext
does not appear to work.
\setupcounter[formula][numberconversion=set 1]
Using `characters` as numberconversion works, but `set 1` does not.
Your
{\darkgray{\infofont
#1}}}\atop{}}\atop{}}$}
\def\placeformularef[#1]{\doifmode{proofreading}%
{\inrightmargin{\infofont #1}}%
\placeformula[#1]}
\definereferenceformat[Eqref][left=(,right=)]
\def\eqref[#1]{\betweenlines{#1}\Eqref[#1]}
\setupformulas[location=right]
\enablemode
}%
{\inrightmargin{\infofont #1}}%
\placeformula[#1]}
\definereferenceformat[Eqref][left=(,right=)]
\def\eqref[#1]{\betweenlines{#1}\Eqref[#1]}
\setupformulas[location=right]
\enablemode[proofreading]
\starttext
We have
\placeformularef[eq:Square]
\startformula
a^2 + 2ab + b^2 = (a + b)^2
{Subsection} \placeformula \startformula a^2+b^2=c^2
\stopformula \stoptext
This bug appears to still be with us. Has a solution since been
proffered? If not, is a resolution in sight?
--
Rik Kabel
___
If your
of the formula).
The output is attached.
% begin placeformula-ref.tex
\def\placeformularef[#1]{\doifmodeelse{proofreading}%
{\inrightmargin{\tt\txx #1}\placeformula[#1]}%
{\placeformula[#1]}}
\definereferenceformat[eqref][left=(,right=),text={formula }]
\setupformulas[location
to write in the margin next to the
number of the formula).
The output is attached.
% begin placeformula-ref.tex
\def\placeformularef[#1]{\doifmodeelse{proofreading}%
{\inrightmargin{\tt\txx #1}\placeformula[#1]}%
{\placeformula[#1]}}
less code
\def\placeformularef[#1
=bysection,location=left]
\def\eqref#1{(\in[eq:#1])}
\starttext
\startchapter[title=Introduction to sequences of numbers]
\startsection[title=On sequences,reference=sec:Sequences]
\placeformula[eq:Number-e]
\startformula
a_{n} := \sum_{k=0}^n {1 \over n!}
\stopformula
\stopsection
The sequence
{(\in[eq:#1])}
\starttext
\startchapter[title=Introduction to sequences of numbers]
\startsection[title=On sequences,reference=sec:Sequences]
\placeformula[eq:Number-e]
\startformula
a_{n} := \sum_{k=0}^n {1 \over n!}
\stopformula
\stopsection
The sequence defined in equation \eqref{Number-e
])}
\starttext
\startchapter[title=Introduction to sequences of numbers]
\startsection[title=On sequences,reference=sec:Sequences]
\placeformula[eq:Number-e]
\startformula
a_{n} := \sum_{k=0}^n {1 \over n!}
\stopformula
\stopsection
The sequence defined in equation \eqref{Number-e} cannot converge
\{},
right={\right.},
style=\displaystyle]
\starttext
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
\placeformula
\startformula
K_1 \rightarrow
\startalignedcases
\NC f \NC \mbox{ for }\, f \ll PS
that use
`\mathcases'.
example:
8--
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
\placeformula
\startformula
K_1 \rightarrow
\startmathcases
\NC f \NC for $f \ll PS$ (flow
={right,left,left},
distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]
\starttext
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
\placeformula
bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
\placeformula
\startformula
E(f) = \frac {K_1(f)} {f}
\stopformula
\placeformula
\startformula
K_1 \rightarrow
\startmathcases
\NC f \NC for $f \ll PS$ (flow limited transport) \NR
\NC PS \NC for $f \gg PS
in this example:
\starttext
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla
\placeformula
\startformula
K_1 \rightarrow
E(f) = \frac {K_1(f)} { f}\,.
\stopformula
\placeformula
\startformula
K_1 \rightarrow
\startmathcases
\NC
No.
Wolfgang
This used to work, how is it possible that it does not work anymore?
\starttext
\startsubformulas[eq:equation]
\placeformula[eq:first]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformula[eq:second]
\startformula
c^2 = a^2 + b^2
\stopformula
\stopsubformulas
The second formula has NO NUMBER (example taken from the ConTeXt Garden's
Math/Display page):
\starttext
\startsubformulas[eq:1]
\placeformula[eq:first]
\startformula
c^2 = a^2 + b^2
\stopformula
\placeformula[eq:second]
\startformula
c^2 = a^2 + b^2
\stopformula
\stopsubformulas
Formula
\smartref{equation}[eq:Fermat].
\startplacefigure [reference=fig:alpha] \externalfigure \stopplacefigure
\startplacefigure [reference=fig:beta] \externalfigure \stopplacefigure
\input knuth.tex
\placeformula[eq:Fermat]
\startformula
a,b,c \in {\Bbb N}^*, \quad n \geq 3, \quad a^n + b^n = c^n \imply
needed to use equation numbers, however that is
done in plain tex (the context run doesn't show the problem without the
\placeformula).
I suspect some internal state is getting slightly corrupted and getting
progressively worse with the 30,000 repetitions.
here it happens after a pagebreak (a few
a luatex bug (testing that now)
That is my suspicion as well. But I couldn't reproduce it with plain
luatex. Though maybe I needed to use equation numbers, however that is
done in plain tex (the context run doesn't show the problem without the
\placeformula).
I suspect some internal state is getting
the problem without the
\placeformula).
I suspect some internal state is getting slightly corrupted and getting
progressively worse with the 30,000 repetitions.
I've been finding many unexplained 0.5pt or so differences, which may be
related to the underbrace problem. The context, so to speak
different in a
trace) ... smells like a luatex bug (testing that now)
That is my suspicion as well. But I couldn't reproduce it with plain
luatex. Though maybe I needed to use equation numbers, however that is
done in plain tex (the context run doesn't show the problem without the
\placeformula
(the context run doesn't show the problem without the
\placeformula).
I suspect some internal state is getting slightly corrupted and getting
progressively worse with the 30,000 repetitions.
here it happens after a pagebreak (a few lines overflow are ok)
It does also depend on the width
the problem (I am using 2014.05.17 MkIV):
\setupformulas[indentnext=auto, spacebefore=none, spaceafter=none]
\starttext
\dorecurse{3000}{
\placeformula\startformula
\underbrace{\hbox{}}_{\rho} =
\underbrace{\hbox{ }}_{\rho}
\stopformula
}
\stoptext
It'll produce a 162-page file
.
However, the settings don't seem to affect fractions inside square
roots. Here's an example (the 20pt setting is to exaggerate the
possible effect), using 2014.05.17 beta.
\starttext
\placeformula\startformula
\dfrac{ag}{bcd}\quad{ag\over bcd}
\stopformula
\placeformula\startformula
\sqrt{1\over
to the top of the H or E.
\setupbodyfont[palatino]
\starttext
\placeformula\startformula
\text{P}(
H\,|\, E
)
\stopformula
\stoptext
Again, I don't think it's a ConTeXt problem, but rather a Pagella
problem. But is there a recommended ConTeXt workaround? Maybe a
metafun symbol?
-Sanjoy
in the
surrounding text, to show how it's used (in probability, as P(H|E)).
I think the bottom of the bar is correct, but the tip of the bar doesn't
reach to the top of the H or E.
\setupbodyfont[palatino]
\starttext
\placeformula\startformula
\text{P}(
H\,|\, E
)
\stopformula
\stoptext
Again
\placeformula\startformula
\sqrt{k\over m}\quad \sqrt{\displaystyle{k\over m}}
\stopformula
\setupmathradical[sqrt][alternative=mp]
\placeformula\startformula
\sqrt{k\over m}\quad \sqrt{\displaystyle{k\over m}}
\stopformula
\stoptext
In the first line, the fractions come out fine. In the second line
=chapter]
%\setuphead[subsection][number=no]
\setuphead[subsection][incrementnumber=no] \starttext
\chapter{Chapter 1} \chapter{Chapter 2} \section{Section}
\subsection{Subsection} \placeformula \startformula a^2+b^2=c^2
\stopformula \stoptext
This bug appears to still
I have been trying out the newish
\setupmathradical[sqrt][alternative=mp], which has been very nice
because of the fine control over the radical sign.
I've noticed that it crunches the denominator in \sqrt{a\over b}
For example:
\starttext
\placeformula\startformula
\sqrt{k\over m}\quad \sqrt
, ucgreek=normal]
\starttext
\placeformula\startformula
M_{\rm Sun}\quad M_{\hbox{\tfx Sun}} \quad M_{\hbox{\tfxx Sun}} \quad M_{\tf
Sun}
\stopformula
\stoptext
___
If your question is of interest to others as well, please
is symonym with \mathrm etc. The
standard way to write this is _{\text{Sun}}.
I agree about \rm. However, _{\tf blah} once (in MkII) selected the
text font. e.g.
\starttext
\placeformula\startformula
M_{\tf Sun}
\stopformula
\stoptext
Is the II-IV change in \tf semantics intended? It's not hard
The superscripted degree symbol in $10^\circ$ comes out slightly low.
e.g.
\starttext
\placeformula\startformula
10^\circ \quad 10\mathstrut^\circ
\stopformula
\placeformula\startformula
x^7\quad x\mathstrut^7
\stopformula
\stoptext
I'm not quite sure what's right, but my eye says
, then the problem does not occur.)
== test6.tex =
\project testproject2
\startcomponent test
\input knuth
\placeformula\startformula
a^2 + b^2 = c^2
\stopformula
\stopcomponent
==
Here is the log file. It says 'result saved in test6.pdf' but no pdf
file
otherwise.
\startformula
area(f) = \iint_{\Omega} |{f_u\times f_v}|\, du dv
\stopformula
% limit not centered over double integral
\placeformula[-]
\stoptext
On Feb 16, 2014, at 5:30 AM, Otared Kavian ota...@gmail.com wrote:
Hi all,
After a series of exchanges on the list, on the topic of how
\placeformula\startformula
a^2 + b^2 = c^2.
\stopformula
\stoptext
If I add
\appendtoks \rm \to \everymathematics
\setupmathematics[lcgreek=normal, ucgreek=normal]
just before \starttext, the math is typeset in roman pagella.
What am I doing silly?
Also, one of my reservations
with 2014.02.14 beta, and it is a big improvement. Again, sorry
it took so long to test.
If I use hoffset=3pt, it seems that some underbraces get 3-pt borders
but others don't. For example,
\setupmathstackers[vfenced][hoffset=3pt]
\starttext
\placeformula\startformula
\underbrace{15\,\tf cm
Could you correct this space problem Hans?
\startitemize
\item Eeny, meeny, miny, moe
\placeformula
\startformula
\text{Numbered formula: the space after is correct.}
\stopformula
\item Eeny, meeny, miny, moe
\placeformula
Am 21.11.2013 um 16:31 schrieb Géry Ogam maggy...@gmail.com:
Could you correct this space problem Hans?
\startitemize
\item Eeny, meeny, miny, moe
\placeformula
\startformula
\text{Numbered formula: the space after is correct
Hello,
I think there is a space problem after formulas inside itemize environments.
E.g.:
\starttext
\startitemize
\item Eeny, meeny, miny, moe
\placeformula
\startformula
\text{Numbered formula: the space after is correct.}
\stopformula
Hey list,
I've noticed a problem typesetting my book using ConTeXt nightly version
2013.10.04. The following code...
\placeformula[formula:Limit of Verhulst equation]
\startformula
\lim_{t\to\infty} P(t) = K.
\stopformula
...seems to raise the following error
Am 14.10.2013 um 00:14 schrieb Kip Warner k...@thevertigo.com:
Hey list,
I've noticed a problem typesetting my book using ConTeXt nightly version
2013.10.04. The following code...
\placeformula[formula:Limit of Verhulst equation]
\startformula
\lim_{t\to\infty} P(t
On 2013–10–13 Kip Warner wrote:
I've noticed a problem typesetting my book using ConTeXt nightly version
2013.10.04. The following code...
\placeformula[formula:Limit of Verhulst equation]
\startformula
\lim_{t\to\infty} P(t) = K.
\stopformula
...seems
, and it is quite
useful to be able to visualize such things. For instance I use a quick and
dirty macro to print in the margin « eq:Fermat » to the right of the following
formula
\placeformula[eq:Fermat]
\startformula
a,b,c \in {\Bbb N}^*, \quad n \geq 3, \quad a^n + b^n = c^n \imply abc = 0
} \stopformula
\item \startformula \left(\left(\frac{1}{-16}\right)^{-2} \colon
\left(\frac{-2}{16}\right)^3\right)^{-3} \stopformula
\stopitemize
\startformula goes into displaymode so is used in cases like
\startmixedcolumns[balance=yes]
\placeformula\startformula 5^{-3} \colon 5^4 \stopformula
\startformula goes into displaymode so is used in cases like
\startmixedcolumns[balance=yes]
\placeformula\startformula 5^{-3} \colon 5^4 \stopformula
\placeformula\startformula (2^{3})^{-2} \cdot 2^{-3} \stopformula
\placeformula\startformula \frac{(-4)^2 \cdot 2^3}{2^{-2}} \stopformula
On 7/10/2013 2:02 PM, Sanjoy Mahajan wrote:
In certain cases, display-mathunderbraces are not quite wide enough.
Here's a minimal example:
===
\starttext
\placeformula\startformula
\underbrace{15\,\tf cm}_{L}
\stopformula
\stoptext
===
Using 2013.05.28 00:36
In certain cases, display-mathunderbraces are not quite wide enough.
Here's a minimal example:
===
\starttext
\placeformula\startformula
\underbrace{15\,\tf cm}_{L}
\stopformula
\stoptext
===
Using 2013.05.28 00:36 MKIV (from vanilla TL2013), the left brace tip
On 2013–07–10 Sanjoy Mahajan wrote:
In certain cases, display-mathunderbraces are not quite wide enough.
Here's a minimal example:
===
\starttext
\placeformula\startformula
\underbrace{15\,\tf cm}_{L}
\stopformula
\stoptext
===
\starttext
On Wed, Jul 10, 2013 at 02:13:28PM +0200, Marco Patzer wrote:
On 2013–07–10 Sanjoy Mahajan wrote:
In certain cases, display-mathunderbraces are not quite wide enough.
Here's a minimal example:
===
\starttext
\placeformula\startformula
\underbrace{15\,\tf cm}_{L
:
test1.tex:
-
\starttext
\chapter{Chapter 1}
\placeformula[one] \startformula x = y \stopformula
\placeformula[two] \startformula y = z \stopformula
\chapter{Chapter 2}
\placeformula[three] \startformula z = x \stopformula
\stoptext
test2.tex:
--
\usereferences[test1.tex
Hi,
as far as I have understood MathML, elements tagged with mathvariant=bold
should be set upright bold, not bold-italic.
Could this be corrected, please?
Thank you very much!
Steffen
---
\usemodule[mathml] \starttext
\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http
.
\setupformula[prefix=no]
\setuplabeltext[formula=Steffen-]
\starttext
\chapter{Chapter}
\placeformula
\startformula
c^2 = a^2 + b^2
\stopformula
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add
)?
It’s not a prefix but you can set a labeltext.
\setupformula[prefix=no]
\setuplabeltext[formula=Steffen-]
\starttext
\chapter{Chapter}
\placeformula
\startformula
c^2 = a^2 + b^2
\stopformula
\stoptext
nice, thank you.
i was looking for a key within setupformula, and didn't think
Hi,
usually it is possible to break long formulas.
But is there a way to do so, when formula is coded in mathml (see example
below)?
Thanks, Steffen
---
\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
msub xmlns=http://www.w3.org/1998
Hi,
any idea, how to get it
mi mathvariant=boldp/mi
typeset in bold??
Steffen
---
\usemodule[mathml] \starttext
\placeformula\startformula[9pt]
\setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML;
mi xmlns=http://www.w3.org/1998/Math/MathML;π/mi
mo xmlns=http://www.w3
have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
I need a way to log the fact that 'eq:newton' became something like equation
(2.3). I hoped there was a tracker that printed this out (maybe there is,
but I haven't found it). So I thought maybe I could
equation references to the equation number
generated by context. So for example, if I have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
\usemodule[newmath]
\setupformulas[way=bytext,prefix=no]
\setupsubformulas[conversion=romannumerals]
\starttext
that is
available that might get me started?
What I trying to do is map equation references to the equation number
generated by context. So for example, if I have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
\usemodule[newmath]
From the log
'. For instance, currently, formula references
come from structure lists (which also indicates that there can be lists
of formulas).
The following demonstrates this.
\setupbodyfont[pagella]
\starttext
\placeformula[a] \startformula a \stopformula
see \in{formula}[a]
\placeformula[b] \startformula b
. So for example, if I have an equation:
\placeformula \startformula
\NC F = m a \NC \NR[eq:newtonslaw]
\stopformula
\usemodule[newmath]
\setupformulas[way=bytext,prefix=no]
\setupsubformulas[conversion=romannumerals]
\starttext
\placenamedformula[eq:TEST]{Der einfache Test}
\startformula
c
for your
time in advance.
*MWE*
\starttext¬
Some text before the equation.¬
\placeformula¬
\startformula \startalign¬
\NC a \NC= b\NR¬
\NC c \NC= d\NR[eq:trivial]¬
\stopalign \stopformula¬
Some text after the equation.¬
\stoptext¬
Regards,
Devendra Ghate
am making a silly mistake. Thank you for your
time in advance.
a side effect of \startalign being math or text aware (lookahead issue
in low level tex align) ... fixed in next upload
*MWE*
\starttext¬
Some text before the equation.¬
\placeformula¬
\startformula \startalign¬
\NC
\startexercici Resoleu emprant el mètode de substitució:
\placeformula
\startformula
\startmathalignment
\NC x + 3y \NC = 9 \NR[+]
\NC 2x - y \NC = 3 \NR
\stopmathalignment
\stopformula
\stopexercici
\startexercici Resoleu pel mètode de reducció:
\placeformula
\startformula
\startmathalignment
\NC 3x
comuna}
\startcolumns
\startexercici Resoleu emprant el mètode de substitució:
\placeformula
\startformula
\startmathalignment
\NC x + 3y \NC = 9 \NR[+]
\NC 2x - y \NC = 3 \NR
\stopmathalignment
\stopformula
\stopexercici
\startexercici Resoleu pel mètode de reducció:
\placeformula
101 - 200 of 652 matches
Mail list logo