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
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
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
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:
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]{+\;{
$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
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
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
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
=,
>> 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
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
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
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
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.
, 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
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
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
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
+ 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
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
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
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
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
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
| 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
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
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
, 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
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
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
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}
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 \
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
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
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]
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
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
=\frac{-b}{2a}}
\stoptext
mtx-context | run 1: luatex
--fmt="/home/fab/texlive/2013/texmf-var/luatex-cache/co
| 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
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
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
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
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
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
Alternates
c2scSmall Capitals From Capitals
caltContextual Alternates
caseCase-Sensitive Forms
cpspCapital Spacing
dligDiscretionary Ligatures
dnomDenominators
finaTerminal Forms
fracFractions
histHistorical Forms
kernKerning
ligaStandard Ligatures
lnum
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 {
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
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
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).}
{
= 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
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 >
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
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
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
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 +
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$.
701 - 756 of 756 matches
Mail list logo