Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 14:29:
Dear List,
The following example of equation alignment copied from An Excursion
is not reproducible under my context 2021.03.05 shipped with texlive
2021:
\starttext
\startformula
\eqalign{
ax^2+bx+c &= 0 \cr
x &= \fra
Dear List,
The following example of equation alignment copied from An Excursion
is not reproducible under my context 2021.03.05 shipped with texlive
2021:
\starttext
\startformula
\eqalign{
ax^2+bx+c &= 0 \cr
x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both am
= 1, 98, 1 do
context(lorum)
end
\stopluacode
\startformula \startmathalignment[n=1]
\NC y = ax \NR
\NC a^2 + b^2 = c^2 \NR
\NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR
\stopmathalignment \stopformula
\stopcolumns \stoptext
Adding text after the formula seems to fix the issue, but that mea
On 7/8/2021 9:46 AM, Thomas A. Schmitz wrote:
Hi all,
is it possible to subtract a featureset that has been applied to a
fontfamily? MWE:
\definefontfeature
[f:frac]
[frac=yes,onum=no,pnum=no]
\definefontfeature
[f:onum]
[onum=yes,pnum=yes]
\definefontfamily [test] [serif
Hi all,
is it possible to subtract a featureset that has been applied to a
fontfamily? MWE:
\definefontfeature
[f:frac]
[frac=yes,onum=no,pnum=no]
\definefontfeature
[f:onum]
[onum=yes,pnum=yes]
\definefontfamily [test] [serif] [AntykwaTorunska] [features=f:onum]
\definefontfamily
ic one here (it is needed(?) in the Neo Euler case to
>> have function names set upright). The following file shows the problem
>> as well:
>> %%%
>> \setupmathematics[
>> functionstyle=normal,
>> ]
>> \starttext
>> We have $\cos\alpha$, $\sin\alpha$, $
[
functionstyle=normal,
]
\starttext
We have $\cos\alpha$, $\sin\alpha$, $\tan\alpha$,
\startformula
\cos\alpha=\frac{a}{c},\quad
\sin\alpha=\frac{b}{c},\quad
\tan\alpha=\frac{\sin\alpha}{\cos\alpha}=\frac{b}{a}.
\stopformula
\stoptext
%%%
I had a backup of the file I was working on, and the problem
$, $\sin\alpha$, $\tan\alpha$,
\startformula
\cos\alpha=\frac{a}{c},\quad
\sin\alpha=\frac{b}{c},\quad
\tan\alpha=\frac{\sin\alpha}{\cos\alpha}=\frac{b}{a}.
\stopformula
\stoptext
%%%
I had a backup of the file I was working on, and the problem was not
present on june 13 (not sure I had a completely
9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part
On 4/19/2021 9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part of the error message
tex error
On 4/19/2021 9:21 AM, thierry horsin wrote:
Hi again everybody
I have tested some more examples. This error occurs when I fix the
current font size to 22 pt (for some slide purposes). For sizes lower
than 22pt, I have no error messages.
can you make a MWE
to the last version of context , I cannot use \frac
anymore in \startformula.
I get the following message "I can't work with sizes bigger than about
19 feet. Continue and I'll use the
largest value I can."
Yet, between $ $ it is fine.
Any ideas ?
M
Hi everybody
Since I updated to the last version of context , I cannot use \frac
anymore in \startformula.
I get the following message "I can't work with sizes bigger than about
19 feet. Continue and I'll use the
largest value I can."
Yet, between $ $ it is fine.
Any ide
On 1/25/2021 1:58 PM, Johann Birnick wrote:
Recently inline fractions stopped working correctly.
For example symbol spacing, sub-/superscripts, the line is too short,...
You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:
\starttext
$\frac
Recently inline fractions stopped working correctly.
For example symbol spacing, sub-/superscripts, the line is too short,...
You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:
\starttext
$\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac
gt;
> > maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> > webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> > archive : https://bitbucket.org/phg/context-mirror/commits/
> > wiki : http://contextgarden.net
> >
> ___
"g",
> "h",
> "u",
> "v",
> "F",
> "G",
> "H",
> }
>
> ListOfFunctions = {
> "\\cos(x^2)",
&g
t;H",
}
ListOfFunctions = {
"\\cos(x^2)",
"x\\sin(x)",
"\\tan(x)",
"x^3 - 3x^2 + 1",
"\\frac{1}{1 + x^2}",
"\\sin(\\log(x))&quo
i. Thanks to Hans for the quick fixes. However, some examples are still
> > misbehaving.
> > See the following:
> >
> > \setupbodyfont[70pt]
> > \starttext
> > \startTEXpage
> > \framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$}
> >
On 12/7/2020 6:15 AM, Jairo A. del Rio wrote:
Hi. Thanks to Hans for the quick fixes. However, some examples are still
misbehaving.
See the following:
\setupbodyfont[70pt]
\starttext
\startTEXpage
\framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$}
\stopTEXpage
\stoptext
It
Hi. Thanks to Hans for the quick fixes. However, some examples are still
misbehaving.
See the following:
\setupbodyfont[70pt]
\starttext
\startTEXpage
\framed{$a >> n = \left\lfloor\frac{a}{2^n}\right\rfloor$}
\stopTEXpage
\stoptext
It works in MkIV, but it has the right margin cut wit
eficios} - \text{\em costes}$.
% you can use typographical variations inside \text: \em, \bf, etc
\item Beneficio por euro: $\frac{\text{\em beneficios}}{\text{\em
costes}}$.
\item Beneficio obtenido el primer año.
\stopitemize
\stoptext
There are additional commands for italic, bold e
with columns.
\showframe\showgrid
\starttext
list:
\startitemize[packed, columns, four]
\item $\text{1} - \text{2}$
\item item
\item $\frac{1}{2}$
\item item
\stopitemize
list:
\startitemize[columns, four]
\item $\text{1} - \text{2}$
\item item
\item $\frac{1
iations inside \text: \em, \bf, etc
\item Beneficio por euro: $\frac{\text{\em beneficios}}{\text{\em
costes}}$.
\item Beneficio obtenido el primer año.
\stopitemize
\stoptext
2) will solve itself ather this. 3, I don't know.
--
Andrés Conrado Montoya
Andi Kú
andresconr...@gmail.com
http:
starttext
list:
\startitemize[packed, columns, four]
\item $\text{1} - \text{2}$
\item item
\item $\frac{1}{2}$
\item item
\stopitemize
list:
\startitemize[columns, four]
\item $\text{1} - \text{2}$
\item item
\item $\frac{1}{2}$
\item item
\stopitemize
\stoptext
I d
Hi Pablo,
You may use \text in math formulas as in:
\startitemize[packed]
\item Valor actual neto: $\text{beneficios} - \text{costes}$.
\item Beneficio por euro: $\frac{\text{beneficios}}{\text{costes}}$.
\item Beneficio obtenido el primer año.
\stopitemize
Best regards: Otared
> On 3
Dear list,
math is all Greek to me and I’m experiencing issues when typesetting the
most basic inline formulas.
\starttext
\startitemize[packed]
\item Valor actual neto: $beneficios - costes$.
\item Beneficio por euro: $\frac{beneficios}{costes}$.
\item Beneficio obtenido el primer año
acnorule{#1}{\phantom{1}}}
> > \startTEXpage
> > \startplacefigure[location=force,number=no]
> > \externalfigure[cofrac.png]
> > \stopplacefigure
> > \startformula
> > \alpha +
> >
> \cofrac{\alpha'}{\cofrac{\alpha''}{\cofrac{\alpha'''}{{\endfrac{\dd
t; > details.
> >
> > So the answer is "Can't be done without overhauling the whole concept".
> >
> > Now, I know that the narrative is that context is a moving target
> > (c
'''}{{\endfrac{\ddots}
\frac{1}{\alpha'''}
\stopformula
\stopTEXpage
|
|Mmm, superscripts and fraction rules superpose, so indeed something is
wrong. Any ideas or references to a better result?
|
In the next version this will look okay:
\definemathfraction
[gefrac]
[d:frac
change because
> users / publishers expect them to behave the same forever) so one can
> argue that for context we can follow a drastic different route, but even
> then, we can't shoot ourselves in the foot too often. I
t some
> people (read: Alan) love these {{}\foo{}} syntaxes but live would have
> been simpler if even \over has not be in there with prefix notation
> (there is a reason why macro package have \frac like variants).
>
> Hans
>
>
>
> -
reason why macro package have \frac like variants).
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pra
{\alpha''}{\cofrac{\alpha'''}{{\endfrac{\ddots}
\frac{1}{\alpha'''}
\stopformula
\stopTEXpage
Mmm, superscripts and fraction rules superpose, so indeed something is
wrong. Any ideas or references to a better result?
I've attached the expected result (it's from Legendre's Théorie des
nombres
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote:
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{26
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153}, 3013
\frac{3}{4}>\sqrt{9082321}, \quad 183
On 6/11/2020 2:50 PM, Mikael Sundqvist wrote:
Hi,
I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.
put this in cont-new.mkiv:
\unexpanded\def\styledrootradical#1#2%
{\normalexpanded{\rootradical
{\normalunexpanded{#1}}%
{\noexpand\triggermathstyle
Hi,
I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.
/Mikael
On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio
wrote:
> Hi list! Nesting radicals in LMTX give a funny font size compared with
> LuaTeX, which gives the correct output. I cleaned the cache, just in case.
>
The problem with vertical spacing in \frac and \over is fixed. Many thanks,
Hans!
Alan
On Wed, Jun 10, 2020 at 4:03 AM Hans Hagen wrote:
> Hi,
>
> I uploaded a new version. There have been no changes to the typesetting
> machinery although we're still in the process of finetuning
In the current beta ( LuaMetaTeX, Version 2.06.05),
\m{\frac{28}{8\times29}}
puts the numerator and denominator too close to the dividing line.
Similarly for the variants of \frac and \over.
\m{{28}\over{8\times29}}
Alan
is: is it possible to make math fences work in a math alignment, e.g.
\definemathfence[something][brace][command=yes]
\startformula
\startmathalignment[n=2,align={middle,middle}]
%This won't work (I didn't expected to work, anyway)
\NC \NC \something{\frac{1}{2} + \NR
\NC \NC x} \NR
\stopmathalignment
to get the width (and
height) of a string back in lua as a value?
So, in lua something like this:
width = tex.widthofstring(“I have a string with some $\frac{1}2{}$ (math) in
it")
G___
If your question is of
be more consistent
to have the usual structure
${1} \Uover {2}$
like the more friendly ${1} \over {2}$ instead of having
That would involve backtracking and be a psin in the butt wrt control.
One can't have it all.
$\Uover{1}{2}$
which is more like the \frac structure.
Watch out: these are low
${1} \Uover {2}$
like the more friendly ${1} \over {2}$ instead of having
$\Uover{1}{2}$
which is more like the \frac structure.
Also a structure like
$\Uover style \textstyle{1}{2}$
seems a little bit far from the usual ConTeXt atmposphere… Would it not be
possible to have
${1} \Uover[style
{\bi Affirmation 4 :} La valeur exacte de la somme des 12 premiers
termes de la suite géométrique \m{\left(u_n\right)} de premier terme \m{4}
et de raison \m{\dfrac{1}{3}} est :
\startformula
6\left(1-\left(\frac{1}{3}\right)^{13}\right)
\stopformula
> \NC\NC =\Im\int e^{(2+3i)x}\,dx\NR
> \NC\NC = \Im\Bigl(\frac{1}{2+3i}e^{(2+3i)}\Bigr)\NR
> \stopalign
> \stopformula
> From this we see that $\lim_{n\to+\infty}f(n)=0$.
> \stoptext
> %%%
>
> gives the attached ex1.pdf. As we can see the spacing inside \startalign
&
}\sin 3x\,dx\NC=\int\Im e^{(2+3i)x}\,dx\NR
\NC\NC =\Im\int e^{(2+3i)x}\,dx\NR
\NC\NC = \Im\Bigl(\frac{1}{2+3i}e^{(2+3i)}\Bigr)\NR
\stopalign
\stopformula
>From this we see that $\lim_{n\to+\infty}f(n)=0$.
\stoptext
%%%
gives the attached ex1.pdf. As we can see the spacing inside \startalign
\stopal
][\uniqueMPgraphic{cancel}]
\defineframed[cancel]
[background=cancel,frame=off,offset=0pt,location=low]
\starttext
\startformula
6 \frac{3}{8} \div 4 \frac{1}{2} = \frac{27}{4} \div \frac{9}{2} =
\frac{\cancel{27}^3}{\cancel{4}^2} \times \frac{\cancel{2}^1}{\cancel{9}^1} =
\frac{3}{2} = 1 \frac{1}{2
cally invisible.
>
> Is there any way to get a diagonal stroke like the latex module "cancel" can
> do?
This might help.
https://tex.stackexchange.com/questions/501056/equivalent-of-cancelto-in-context
> Thanks for any suggestions,
> Martin
>
> \starttext
> \startformul
module "cancel" can do?
Thanks for any suggestions,
Martin
\starttext
\startformula
\frac{\overstrike{2}}{\overstrike{4}} = \frac{1}{2}
\stopformula
\stoptext
___
If your question is of interest to others as we
ection[title=List of Tables]
\placelistoftables
\stopsection
\startsection[title=List of Symbols]
\placelistofsymbols
\stopsection
\stopfrontmatter
\startbodymatter
\startsection[title=Symbols]
\startsubsection[title=Using the Symbols]
\placeformula
\startsubformulas
\startformula
\startalign
\NC \frac{d
local startTextFraction = "$\\frac{\\text{"
local stopTextFraction = "}}$"
function xml.functions.textfraction( t )
local dt = t.dt
inspect( dt )
local wrapper
local slashfound = false
context( startTextFraction )
local index, child
^^ Not needed, they are l
Solved with a dirty hack:
\startbuffer[text]
A paragraph with a fraction made of text with styles:
a fraction made of text/with
nested styles inside.
\stopbuffer
\startluacode
local gsub = string.gsub
local sfind = string.find
local xmlflush = lxml.flush
local startTextFraction = "$\
Hello,
i'm using XML and i find useful specifying a fraction made of text this way:
text for numerator/text for denominator
With some lua, i can transform it into
\frac{\text{text for numerator}}{\text{text for denominator}}
which typesets something like this:
text for numerator
urther "b" is a bit larger and an integral symbol is rather small.
> (It looks "\displaystyle" is not effective, e.g see "\frac”.)
I opened the xhtml with firefox and the only problem I see
is the ignored \displaystyle (which is why the integral looks small).
Inli
questions about XML/HTML output of Math.
1. In case inline math mode with \displaystyle, we get wrong output
of "\int_a^b"; lower limit and upper limit are interchanged
and further "b" is a bit larger and an integral symbol is rather small.
(It looks "\displaystyle" is
The following mwe
\definefontfeature[fraction][frac=yes]
\definehighlight[textfraction][style={\feature[+][fraction]}]
\starttext
a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in
the text
\stoptext
works for all but \textfraction in the latest beta (luatex, luametatex
mathalign by using distance=2em plus 1fil. However, on a recent context,
the glue gets ignored.
\starttext
\startformula
\startmathalignment[m=2,distance=2em plus 1 filll]%Notice distance=...
\NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0},
\NC \nabla\times \bf E \NC= -\frac{\par
\starttext
\startitemize[n]
\item Prove the following identity.
\startitemize[n][stopper=)]
\item ${\displaystyle \int \tan^n x \,dx=\frac{\tan^{n-1}x}{n-1}-\int
\tan^{n-2}x \,dx}$ ($n>1$)
\item ${\displaystyle \int \sec^n x \,dx=\frac{\sec^{n-2}x \tan
x}{n-1}+\frac{n-2}{n-1}
\
the following identity.
\startitemize[n][stopper=)]
\item ${\displaystyle \int \tan^n x \,dx=\frac{\tan^{n-1}x}{n-1}-\int
\tan^{n-2}x \,dx}$ ($n>1$)
\item ${\displaystyle \int \sec^n x \,dx=\frac{\sec^{n-2}x \tan
x}{n-1}+\frac{n-2}{n-1}
\int \sec^{n-2}x \,dx}$ $(n>1)$
\stopitemize
Hi!
I see that this is fixed in the latest beta. Thanks!!
/Mikael
On Sat, Jan 12, 2019 at 9:39 AM Mikael P. Sundqvist wrote:
>
> Hi,
>
> the code
>
> \setupbodyfont[stixtwo]
> \starttext
> \startTEXpage[offset=2bp]
> $\displaystyle \int x^2\,dx=\frac{x^3}{3}
Hi,
the code
\setupbodyfont[stixtwo]
\starttext
\startTEXpage[offset=2bp]
$\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par
\setupmathematics[stylealternative={upright}]
$\displaystyle \int x^2\,dx=\frac{x^3}{3}+C$\par
\stopTEXpage
\stoptext
used to give an "upright" integral sign in
On Fri, Jan 11, 2019 at 11:36 AM Hans Hagen wrote:
>
> On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote:
> > Hi,
> >
> > the output of
> >
> > \setupmathematics[
> > integral=nolimits,
> > ]
> >
> > \starttext
> > \sta
On 1/10/2019 7:56 AM, Mikael P. Sundqvist wrote:
Hi,
the output of
\setupmathematics[
integral=nolimits,
]
\starttext
\startTEXpage[offset=2bp]
$\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$
\stopTEXpage
\stoptext
is attached. Clearly, the lower limit in the integral is not correctly placed
Hi,
the output of
\setupmathematics[
integral=nolimits,
]
\starttext
\startTEXpage[offset=2bp]
$\displaystyle\int_0^1x^2\,dx=\frac{1}{3}$
\stopTEXpage
\stoptext
is attached. Clearly, the lower limit in the integral is not correctly placed.
With hope of a quick fix,
Mikael
\startalign[n=3,align={left,right}]
> and finish the alignment with
> \stopalign
>
> Is this what you are looking for?
>
> \starttext
> \startformula
> \startalign[n=3,align={left,right}]
>\NC \qquad
> \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overli
Hi Fabrice,
I think you have to use
\startalign[n=3,align={left,right}]
and finish the alignment with
\stopalign
Is this what you are looking for?
\starttext
\startformula
\startalign[n=3,align={left,right}]
\NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD
Hi,
I'm trying to get the same result for this file compiled with latex.
Thanks.
Fabrice
\documentclass{article}\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}&\qquad&
\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert}
&=\frac{\lvert\overline{DC}\rvert}{\lvert
did you play with
\definefontfeature[whatever][keepligatures=auto]
\definecharacterkerning [extrakerning] [factor=0.125,features=whatever]
\starttext
\setcharacterkerning[extrakerning]
effe fietsen
\stoptext
Great! Thanks! This now works:
\definefontfeature[frac][frac=yes
On 12/10/2018 4:26 PM, mf wrote:
Hello list,
i noticed that setting a different kerning breaks some features of
opentype fonts; that is true, for example, for ligatures and fractions
(frac feature).
It looks like a modified kerning inserts something between two adjacent
character, making
An example of local correction, but it's not automatic:
\definecharacterkerning[narrow][factor=-.02]
\definecharacterkerning[wide][factor=.02]
\definefontfeature[frac][frac=yes]
\def\Narrow#1{\bgroup\setcharacterkerning[narrow]#1\egroup}
\def\Wide#1{\bgroup\setcharacterkerning[wide]#1\egroup
Hello list,
i noticed that setting a different kerning breaks some features of
opentype fonts; that is true, for example, for ligatures and fractions
(frac feature).
It looks like a modified kerning inserts something between two adjacent
character, making them no more adjacent.
That way
as follows:
\starttext
Consider an LTI system with the transfer function
\placefigure[eq:sys] \startformula
H(s) = \frac{1}{s^2 + 2s + 2}
\stopformula
The step response of the system is shown in Figure \in[fig:plot]. Note
that the step response settles to a final value of $0.5
On 9/28/2018 10:56 PM, Ulrike Fischer wrote:
Due to a question on tex.sx
(https://tex.stackexchange.com/questions/452969/luatex-fontfeaturefractions-on-turns-first-digits-into-superscripts)
I looked again (see
https://www.mail-archive.com/ntg-context@ntg.nl/msg84822.html) at
the frac feature
Due to a question on tex.sx
(https://tex.stackexchange.com/questions/452969/luatex-fontfeaturefractions-on-turns-first-digits-into-superscripts)
I looked again (see
https://www.mail-archive.com/ntg-context@ntg.nl/msg84822.html) at
the frac feature.
The output is still not really satisfactory
tex $\delta$ etex, (3cm,0));
Why not just
label.bot("$\delta$", (3cm,0));
> label.bot(btex $\frac{2-\delta}{2}$ etex, (5cm,0)); %
> \stopbuffer
> \starttext
> \processMPbuffer[delta]
> \stoptext
>
> Best regards,
>
> Dalyoung
> _
Hi,
What is the difference between {\delta} and \delta?
Former is OK, but the second is not compiled.
Here is a MWE.
\startbuffer[delta]
label.bot(btex ${\delta}$ etex, (1cm,0)); %
%label.bot(btex $\delta$ etex, (3cm,0));
label.bot(btex $\frac{2-\delta}{2}$ etex, (5cm,0
ze[n]
> \startitem
> Let $f(x)=\sin x$ and $g(x)=x$. Discuss the limits
> \startitemize[a,columns,three][left=,right={)},stopper=]
> \startitem $\lim_{x\to 0}\frac{f(x)}{g(x)}$,\stopitem
> \startitem $\lim_{x\to+\infty}\frac{f(x)}{g(x)}$,\stopitem
> \startitem $\lim_{x\to 0}f(x)$.
example.
\starttext
\startTEXpage[offset=2bp]
\startitemize[n]
\startitem
Let $f(x)=\sin x$ and $g(x)=x$. Discuss the limits
\startitemize[a,columns,three][left=,right={)},stopper=]
\startitem $\lim_{x\to 0}\frac{f(x)}{g(x)}$,\stopitem
\startitem $\lim_{x\to+\infty}\frac{f(x)}{g(x)}$,\stopitem
er simple proof that ends with a formula
\startformula
1+1=2.
\placeclosesymbol
\stopformula
\stopproof
\startproof
\startitemize[n]
\item first line.
\item Here is an example.
\startformula \cosh x + \sinh x = e^x,~~\cosh x - \sinh x = e^{-x}
\stopformula
The next formula is following:
to split long table in two pages. Is there a similar
way for long formula?
Here is a minimal example.
\showframe
\starttext
\dorecurse{3}{\input knuth}
\startformula\startalign
\NC S_1 \NC = 1 = 1 + 0 \bigg( \frac{1}{2}\bigg),
\NR
\NC S_2 \NC = 1 + \frac{1}{2} = 1
Hi Massi,
\Unskewed is undefined/unrecognized.
Enabling Opentype math (somehow) or perhaps an experimental version of
luatex is needed?
Alan
On Tue, 22 May 2018 18:29:30 +0200
MF <mass...@fastwebnet.it> wrote:
> Hi Alan, try this:
>
> \def\vFrac#1#2{#1 \Uskewed / #2}
>
>
Hi Alan, try this:
\def\vFrac#1#2{#1 \Uskewed / #2}
\starttext
$\frac{2_1}{m}$
${2_1 \Uskewed / m}$
$\vFrac{2_1}{m}$
\stoptext
See "5.7 Skewed fractions", in the manual still.pdf.
Hope it helps,
greetings,
Massi
> Is there a version of the vulgarfraction that works in math m
,
rulecolor=,
balance=,
grid=strut,
]
\setupalign[verytolerant,stretch,hanging]
\starttext
\startMycolumns
\startitemize[n]
\item Le taux d'évolution du prix du menu entre l'été 2012 et l'été 2015
est égal à \math{t_g=\frac{13,80-9,80}{9,80}\approx 0,4082}.
On a alors \math{(1+t_m)^3=(1
and this $f$? (see also $k$?, $x$? and $z$?)
>>>
>>> There might be more problems (like between $t$ and the parenthesis in
>>> $e^t$) is too small.
>>>
>>> The space between $dx$ and the bar is too small:
>>> \startformula
>>> \
\startformula
>> \Bigl|\int_0^\pi\sin x\,dx\Bigr|,
>> \stopformula
>> Look at the $f$ and the bar:
>> \startformula
>> \Bigl|\int f\Bigr|
>> \stopformula
>> The $x$ seems to be outside the fraction:
>> \startformula
>> \frac{a^2}{1-x}
>> \
x\,dx\Bigr|,
\stopformula
Look at the $f$ and the bar:
\startformula
\Bigl|\int f\Bigr|
\stopformula
The $x$ seems to be outside the fraction:
\startformula
\frac{a^2}{1-x}
\stopformula
We add another one (in fact two) including $f$:
\startformula
f\Bigl(\frac{a+b}{2}\Bigr)
\stopformula
Also look at $
rmula
\Bigl|\int f\Bigr|
\stopformula
The $x$ seems to be outside the fraction:
\startformula
\frac{a^2}{1-x}
\stopformula
We add another one (in fact two) including $f$:
\startformula
f\Bigl(\frac{a+b}{2}\Bigr)
\stopformula
Also look at $\xi_0$ and $\xi_1$, the subscripts are too far away from
Fabcdef}\NC\m{\red ΑΒΓΔΕΘαβγδεθ}\NC\NR
\NC italic: \NC \emph{ABCDEFabcdef}\NC\emph{ΑΒΓΔΕΘαβγδεθ}\NC\NR
\NC \NC \NC \NC\NR
\NC Greek theta: \NC\NC \emph{θ}\NC\NR
\stoptabulate
\m{\sqrt{34y\frac{12\alpha^2}{98.0 x_2}}Δθ}
\m{{{sin^2 α + cos^2 β}\over{2}} = \frac{1}{2}}
\showbodyfont
\stoptext
^3 \NC = 1,87\NR
\NC 1+t \NC = 1,87^{\frac{1}{3}} \NR
\NC 1+t \NC = 1,23\NR
\NC t \NC = 0,23. \NR
\stopmathalignment
\stopformula
\input ward
\stopMycolumns
\stoptext
Le 25 octobre 2017 à
> \starttext
> \dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}}
> \section{\TeX}\input knuth\par
> \section{Zapf}\input zapf\par
> \section{Math}
> \startformula
> \startmathalignment[n=2,align={left,left}]
> \NC P_1 + P_2 + \dots + P_{12} \NC
05^{11})\NR
\NC \NC = 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR
\stopmathalignment
\stopformula}
\stoptext
And then use the following code with the output PDF document from the
code above:
\setuppapersize [A5][A4,landscape]
\setupexternalfigures[interaction=all]
} \NC = 400 + 400\times 1,05 + 400\times
1,05^2 + \dots + 400 \times 1,05^{11}\NR
\NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR
\NC \NC = 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR
\stopmathalignment
\stopformula
\stopMyColumns
\stoptext
Fabrice
2017-10
gt;> separator=rule,
>> rulecolor=,
>> balance=yes,
>> ]
>>
>> \setupalign[verytolerant,stretch,hanging]
>>
>> \starttext
>> \startMyColumns
>> \startformula
>> \startmathalignment[n=2,align={left,left}]
>>
+ 400\times 1,05 + 400\times
> 1,05^2 + \dots + 400 \times 1,05^{11}\NR
> \NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR
> \NC \NC = 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR
> \stopmathalignment
> \stopformula
> \dorecurse{6}{\input kn
= 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR
\stopmathalignment
\stopformula
\dorecurse{6}{\input knuth}
\stopMyColumns
\stoptext
2017-10-16 19:35 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>:
> On 10/16/2017 05:59 PM, Fabrice Couvreur wrote:
> > Hello,
>
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
%\vadjust pre{\blank[line]}% not line, but halfline!
\vadjust pre{\blank[halfline]}%
$\displaystyle{\frac{1}{a + b}}$
%\vadjust{\blank[line]}% not line, but halfline!
\vadjust{\blank[halfline]}%
\input knuth
\stoptext
In general
knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
$\displaystyle{\frac{1}{a + b}}$
\input knuth
\stoptext
---
Now the text snaps to the grid after the quotation, but the tall
formula inside the text ov
!
\vadjust pre{\blank[halfline]}%
$\displaystyle{\frac{1}{a + b}}$
%\vadjust{\blank[line]}% not line, but halfline!
\vadjust{\blank[halfline]}%
\input knuth
\stoptext
In general, I'm ok without grid snapping, because the default
typesetting of taller formulas inside text is good enough for my
101 - 200 of 721 matches
Mail list logo