[NTG-context] Converting math from LaTeX to ConTeXt

2004-07-25 Thread Brooks Moses
xample of the sorts of things I end up doing: \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)) + \nabla_k \le

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
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

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Hans Hagen
ry -- radicals (roots) are rather special and have some hard coded properties (like always scriptscript in the degree) -- \over (and friends) that are used in \frac (which by the way can be configured in many ways) has the danger of getting the wrong style as side effect of parsing (math list co

[NTG-context] Problem with TSV tables

2008-06-10 Thread Jan-Erik Hägglöf
tTSV %Riktig tid $ T $ Pulser per sekund $ \frac{d\nu}{dt} $ Absolut fel $ \delta \nu'=\sqrt{\nu} $ a b c d \stopTSV \processseparatedfile[TSV][sndfall.dat] \eTABLE \stoptext TeXExec | processing document 'tsvmall.tex' TeXExec | no ctx file found TeXExec | tex processing method:

Re: [NTG-context] \presentationstep

2004-11-10 Thread Otared Kavian
tokes equation] \placeformula[eq:incompressibility] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NS] \startformula \frac{D\vec u}{Dt} = \FromStep[2][reserve]{-{\red \frac1\rho \vec\nabla p}} \FromStep[3][reserve]{+\;{\green \vec g}} \FromStep[4][reserve]{+\;{

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
$A \cap B = \emptyset$, aleshores $A$ i $B$ són {\em incompatibles}. \stopitemize \item Càlcul de probabilitats. Regla de Laplace. \startitemize[n,packed] \item Assignació de $\frac{1}{n}$ als esdeveniments elementals (equiprobables) $A_i$ d'un espai mostral \item Aplicació de la re

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Andres Conrado Montoya
signature (only one fold in the middle) usually is 1/2 the circumference of a circle with radius *r*, being *r* the thickness of the paper times the amount of physical signatures. Something like: \frac{π \times t \times s}{2}. I have not tried a formula for more folds in a signature. The thing is, you

Re: [NTG-context] Example of Equivalent of Beamer with \onslide

2016-10-22 Thread B.A.Lee
Thanks, Wolfgang, The example was most useful. I tested it on some math and I managed to use \FlushStep to reveal a formula step by step, something like: \setupinteraction[state=start,click=no] \usemodule[pre-stepwise] \starttext \StartSteps \startformula \frac{-b \FlushStep

Re: [NTG-context] The binomial coefficients do not look optimal

2017-09-02 Thread Mikael P. Sundqvist
next beta, and I will try to wikify it when I have tried it out. Also lucida looks better than latin modern does at the moment. I am a bit confused about the different versions. I would have guessed that there was \tbinom and \dbinom and that \binom used one of them depending on if one

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
=, >> balance=yes, >> ] >> >> \setupalign[verytolerant,stretch,hanging] >> >> \starttext >> \startMyColumns >> \startformula >> \startmathalignment[n=2,align={left,left}] >> \NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 + 400

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
P_{12} \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 20

Re: [NTG-context] fullpage and XeTeX typescript

2008-12-23 Thread Yue Wang
hat even when you define a specific instance, applying such an instance to a whole document might fail because some features may not cover the whole possible set of combinations of characters (take frac as an example) and so usage demands knowlegde eventually we may have a set of predefined typ

Re: [NTG-context] beta

2011-06-11 Thread Otared Kavian
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

Re: [NTG-context] small caps italic and font switching inside math

2006-06-28 Thread Aditya Mahajan
ation in latex, AIUI). However, the \boldmath definition on contextgarden lacks 1. Use of pmb (poor man's bold) when a true bold character is not present. \boldsymbol{\sum} does not work. 2. Does not take care of the math spacing \formula{ a \boldsymbol{=} a } does not look correct.

Re: [NTG-context] New math feature requests

2006-08-24 Thread Aditya Mahajan
, e.g. > > \placefomrula[a] \startformula > a x = b > \stopformula > > \placetaggedformula[b]{*} \startformula > x = \frac {b}{a} > \stopformula > > should come out as > > a x = b (1) > x = b/a (*) > > Notice that ( a

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Aditya Mahajan
Note that there is no consensus on how the `d` in calculus should be typeset. There are also \differentiald and \differentialD that map to unicode slots. \definemathcommand[arsinh][nolop]{\mathlabel{arsinh}} \starttext $\arsinh z = \ln\bigl(z + \sqrt{z^2 + 1}\bigr)$\par $\rho_{\mathlabel{ai

[NTG-context] New math collection ?

2006-03-08 Thread WN
op] [mc] ["44] [mc] ["45] \definemathsymbol [oiiintclockwise] [op] [mc] ["4C] [mc] ["4D] \definemathsymbol [varoiiintctrclockwise][op] [mc] ["4E] [mc] ["4F] \definemathsymbol [varoiiintclockwise] [op] [mc] ["46] [mc] ["47] \starttext The integral

Re: [NTG-context] mathradical defaults to "normal", should it perhaps be "default"?

2017-06-07 Thread Mikael P. Sundqvist
t understand what normal should mean, >>> but I think the alternative=default looks better. (The lucida fonts >>> are loaded in this example, since the effect is more clear for them). > > Ok, this is the story > > -- radicals (roots) are rather special and have some hard

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
+ 1,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

Re: [NTG-context] XeTeX old style numerals

2008-10-18 Thread Jeff Smith
That being said, I still use mkii and XeTeX. The typescripts quoted below work for me also, but I would like to know again how to, or just if I still can, combine this with \definefontfeature. The thing is, I need more than oldstyle or smallcaps. I need frac=yes for one document, and dlig=yes fo

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Hans Hagen
there with prefix notation (there is a reason why macro package have \frac like variants). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherl

Re: [NTG-context] using variable for subscript in math+lua

2012-10-25 Thread Jeong Dal
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

[NTG-context] Strange font issue with LuaTeX on Linux

2008-09-01 Thread abbg770
lt MtxRun | feature: dnom, script: cyrl, language: srb dflt MtxRun | feature: dnom, script: grek, language: dflt MtxRun | feature: dnom, script: latn, language: rom trk dflt MtxRun | feature: frac, script: cyrl, language: srb dflt MtxRun | feature: frac, script: grek, language: dflt MtxRun | feat

Re: [NTG-context] font features

2022-11-03 Thread Hans Hagen via ntg-context
omposition cpsp    Capital Spacing dlig    Discretionary Ligatures frac    Fractions hlig    Historical Ligatures kern    Kerning liga    Standard Ligatures lnum    Lining Figures mark    Mark Positioning mkmk    Mark to Mark Positioning onum    Oldstyle Figures pnum    Proportional Figures salt   

[NTG-context] Finding the correct name of font to use with \definefontamily

2015-08-08 Thread Pavneet Arora
| aalt dflt dflt mtx-fonts | latn dflt plk rom mtx-fonts | case dflt dflt mtx-fonts | latn dflt plk rom mtx-fonts | dnom dflt dflt mtx-fonts | latn dflt plk rom mtx-fonts | frac

[NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-02 Thread Hans Hagen
was \tbinom and \dbinom and that \binom used one of them depending on if one is in text mode or in display mode (just as I would expect \frac to behave like \tfrac in text mode and \dfrac in display mode). But \tbinom looks very different from \binom in text mode (with more vertical space).  Is

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
xt > \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 = 400 + 40

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
, we can't shoot ourselves in the foot too often. I know that 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

Re: [NTG-context] \presentationstep

2004-11-08 Thread David Munger
2} \stopitemize \StopSteps \StartSteps[Navier||Stokes equation] \placeformula[eq:incompressibility] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NS] \startformula \frac{D\vec u}{Dt} = \FromStep[2][reserve]{-{\red \frac1\rho \vec\nabla p}} \FromStep[3][r

Re: [NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-05 Thread Mikael P. Sundqvist
ontextgarden.net >> ____ >> ___ >> >> >> Thank you very much, I'm looking forward to the next beta, and I will try >> to wikify it when I have tried it out. Also lucida looks bet

[NTG-context] page break

2020-02-09 Thread Fabrice Couvreur
m \blank \startitem {\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}

Re: [NTG-context] \presentationstep

2004-11-10 Thread Vit Zyka
ion} \stopitemize \StopSteps \StartSteps[Navier||Stokes equation] \placeformula[eq:incompressibility] \startformula \vec\nabla\cdot\vec u = 0 \stopformula \placeformula[eq:NS] \startformula \frac{D\vec u}{Dt} = \FromStep[2][reserve]{-{\red \frac1\rho \vec\nabla p}} \FromStep[3][reserve]{+\;{\green \

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-11 Thread Ivan Pešić
estion is of interest to others as well, please add an entry > to the Wiki! > > > > 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

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Aditya Mahajan
ts 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

Re: [NTG-context] Inconsistent handling of ligatures

2011-02-10 Thread Christian
ature[default][default][expansion=quality,protrusion=quality,mode=node,script=latn,kern=yes,liga=yes,palt=yes,tlig=yes,trep=yes,init=yes,size=yes] \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes]

[NTG-context] startalign broken in latest checkout

2012-07-04 Thread Prashanth
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

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
is an explanation}} \NC\NC E=\sqrt{p^2c^2+m^2c^4} \NR \NC \rlap{\text{This is a longer explanation}} \NC\NC \left(\beta mc^2+c\left(\sum _{n=1}^3 \alpha_n p_n \right)\right) \psi(x,t) = i \hbar \frac{\partial \psi(x,t)}{\partial t} \NR \stopalign \stopformula \stoptext The inner

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

2014-01-01 Thread Fabrice Couvreur
=\frac{-b}{2a}} \stoptext mtx-context | run 1: luatex --fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/co

Re: [NTG-context] OTF features

2008-08-05 Thread Hans Hagen
| feature : dlig -> latn afk nld rom trk dflt MtxRun | feature : dnom -> latn afk nld rom trk dflt MtxRun | feature : dpng -> latn afk nld rom trk dflt MtxRun | feature : frac -> latn afk nld rom trk dflt MtxRun | feature : liga -> latn afk nld rom trk dflt MtxRu

Re: [NTG-context] OTF features

2008-08-05 Thread Willi Egger
MtxRun | feature : aalt -> latn dflt > MtxRun | feature : case -> latn afk nld rom trk dflt > MtxRun | feature : crcy -> latn afk nld rom trk dflt > MtxRun | feature : dlig -> latn afk nld rom trk dflt > MtxRun | feature : dnom -> latn afk nld rom trk dflt

Re: [NTG-context] How to move an inframed block?

2009-08-15 Thread rrvhassel
t every point $X\in \Omega$ and there holds also that $\text{det}\startmatrix[left={\left[\,},right={\,\right]}] \NC {\displaystyle \frac{\partial f^{i}}{\partial x^{j}}}(X)\NR \stopmatrix \neq 0$ for every $X\in\Omega$. \stopitemize}{} %\QED}{} \stoptext ### End Example. Question is now: Ho

Re: [NTG-context] align text and formula

2016-08-25 Thread Jan Willem Flamma
NC E=mc^2 \NR >\NC \rlap{\text{This is an explanation}} \NC\NC > E=\sqrt{p^2c^2+m^2c^4} \NR >\NC \rlap{\text{This is a longer explanation}} \NC\NC \left(\beta > mc^2+c\left(\sum _{n=1}^3 \alpha_n p_n \right)\right) \psi(x,t) = i \hbar > \frac{\partial \psi(x,t)}{\partial

Re: [NTG-context] new version

2020-06-10 Thread Alan Bowen
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 finetu

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
ontrary to other macro packages that don't / can't 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

Re: [NTG-context] simplefonts

2010-03-12 Thread Thomas A. Schmitz
Alternates c2scSmall Capitals From Capitals caltContextual Alternates caseCase-Sensitive Forms cpspCapital Spacing dligDiscretionary Ligatures dnomDenominators finaTerminal Forms fracFractions histHistorical Forms kernKerning ligaStandard Ligatures lnum

[NTG-context] New math feature requests

2006-08-07 Thread Aditya Mahajan
ulas to be tagged. I will explain amsmath's behaviour and hope that Hans can come up with the context way of doing such things. Occasionally, one wants to tag a formula, e.g. \placefomrula[a] \startformula a x = b \stopformula \placetaggedformula[b]{*} \startformula x = \frac {

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
ieve me, you really don't want to know the > > details. > > > > So the answer is "Can't be done without overhauling the whole concept". > > > > Now, I know that the na

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
an explanation}} \NC\NC >> E=\sqrt{p^2c^2+m^2c^4} \NR >>\NC \rlap{\text{This is a longer explanation}} \NC\NC \left(\beta >> mc^2+c\left(\sum _{n=1}^3 \alpha_n p_n \right)\right) \psi(x,t) = i \hbar >> \frac{\partial \psi(x,t)}{\partial t} \NR >> \stopal

Re: [NTG-context] using cmbright and hfbright fonts

2006-11-23 Thread M.J. Kallen
a_1,a_2,\ldots,a_m$. If $\gamma$ is a closed rectifiable curve in $G$ which does not pass through any of the points $a_k$ and if $\gamma\approx 0$ in $G$ then \startformula \frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k). \stopformula {\bf Theorem 2 (Maximum Modulus).} {

Re: [NTG-context] Feynman Diagrams

2023-04-12 Thread Aditya Mahajan via ntg-context
= 0 step 0.1 until length p: x := xpart (point u of p); y := ypart (point u of p); max_x := max(max_x, x); max_y := max(max_y, y); min_x := min(min_x, x); min_y := min(min_y, y); endfor begin_sketch use_tile (t, min_x, min_y, max_x-min_x, max_y-min_y); clip currentpi

[NTG-context] math: size of sqrt to small for fractions

2013-04-09 Thread Xenia
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 >

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

2017-06-04 Thread Mikael P. Sundqvist
rest to others as well, please add an entry to >>>> the Wiki! >>>> >>>> maillist : ntg-context@ntg.nl / >>>> http://www.ntg.nl/mailman/listinfo/ntg-context >>>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >>>> a

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
thlabel{arsinh}} \starttext $\arsinh z = \ln\bigl(z + \sqrt{z^2 + 1}\bigr)$\par $\rho_{\mathlabel{air}} = \frac{p}{R_{\mathlabel{specific}}T}$\par \stoptext >Hans Hagen wrote: >\unprotect >\def\v!sansnormal {sansnormal} >%def\v!sansbold {sansbold} >\def\v!serifnormal{serifn

Re: [NTG-context] odd end-of-line error w/ Minion Pro

2011-02-11 Thread Christian
ure[default][default][expansion=quality,protrusion=quality,mode=node,script=latn,kern=yes,palt=yes,tlig=yes,trep=yes,init=yes,size=yes] \definefontfeature[dlig][default][dlig=yes] % Discretionary Ligatures: Activates uncommon ligatures \definefontfeature[frac][default][frac=yes,numr=yes] % Fractions e.g

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Hans Hagen
athlabel{d}}\mathopen{}} i can add a 'diff' With this new \mathlabel command, the user now have a convenient and consistent way to label its math objets (functions and variables with subscripts): \definemathcommand[arsinh][nolop]{\mathlabel{arsinh}} \starttext $\arsinh z = \ln\bigl(z +

Re: [NTG-context] Font Question

2005-12-07 Thread Adam Lindsay
o be added! \setupbodyfont [pal,11pt] \starttext This is a test $a \neq \frac{b}{c}$. \stoptext %- \usetypescript[palatino][texnansi] \switchtobodyfont[palatino,11pt] \usetypescriptfile[type-eul] \usetypescript[eul] \switchtobodyfont[eul] \starttext This is a test and $a = b$.

<    3   4   5   6   7   8