[NTG-context] Spacing problem around decimal point

2023-03-25 Thread Gavin via ntg-context
Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] siunitx feature in unit module

2015-03-03 Thread Andrea De Michele
gt; \si[per-mode=symbol]{\metre\per\second} produce m/s > \unit{10 meter per second} > >> \si[per-mode=fraction]{\metre\per\second} produce \frac{m}{s} > I think it is not possible with \unit{} > Do you know if there is the project to imp

[NTG-context] Define a new command from the command \periods[n]

2014-05-20 Thread Fabrice Couvreur
^3+4x-7$ : \periods[65] \item $x\mapsto x^2-3$ : \periods[70] \item $x\mapsto \frac{x^2+x}2$ : \periods[72] \item $x\mapsto (x-2)^2$ : \periods[69] \stopitemize \stoptext ___ If your question is of interest to others as

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Aditya Mahajan
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

Re: [NTG-context] Unicode Math - what it is

2009-02-13 Thread Joel C. Salomon
On Fri, Feb 13, 2009 at 3:29 PM, Mojca Miklavec wrote: > The following works OK also in mkii: >∑_{i=1}^∞\frac{1}{2^n} Be careful to note that you are using U+2211 N-ary Summation (∑) rather than U+03A3 Greek Capital Letter Sigma (Σ). Note also that Murray Sargent's "n

Re: [NTG-context] fonts --list --info

2009-05-13 Thread Wolfgang Schuster
| feature: fina, script: grek, language: dflt MtxRun | feature: fina, script: latn, language: aze crt deu mol rom trk dflt MtxRun | feature: frac, script: dflt, language: dflt MtxRun | feature: frac, script: cyrl, language: srb dflt MtxRun | feature: frac, script: grek, language: dflt MtxRun

Re: [NTG-context] fonts --list --info

2009-05-13 Thread Vyatcheslav Yatskovsky
trk dflt MtxRun | feature: fina, script: dflt, language: dflt MtxRun | feature: fina, script: cyrl, language: srb dflt MtxRun | feature: fina, script: grek, language: dflt MtxRun | feature: fina, script: latn, language: aze crt deu mol rom trk dflt MtxRun | feature: frac, script: dflt, lang

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Mikael Sundqvist via ntg-context
mal exp}} > > \starttext > \startformula >\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right). > \stopformula > \stoptext Hi, without your redefinition of \exp it looks fine (exp is already defined). Does that solve your problem, or are you doing something else, and t

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
Hi, On Fri, Dec 29, 2023 at 3:17 PM Fabrice Couvreur wrote: > > Hi, > To type my lessons or other, I use the Modern font in 12 pt or 11 pt. I find > that the subscript notations are a little too big : how can I improve this ? > Thanks > Fabrice > > \m{ \forall n \in N

Re: [NTG-context] beta

2013-04-16 Thread Hans Hagen
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.

Re: [NTG-context] [wiki] fake account spam

2013-04-25 Thread Thomas A. Schmitz
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

[NTG-context] (no subject)

2014-01-28 Thread DesdeChaves
] \setupSTEPtexts [framecolor=green] \setupSTEPlines [alternative=5] \cell {initial concentration, $C_i$} \text {$\div C_f$, final concentration} \cell {diluation factor, $f$} \text {inverse} \cell {$\frac{1}{f}$} \text {$\times V_f$, volume of the volumetric flask} \cell {pipette volume, $V_p

[NTG-context] m-steps on mkiv

2014-01-28 Thread DesdeChaves
] \setupSTEPtexts [framecolor=green] \setupSTEPlines [alternative=5] \cell {initial concentration, $C_i$} \text {$\div C_f$, final concentration} \cell {diluation factor, $f$} \text {inverse} \cell {$\frac{1}{f}$} \text {$\times V_f$, volume of the volumetric flask} \cell {pipette volume, $V_p

Re: [NTG-context] Problem with integral sign

2014-02-09 Thread Marco Patzer
On 2014–02–09 Jaroslav Hajtmar wrote: > How can type big integral sign to result looked good? > > Here is my example: > > \startformula > \int \frac{P_n(x)}{Q_m(x)} \, \mathrm{d}x, \quad n \stopformula I don't know how to reduce the space between the integral sign and

[NTG-context] Math delimiters across math alignment environments

2020-05-29 Thread Jairo A. del Rio
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 \stopmat

Re: [NTG-context] XITS fonts - second beta

2010-06-06 Thread Hans Hagen
: * oldstyle figures, through 'onum' feature * text fractions, through 'frac' feature and: * sane filenames As usual, it is available from github: http://github.com/khaledhosny/xits-math/downloads ok, i adapted t

Re: [NTG-context] Strange math error (bug ??)

2006-08-25 Thread WN
ghtarrow it is processed (?) >> >> \starttext >> The left side with $[Q,R]$ does not show, but the >> right side with $[Q,R]$ does show, what is happening here ??? >> \startformula >> > > \relax > > >> [ {Q} , {R} ] \rightarrow \frac{1}

Re: [NTG-context] how to do something like ^1/_2 with frac?

2007-01-26 Thread Taco Hoekwater
Hubertus wrote: > Hi all again, > I try to do something like 1/2 with an upper 1 and a lower 2. The code below > still doesn't quite work. > > \def\nfrac#1#2{\leavevmode\kern.1em% > \raise.5ex\hbox{\scriptsize #1}% > \kern-.1em/\kern-.15em% > \lower.25ex\hbox{\scriptsize #2}} > Such a mac

Re: [NTG-context] overset in ConTeXt

2007-02-19 Thread Jean Magnan de Bornier
t find how to type a bar over a letter in math mode; in LaTeX the | > command is something like \overset{-}{q}; but ConTeXt doesn't like it: | > | > ! Undefined control sequence. | > l.1869 p(q_1 + \overset | > {-}{q_2})+q_1 \frac{dp}{dQ} - Cm_1

Re[6]: [NTG-context] Known nath bugs?

2004-06-05 Thread Giuseppe Bilotta
Sunday, May 30, 2004 Sebastian Sturm wrote: > OK, I'll try that. At the moment I'm having all kinds of issues with > nath (even without any preamble at all), like \binom{\frac 12}{a} not > working, \to, \ot and \otto arrows not adjusting to the lengths of > their subscr

[NTG-context] Re: ntg-context Digest, Vol 10, Issue 21

2005-04-07 Thread Kai Straube
[ComputerModernSans-Italic] % \stopfontclass > > \startfontclass[modern] >    \definefontsynonym [MathRoman]  [Sans] >    \definefontsynonym [MathItalic] [SansItalic] > \stopfontclass > > % initialize the typeface > > \setupbodyfont[modern,ss] > > \starttext > Some text,

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Khaled Hosny
> > > >> Florian > > > > > > Hi Florian, > > > > > > that does work, thank you very much. > > > I assume the \setff means something like set font feature. If so, I > > > could shorten my typescript and only specify the 4 main font

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
gt; > >> Florian > > > > > > > > Hi Florian, > > > > > > > > that does work, thank you very much. > > > > I assume the \setff means something like set font feature. If so, I > > > > could shorten my typescript and only spec

Re: [NTG-context] formula, bookmarks and misc

2006-10-28 Thread Aditya Mahajan
pbuffer \setupsubformulas [conversion=romannumerals] \startsubformulas[Maxwell] \placeformula \startformulas \startformula \startalign \NC \nabla\cdot\bf E \NC = \frac{\rho}{\varepsilon_0} \NR[Maxwell 1] \NC \nabla\times\bf E \NC = - \frac{\partial\bf B}{\partial t

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Bruce Horrocks
> On 13 Jun 2024, at 21:04, Otared Kavian wrote: > > Hi Ralph, > > I don’t see any pixels in the PDF file when I typeset your code snipet (on > MacOS 11.7.10). Here is what I get. > > Best regards: Otared > > I see it on both - the original and Otared's. Otared: If open yours (on MacOS 1

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread ralph . 2718
Hi, thank you all for your replies so far. I guess I’ll have to live with that for now (of course this isn’t really a problem, but a bit unpleasant to look at when you’re used to the straight lines in LaTeX). Just wanted to add that I can see this artifacts quite clearly on a 13 inch 1080p scre

Re: [NTG-context] siunitx feature in unit module

2015-03-03 Thread Hans Hagen
-mode=symbol]{\metre\per\second} produce m/s \unit{10 meter per second} \si[per-mode=fraction]{\metre\per\second} produce \frac{m}{s} I think it is not possible with \unit{} Do you know if there is the project to implement this feature? currently not on the agenda

Re: [NTG-context] Text inline fractions

2016-06-25 Thread Thomas Fehige
slash; something like 1{}^1/_2 to mean one and a half? \definefontfeature[fraction][frac=yes] \definehighlight[textfraction][style={\feature[+][fraction]}] \starttext \m{1\vfrac{1}{2}} 1\textfraction{1/2} \stoptext Wo

Re: [NTG-context] Setting \textrules

2016-07-13 Thread Wolfgang Schuster
ommand=\groupedcommand{}{\nbsp}, after=\textrule] \setuptextrules[width=0pt,distance=0pt] \starttext \startpropriete Soit \math{q} un réel \math{\neq 1}, alors pour tout entier naturel \math{n\geqslant 1} on a : \startformula S=1+q+q^2+\dots+q^n=\frac{1-q^{n+1}}{1-q}. \stopf

Re: [NTG-context] Position of prime for derivatives

2017-06-08 Thread Aditya Mahajan
carefully, but there is nothing special in \frac. The likely cause is prime is misplaced in cramped style or similar and similar misplacement will happen whenever that style is used. I would be weary of using {... \over ...}. At the very least, use \Ustack{... \over ...}, else any code that uses

Re: [NTG-context] \textfraction broken?

2017-07-10 Thread Henri Menke
On Mon, 2017-07-10 at 19:34 -0400, Alan Bowen wrote: > Adding > > \definefontfeature[fraction][frac=yes] > \definehighlight[textfraction][style={\feature[+][fraction]}] > > fixes the problem in the sample just sent. This, and the font has to have the cor

[NTG-context] Formulas and pagebreaks

2017-08-30 Thread Henri Menke
add a tracing option here \ifgridsnapping \directvspacing\v!depth \else \kern\dimexpr\strutdp-\prevdepth\relax % <--- \prevdepth\strutdp \fi \fi\fi\fi} \protect \starttext \dorecurse{4}{\input knuth\par} \startformula \exp(x)=\sum_{k=0}^{+\infty}

Re: [NTG-context] \vfrac (math mode)

2018-05-22 Thread Alan Braslau
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 wrote: > Hi Alan, try this: > > \def\vFrac#1#2{#1 \Uskewed / #2} > > \starttext > $\frac{2

Re: [NTG-context] labeling in meta post

2018-09-06 Thread Henri Menke
$\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 > _

Re: [NTG-context] Fraction with a fraction in the denominator

2013-06-05 Thread Otared Kavian
mathfraction > [wfrac] > [margin=.25em] > > \starttext > > \startformula >\wfrac { >a >} { >\frac { >b >} { >

[NTG-context] numerator is too high in \frac{3}{4}, in palatino

2014-05-01 Thread Sanjoy Mahajan
I've noticed the following issue with how high the numerator is placed, but only when using Palatino: \setupbodyfont[palatino] \starttext \startformula {3\over4}\quad {1\over2} \stopformula \stoptext The 3 and the 1 sit quite high above the division line, esp. in comparison with the gap below the

Re: [NTG-context] upright lowercase Greek letters in math formulas

2014-05-26 Thread Johannes Kuester
How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)? Here's a minimal example: \setupbodyfont[times] \starttext $15{\rm\frac{μm}{μs}}$ 15 μs \stoptext T

[NTG-context] displaymath, grid, vertical spacing, setupformulas

2014-10-18 Thread Mikael P. Sundqvist
. Is there a configure to get both of these to occupy three lines? I use the latest standalone. /Mikael \setuplayout[ grid=tolerant, ] \showgrid %\setupformulas[ %spacebefore=, %spaceafter=, %] \starttext \dorecurse{10}{This is a statement. } \startformula 1+2+\cdots+(n-1)+n=\frac{1+n}{2}n

[NTG-context] handling fonts with missing math (was: math signs in itemize)

2011-09-25 Thread Mojca Miklavec
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

[NTG-context] \mathopen, \Uover and friends

2020-05-09 Thread Otared Kavian
cture ${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[

Re: [NTG-context] Funny radicals in LMTX

2020-06-11 Thread Mikael Sundqvist
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. >

Re: [NTG-context] Small integral signes with Palatino

2012-05-27 Thread Aditya Mahajan
\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

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Wolfgang Schuster
;> 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

Re: [NTG-context] Context, Metapost \sometxt and color

2006-12-02 Thread Mojca Miklavec
ometxt on my request, but I don't understand why "one" is the default value now either. > % example code > \setupcolors[state=start] > \starttext > \startMPcode > picture p; > p := \sometxt{$R_{\mu \nu } - \frac{1}{2} R - \Lambda g_{\mu \nu} = > \ka

[NTG-context] Known nath bugs?

2004-05-28 Thread Sebastian Sturm
also thought that delimiters like ( or [ should automatically adjust to the formula they contain, but (\sum_{something} \frac{something}{something}) only produces standard parentheses. Commands like \lbrace or \lbrack work as expected, though. If these problems are unknown, I can post a small

Re: [NTG-context] Re: nath catcode issues

2004-07-05 Thread Giuseppe Bilotta
t; {No more a valid command. Replace {A \over B} with \frac A >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] command \string\atop } >> {No more a valid command. Use array [EMAIL PROTECTED] >> [EMAIL PROTECTED] command \string\choose } >> {No more a valid command. Replace {

Re: [NTG-context] Updated math modules

2004-11-22 Thread David Munger
ompletecontent \section{MathÃmatiques} \[ f(x)= \frac 1x \] \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] XML & s

2004-12-09 Thread Adam Lindsay
were printed, and didn't act as escapes. Am I missing something in the correct usage, or is support "incomplete"? This is a sample file, showing how I've been trying to use it: \useXMLfilter[mml] \starttext \startXMLdata t+3+x+t\neq m\alpha\frac\theta\hbar \stopXMLdata \sto

Re: [NTG-context] nath bug

2004-12-21 Thread Giuseppe Bilotta
ath] > \starttext > \[ e^{\frac{1}{\gamma-1}} \] > \stoptext I just hit the same bug working on my PhD thesis :) Basically, the fix that I implemented to solve the problem with ^^ not working to access arbitrary characters when nath was active causes this bug. A possible solution (as a quick ha

Re: [NTG-context] Using Bold SmallCaps in LuaTeX - typescript

2010-11-29 Thread Ch. B.
en my typescript and only specify the 4 main font faces > > (regular, bold italic, bold-italic) since the fonts all have all the > > opentype features i need (onum & smcp etc.) And these can be accessed > > via \setff{feature}, I guess. > > Yes, you can define for instanc

Re: [NTG-context] questions about math formula

2007-06-06 Thread Aditya Mahajan
has been on my todo list for a long time now. You can get something by using matrix environments, but then the interline spacing is not correct. See http://dl.contextgarden.net/myway/mathalign.pdf page 21. > 2) It seems that \left and \right cannot be used on separate groups. > Here is a

Re: [NTG-context] Urgent: Strange index problems

2009-09-08 Thread Xan
hi (n)$. \stopmylema \startmydemo Clarament, per a tot $n \in \naturalnumbers$, \startformula \startsplit \NC \varphi_k (n) \NC = \max \{ \frac{1}{k+1} \sum_{i=0}^k D_{\sigma, g, h} (t+i) \mid t \in \naturalnumbers, (g, h) \in K_{G, X} (n)\}\NR \NC \NC \leq \frac{1}{k+1} \sum_{i=0}^k \max \{D_{\sigma

[NTG-context] font feature

2021-07-08 Thread Thomas A. Schmitz
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

[NTG-context] Accent wrecking \mathboxanchored

2022-12-22 Thread Gavin via ntg-context
_{\mu}% <-- This works, without accent %\mathboxanchored[nucleus]{c2}{\bar{e}}_{\mu} % <-- This does not work, with accent \bar{\mathboxanchored[nucleus]{c2}{e}}_{\mu} % <-- This works, but connector punches through accent \mathboxanchored[nucleus]{c3}{e}^{\beta} = \f

[NTG-context] Unconnected \mathboxanchored produces unexpected results

2022-12-22 Thread Gavin via ntg-context
lts. \startformula \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha} \mathboxanchored[nucleus]{c2}{e}_{\mu} \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}} \bar\sigma^{\dot\alpha\beta}_{\mu} \stopformula \stopboxanchoring \stoptext anchors-002-copy.pdf Description: Adobe

Re: [NTG-context] Math issue

2023-02-16 Thread Hans Hagen via ntg-context
\times 12} \over {44 \times 56}}=14.2\ \rm kilo \stopformula \stopformulas \stoptext Thank you for hinting me how to this correctly. \frac{...}{...} .. forget about \over - Hans Hagen

Re: [NTG-context] \definemathfence broken in latest

2023-03-25 Thread Mikael Sundqvist via ntg-context
es] > > \starttext > \startformula > \abs{v} = \frac{1.32}{1.41} = 0.935 > \stopformula > \stoptext > > This causes an error, complaining that \abs is undefined. However, workes > fine with > > ConTeXt ver: 2023.02.07 19:06 LMTX fmt: 2023.3.14 int: english/englis

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] Spacing problem around decimal point

2023-03-28 Thread Bruce Horrocks via ntg-context
the new binary. (Thanks, Günter!) The x86_64-darwinlegacy from that download link version has fixed the problem on the Mac. Thank-you all involved. \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext gives the attached. —

[NTG-context] misalignment of equation numbers

2014-12-27 Thread j. van den hoff
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

Re: [NTG-context] itemize columns transposed

2016-09-17 Thread Wolfgang Schuster
\int_0^{\ln 2} e^s\,ds$ \stopitem \startitem $\int_0^{\ln 2} e^{2s}\,ds$ \stopitem \startitem $\int_0^{\pi} \sin t\,dt$ \stopitem \startitem $\int_0^{2\pi}\sin t\,dt$ \stopitem \startitem $\int_0^1\frac{1}{1+x^2}\,dx$ \stopitem \stopitemize \stoptext Wo

Re: [NTG-context] Broken mathalign in 2017.05.15

2017-09-27 Thread Hans Hagen
On 9/26/2017 11:10 PM, Stephens, Kenny wrote: \starttext \startformula   \startmathalignment[m=2,distance=4em]    \NC \text{slope}_A \NC = 0    \NC \text{slope}_B \NC = \frac{1}{2} \NR   \stopmathalignment \stopformula \stoptext In ConTeXt 2017.05.15 (shipped with TexLive 2017), the

Re: [NTG-context] Problem to install Garamond font with mathdesign

2014-01-02 Thread Wolfgang Schuster
e[mathdesign] > \setupbodyfont[garamond] > > \starttext > > Some random text and \math{\alpha=\frac{-b}{2a}} > > \stoptext > ==

[NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-21 Thread Sanjoy Mahajan
m in the denominator but a display-math k in the numerator. The second sqrt is fine. Is the problem that my plain-TeX habits, from decades using \over, should be over, and that \frac is the recommended way? (This is with the 2014.03.27 beta.) -S

Re: [NTG-context] upright lowercase Greek letters in math formulas

2014-05-26 Thread Mojca Miklavec
On Mon, May 26, 2014 at 2:57 PM, Mikael P. Sundqvist wrote: > On Mon, May 26, 2014 at 2:12 PM, Mojca Miklavec wrote: >> How could I get upright lowercase Greek letters in math formulas >> (provided that such a symbol exists, of course)? > > $\mathgreekupright 15{\rm\frac{μm}{μ

Re: [NTG-context] Getting width of text to be typeset

2020-05-23 Thread Gerben Wierda
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 int

Re: [NTG-context] basic issues with formulas

2020-12-03 Thread Wolfgang Schuster
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

Re: [NTG-context] XITS fonts - second beta

2010-06-09 Thread Khaled Hosny
lease features also a rudimentary user guide. > > > >The text fonts provide to features over STIX fonts: > >* oldstyle figures, through 'onum' feature > >* text fractions, through 'frac' feature > > and: > > * sane filenames > > >As us

[NTG-context] Broken Nightly (2012.01.23)

2012-01-24 Thread Kip Warner
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

Re: [NTG-context] "overscored" or "overlined" text … (or whatever it should be called)

2012-01-25 Thread Aditya Mahajan
, \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

[NTG-context] Euler Constant and limit

2012-11-24 Thread 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) = \frac{K P_0 \Eulerconst^{rt}} {K + P_0(\Eulerconst^{r t} - 1)}} \stopformula The

Re: [NTG-context] Math font tips and tricks

2021-11-11 Thread Marcus Vinicius Mesquita via ntg-context
\gamma x) dx = \lim Z → ∞ \stopformula \egroup \startformula \sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2 \stopformula \bgroup\bf \startformula \sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2 \stopformula \egroup \stoptext

[NTG-context] Suggestions for more math classes?

2022-01-27 Thread Mikael Sundqvist via ntg-context
)). So far, Hans has implemented frac and rad for fractions and radicals. The fractions has been a funny construction, being put inside empty delimiters, and so surrounded by the \nulldelimiterspace (which has been set to 1.2pt, independent of font size). Now we have better control of the spacing

Re: [NTG-context] new uplaod

2022-09-10 Thread Hans Hagen via ntg-context
$ \autofences x | \frac{a}{x}$ $ \autofences ( \frac{a}{x} + b | x )$ should also work (lone middles) Le jeu. 25 août 2022 à 18:18, Hans Hagen via ntg-context mailto:ntg-context@ntg.nl>> a écrit : Hi, I uploaded a new lmtx. Again some updated math of which details will be revealed

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
gt; \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} >> \stopformula &g

Re: [NTG-context] Myway on using mathalign

2006-04-05 Thread WN
awithnumber[kem-chapter1-eqn1] \startformula \startalign \NC \div \vec{E} \NC = \frac{\rho}{\epsilon_{0}}\NR[kem-chapter1-eqn1:A][a] \NC \rot \vec{B} \NC = \mu_{0} \:\vec{j} \NR[kem-chapter1-eqn1:B][b] \NC \div \vec{B} \NC = 0\NR[kem-chapter1-eqn1:C][c] \NC \

[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context
or i = 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 tha

Re: [NTG-context] itemize columns transposed

2016-09-17 Thread Aditya Mahajan
t\,dt$ \item $\int_0^1\frac{1}{1+x^2}\,dx$ \stopitemize but only with \startitem ... \stopitem? It is not that I have anything against using the \start...\stop... mechanism, but just curiosity. I haven't looked at the code, but most likely reason is that it uses a two pass mechanism.

[NTG-context] typescript and font features bug?

2008-09-19 Thread Zhaopeng Xing
] [serif] [myserif] [default] \usetypescript[myserif] \setupbodyfont[myserif,rm,12pt] \starttext \input zapf \stoptext %FILE2: test2.tex \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes

[NTG-context] Using a .fea file disable arabic contextual analysis

2008-10-31 Thread Khaled Hosny
,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,frac=yes, calt=yes,ccmp=yes,kern=yes,mark=yes, mkmk=yes,ardi=yes,featurefile=digit.fea] \font\ara=arabtype*fea at 20pt\ara \textdir TRT\pardir TRT بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم 1234567890 \bye lookup ArabicDigits { lookupf

Re: [NTG-context] XITS fonts - second beta

2010-06-09 Thread taco
also a rudimentary user guide. The text fonts provide to features over STIX fonts: * oldstyle figures, through 'onum' feature * text fractions, through 'frac' feature and: * sane filenames As usual, it is available from github: http://github.com/khaledhosny/xits-math/download

Re: [NTG-context] Small integral signes with Palatino

2012-05-27 Thread Tim Steenvoorden
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

Re: [NTG-context] Euler Constant and limit

2012-11-25 Thread Wolfgang Schuster
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

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-23 Thread Hans Hagen
t arabtype that suggests it, thats the problem; open type fonts *don't* have any information about what features should be on by default; it's the renderers that kind of decide it and there is no standard, so any renderer will follow its own rules also, some features (like frac) are often

Re: [NTG-context] from latex & pstricks to context

2009-07-13 Thread Mojca Miklavec
t=1pt,fill=white] { $\displaystyle \tan \alpha \black = \frac{{\red \sin \alpha}}{\blue \cos \alpha}$} (intersection of 0,0--30:1cm and 1,0--1,1) coordinate (t); \draw (0,0) -- (t); and the rest should work. I mean: under normal usage, most thi

Re: [NTG-context] {{ double braces }}

2008-01-21 Thread Mikael Persson
Hi Steffen, I don't really know regex, but how does your double brace work with the following \footnote{{This $\frac{a}{b^{c+d}}$ is a strange footnote}} note the double }} in the math formula. /Micke P On Jan 21, 2008 3:45 PM, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > Hi, &g

Re: Re[4]: [NTG-context] Known nath bugs?

2004-05-30 Thread Sebastian Sturm
. At the moment I'm having all kinds of issues with nath (even without any preamble at all), like \binom{\frac 12}{a} not working, \to, \ot and \otto arrows not adjusting to the lengths of their subscripts, etc... and I can hardly imagine that all of these are nath bugs, so maybe something

[NTG-context] [***SPAM***] Bug? \getmarking fails under some circumstances

2009-05-12 Thread Oliver Heins
m adp setzt die beiden letztgenannten Formate ein. Hier ein Beispiel für den Mathematiksatz von \TeX{}: \startlinecorrection \vskip-.5\baselineskip \placeformula \startformula \startmathalignment[m=2,distance=2em]%Notice distance=2em \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \

[NTG-context] STIX2 font issues with freshly installed FMTX

2022-01-03 Thread Heinrich Paeßens via ntg-context
): - \setupbodyfont[stixtwo] \starttext Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- // \placeformula[eqn:def-m] \startformula m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}} \stopformula \stoptext - Unfortunately the compiler throws an error — why is there a check of

[NTG-context] Re: Fractions

2023-12-10 Thread Gavin via ntg-context
b am 09.12.2023 um 17:19: >>> >>> Very clear ! >>> In typography for Mathematics books, what choice should we make for the >>> best possible result ? >>> >>> A question better answered by Mikael or Aditya! >> Thank you for your trust, Wo

Re: [NTG-context] [SPAM] Kerning/italic correction problem with TeX Gyre Bonum font

2018-03-15 Thread Mikael P. Sundqvist
$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 >>> \Bigl|\int_0^\pi\sin x\,dx\Bigr|, >>> \stopfo

Re: [NTG-context] Converting math from LaTeX to ConTeXt

2004-08-08 Thread Giuseppe Bilotta
gt;\begin{equation} >\begin{split} >\lefteqn{ > \frac{\partial (\rho (\phi u)_j)}{\partial t} > + \nabla_k (\rho (\phi u)_k u_j) >}\quad\quad >\\ >= &\; > -\nabla_j (\phi p) > + \nabla_j (\lambda \nabla_k (\phi u_k)) >

Re: [NTG-context] Font too small with a macro

2022-04-23 Thread Fabrice Couvreur via ntg-context
I compile with context the expected result is correct but with lmtx > the font under the square root is smaller. > > Thank you > > Fabrice > > > > \protected\def\exp{\text{\normal exp}} > > > > \starttext > > \startformula > >\sqrt{\exp(x)}

Re: [NTG-context] font features

2022-11-03 Thread Herbert Voss via ntg-context
tures with otfinfo in the terminal. For example: iMac:~ voss$ otfinfo -f `kpsewhich LibertinusSerif-Regular.otf` c2sc    Small Capitals From Capitals calt    Contextual Alternates case    Case-Sensitive Forms ccmp    Glyph Composition/Decomposition cpsp    Capital Spacing dlig    Discretionary Liga

Re: [NTG-context] Unconnected \mathboxanchored produces unexpected results

2022-12-22 Thread Hans Hagen via ntg-context
not to use this connector, producing unexpected results. \startformula \mathboxanchored[nucleus]{c1}{e}^{\dot\alpha} \mathboxanchored[nucleus]{c2}{e}_{\mu} \mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}} \bar\sigma^{\dot\alpha\beta}_{\mu} \stopformula \stopboxanchor

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-14 Thread Henning Hraban Ramm
Am 13.06.24 um 23:13 schrieb Hans Hagen via ntg-context: On 6/13/2024 10:04 PM, Otared Kavian wrote: Hi Ralph, I don’t see any pixels in the PDF file when I typeset your code snipet (on MacOS 11.7.10). Here is what I get. No problems on windows on chrome-os either. Mikael S and I checked it on

Re: [NTG-context] \math or $ doesn't work.

2015-06-02 Thread Otared Kavian
has the character, what you want to typeset is the character U+00BD for 1/2 or, if you want to use mathmode, either of the solutions below (wtach the slight differences between the three versions): \starttext $8\tfrac{1}{2} × 11$ inch $8\frac{1}{2} × 11$ inch $8{1 \over 2} × 11$ inch \stop

Re: [NTG-context] frac and tfrac with sqrt

2014-10-07 Thread Hans Hagen
On 10/7/2014 7:33 AM, Mikael P. Sundqvist wrote: On Mon, Oct 6, 2014 at 11:32 PM, Wolfgang Schuster wrote: \setupmathradical[alternative=default] Very good! Hans, will the default be default in next beta? :) no, but there will be different settings ... the problem with fractions and radic

Re: [NTG-context] typescript and font features bug?

2008-09-20 Thread Hans Hagen
or the first files, with no font features specified, it is OK. I > do not know whether someone else can replicate this problem. But it > happended on my laptop. All compiled are attached in this email. \definefontfeature[minion][language=dflt, script=latn, mode=node,

<    1   2   3   4   5   6   7   8   >