> On 21 Feb 2024, at 08:17, madiazm.eo...@gmail.com wrote:
>
> Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit
> lua in summer.
> I just got an error on \qquad and found searching in internet that it was
> because escape character conflicts b
Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit
lua in summer.
I just got an error on \qquad and found searching in internet that it was
because escape character conflicts between tex and lua. For the time i removed
it and since I will create itemizes I hope I dont
cker = 0
the_question = {}
else
tracker = tracker + 1
the_question[tracker] = the_buffer[i]
end
-- If tracker has got to 4 then we've read four lines
if tracker == 4 then
context.startlines()
context("{\\bf Beispiel
.
For the example, I use this macro definition (which does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file
does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file ./prueba.tex: The file ended when
scanning
On 7/7/2023 1:09 PM, Carlos wrote:
\showmakeup displays it astonishingly correctly indeed
probably a side effect of the fact that injected stuff resynchronizes
the character progression in the pdf file (every char start with
explicit coordinates) while without showing it depends on the width
ybe bad metricks then but
> > > > > I'm
> > > > > not going to look into that as the official TUG lucida opentype fonts
> > > > > perform okay.
> > > > >
> > > > > Hans
> > > >
> > > > The first sentence
> Hans
> > >
> > > The first sentence is irrelevant. And a guess. Bad metrics is not the
> > > culprit
> > >
> > > if it were true, the same problem would be under lualatex, correct?
> >
> > well, who knows what (me)tricks
On Wed, Jul 05, 2023 at 07:37:56PM +0200, Hans Hagen via ntg-context wrote:
> On 7/5/2023 7:05 PM, Carlos wrote:
>
> > And I don't want to stir up anything here either, but if the convention of
> > using non-official vs official fonts is the new de facto under lmtx,
> > I guess my opening
gt; > > perform okay.
> > >
> > > Hans
> >
> > The first sentence is irrelevant. And a guess. Bad metrics is not the
> > culprit
> >
> > if it were true, the same problem would be under lualatex, correct?
>
> well, who knows what (me)tri
On 7/5/2023 7:05 PM, Carlos wrote:
And I don't want to stir up anything here either, but if the convention of
using non-official vs official fonts is the new de facto under lmtx,
I guess my opening question is invalid by all acounts
Well, the policy wrt font is quite simple:
(1) one can
On Wed, Jul 05, 2023 at 06:15:41PM +0200, Alan Braslau via ntg-context wrote:
> On 05/07/23 05/07/23, 17:53, Carlos wrote:
> > (sorry for duplicate messages. sending out to mailing list works
> > sporadically Sometimes works, other times doesn't).
>
> As reported, the contextgarden server was
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote:
> On 7/5/2023 5:53 PM, Carlos wrote:
> > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote:
> > > On 7/5/2023 3:18 PM, Carlos wrote:
> > > > \showmakeup on \TeX\ shows a
> > > >
> > > > tSP:3.282
> > > > THK:-1.721
> > > > H__E
math)
But it's not there.
I can't (and won't) check that as I don't have (lua)latex installed nor
have those fonts. I also don't see where this \qquad is in your example.
As for the \showmakup ... it is used extensively and afaiks there are no
issues with it.
Hans
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote:
> On 7/5/2023 5:53 PM, Carlos wrote:
> > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote:
> > > On 7/5/2023 3:18 PM, Carlos wrote:
> > > > \showmakeup on \TeX\ shows a
> > > >
> > > > tSP:3.282
> > > > THK:-1.721
> > > > H__E
On 05/07/23 05/07/23, 17:53, Carlos wrote:
(sorry for duplicate messages. sending out to mailing list works
sporadically Sometimes works, other times doesn't).
As reported, the contextgarden server was down following a disk
controller failure and had taken some time to be reconfigured with
On 7/5/2023 5:53 PM, Carlos wrote:
On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote:
On 7/5/2023 3:18 PM, Carlos wrote:
\showmakeup on \TeX\ shows a
tSP:3.282
THK:-1.721
H__E
X
HK:-1.291
SP:3.282
no MWE includes so clueless
\starttypescript[mylucidaserif]
41 MB
mkiv lua stats > lua properties: engine: lua 5.4, used memory: 62 MB, ctx: 59
MB, max: 59 MB, symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.508 seconds, 1 processed pages, 1 shipped pages,
1.967 pages/second
>
> >
> > > I assume that SP stands for space
as to what does HK means there?
>
> horizontal kern
thanks
(sorry for duplicate messages. sending out to mailing list works
sporadically Sometimes works, other times doesn't).
>
> > Anyhow
> >
> > If I were to have, say, a control _word_ such as \TeX\, the sequen
ave a a \qquad
preceding the control sequence e.g., {\qquad
\TeX\ significantly} to sort of ameliorate this side-effect. But then
again. Spacing is off. e.g.,
no MWE so a space cam come from anywhwere
The separation of any of these four components would have
hurt {\qquad\TeX\ significantly}. If I
rmation as to what does HK means there?
> >
> > Anyhow
> >
> > If I were to have, say, a control _word_ such as \TeX\, the sequence of
> > TeX kerning is thrown off. The only remedy would be to have a a \qquad
> > preceding the control sequence e.g., {\qquad
>
quence of
> TeX kerning is thrown off. The only remedy would be to have a a \qquad
> preceding the control sequence e.g., {\qquad
> \TeX\ significantly} to sort of ameliorate this side-effect. But then
> again. Spacing is off. e.g.,
>
> The separation of any of these four components
can provide me more information as to what does HK means there?
Anyhow
If I were to have, say, a control _word_ such as \TeX\, the sequence of
TeX kerning is thrown off. The only remedy would be to have a a \qquad
preceding the control sequence e.g., {\qquad
\TeX\ significantly} to sort
rac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
> {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
> \stopformula
>
> \stoptext
>
>
> Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context
> a écrit :
> Good afternoon everybody,
>
&
Hi Willi,
A dead simple solution would be
\starttext
\startformula
{\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad
{{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo}
\stopformula
\stoptext
Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <
On 3/13/2023 10:55 PM, Gavin wrote:
On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context
wrote:
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
\startformula
\unit{3 meter} \qquad
\unit{6 Meter} \qquad
\unit{3 mEtEr} \qquad
\stopformula
Units with lowercase prefixes (c, k, n
> On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context
> wrote:
>
> On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
>> \startformula
>> \unit{3 meter} \qquad
>> \unit{6 Meter} \qquad
>> \unit{3 mEtEr} \qquad
>> \stopformula
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote:
\startformula
\unit{3 meter} \qquad
\unit{6 Meter} \qquad
\unit{3 mEtEr} \qquad
\stopformula
Units with lowercase prefixes (c, k, n).
\startformula
\unit{3cm} \qquad
\unit{6kg} \qquad
\unit{3ns} \qquad
\stopformula
Units
noticed
this bug two weeks ago, but could not produce a minimal example until now…
Please see below, in particular the output for the matrices M_1, M_2 and M_3…
Best regards: Otared
% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t
a minimal example until now…
Please see below, in particular the output for the matrices M_1, M_2 and M_3…
Best regards: Otared
% begin bug-thematrix.tex
\starttext
\startformula
M_{1}(t)
:= \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad
B_{1}(t) := \thematrix{1 , {\rm e}^t},
\stopformula
\startformula
M_{2
\unit{3 meter} \qquad
\unit{6 Meter} \qquad
\unit{3 mEtEr} \qquad
\stopformula
Units with lowercase prefixes (c, k, n).
\startformula
\unit{3cm} \qquad
\unit{6kg} \qquad
\unit{3ns} \qquad
\stopformula
Units with capital letters, called with names (coulomb, kelvin, newton).
\startformula
ed,
> align={1:right,2:left,3:left},
> strut=yes,
> ]
>
> \starttext
>
> \placeformula
> \startformula
> \startpdeproblem
> \NC - \Delta u \NC = 0 \NC \qquad\text{in } \Omega \NR
> \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC
> \qquad\text{on } \p
ents, as it is is shown in the following example.
>
>
> I confirm what you said.
>
> However, if I use \dm{} instead of \displaystyle as following, then the
> output is correct.
>
> \placeformula
> \startformula
> \startalignedcases
> \NC - \Delta u \NC = 0 \NC \qquad\te
use \dm{} instead of \displaystyle as following, then the
> output is correct.
>
> \placeformula
> \startformula
> \startalignedcases
> \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR
> \NC \dm{\frac{\partial u}{\partial {\bi n}}}
> \NC = V u + \phi \NC \
placeformula
\startformula
\startalignedcases
\NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR
\NC \dm{\frac{\partial u}{\partial {\bi n}}}
\NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR
\stopalignedcases
\stopformula
or this (with\type{\displaystyle} added)
\placeformula
\
={\left\{},
right={\right.},
style=\displaystyle]
\starttext
Consider this
\placeformula
\startformula
\startalignedcases
\NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR
\NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC \qquad\text{on
}\, \partial\Omega. \NR
]
[align={1:right,2:left,3:left}]}
\starttext
\doifelsemode{lmtx}{We are using LMTX}{We are using mkiv}
\placeformula[eq:1]
\startformula
\startalignedcases
\NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\,
\Omega\times (0,+\infty) \NR
\NC {\partial\phi(u) \over \partial
t; \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\,
> \Omega\times (0,+\infty) \NR
> \NC {\partial\phi(u) \over \partial{\bi n}} \NC = 0 \NC\qquad\text{on }\,
> \partial \Omega\times (0,+\infty)\NR
> \NC u(x,0) \NC = u_{0}(x)\NC\qquad\text{in }\, \Om
,
left={\left\{},
right={\right.},
style=\displaystyle]
\starttext
\placeformula[eq:1]
\startformula
\startalignedcases
\NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\,
\Omega\times (0,+\infty) \NR
\NC {\partial\phi(u) \over
Peak of the root ends at baseline, but only in some cases:
\starttext
$\sqrt{2}$ \qquad $\sqrt{a^2+b^2}$ \qquad $\sqrt{a^2-b^2}$
\stoptext
In this example only \sqrt{a^2+b^2} works as expected
[ConTeXt ver: 2021.04.29 23:09 LMTX fmt: 2021.5.4]
Typesetting in ConTeXt live is correct
the
break should be, as shown in the included snips.
\usemodule [fancybreak]
\definesymbol [asterisms][*\qquad fancybreak\qquad *]
\setupfancybreak[indentnext=no,symbol=asterisms]
\starttext
Before
\fancybreak
After
\stoptext
MkIV output:
LMTX output
Stix Math, TeX
> Gyre Math, and so on, but doing this the math-italic does not appear in these
> fonts: does this mean that I have to set explicitely math-italic in
> definefontfamily?
>
> Also what is the best math font adapted for Nimbus?
>
> Below is my definition of a
traat 27 | 8061 GH Hasselt | The Netherlands
>>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
>> -----
>>
>>
>> --
>>
>> Message: 5
>&
; Below is my definition of a fontfamily for Nimbus fonts.
>
> Thanks in advance for any help: Otared K
>
> %% begin definefontfamily-nimbus.tex
> \definefontfamily [mainface] [rm] [Nimbus Roman No9 L]
> \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85]
> \defi
\it Italic \bf Bold \bi BoldItalic}
And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 +
t^2$.
\startformula
\int_{0}^{2\pi} \sin(x)dx = 0,
\qquad {\rm e}^{{\rm i}\pi} + 1 = 0,
\qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}.
\stopformula
\stoptext
%% end
aligned display mode
\startformula\startalign[m=2]
\NC 2^7 \equiv \qquad \NC \pmod {341}, \NC 14^7 \equiv \qquad \NC
\pmod {341}, \NR
\NC 11^7 \equiv \qquad \NC \pmod {341}, \NC 3^7 \equiv \qquad \NC \pmod
{341}, \NR
\stopalign\stopformula
\startformula\startalign[n=3
define its {\it limit
inferior}, denoted $\liminfbar$ by setting:
\startformula
a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
\qquad\text{and then}\quad
\liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
\stopformula
\stoptext
%%% end bug-math-lmtx.tex
also in yesterdays beta?
Hans
$\liminfbar$ by setting:
\startformula
a_{n} := \inf\{u_{k} \; ; \; k \geq n \},
\qquad\text{and then}\quad
\liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}.
\stopformula
\stoptext
%%% end bug-math-lmtx.tex
___
If your
\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
idth}
> \unexpanded\def\quad {\hskip \emwidth}
> \unexpanded\def\qquad {\hskip 2\emwidth}
>
> The syntax for the \hskip primitive is
>
> \hskip
>
> and the definition of is
>
> plusminus
>
> So “\quad minuskel” will expand to “\hskip\emwidth
make the error appear.
> If i rewrite minus by {minus} the error does not show up either.
That's because the skips in spac-hor.mkiv are defined like this
\unexpanded\def\enskip{\hskip.5\emwidth}
\unexpanded\def\quad {\hskip \emwidth}
\unexpanded\def\qquad {\hskip 2\em
On 4/30/2018 6:50 PM, Ulrike Fischer wrote:
In the following document the second a is much nearer placed to the
V:
\starttext
$V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $
\stoptext
(in the second case an italic kern seems to be missing)
Can one avoid this side effect of nested \math
Am Tue, 1 May 2018 10:12:42 +0200 schrieb Hans Hagen:
> On 4/30/2018 6:50 PM, Ulrike Fischer wrote:
>> In the following document the second a is much nearer placed to the
>> V:
>>
>> \starttext
>> $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $
>&g
On 4/30/2018 6:50 PM, Ulrike Fischer wrote:
In the following document the second a is much nearer placed to the
V:
\starttext
$V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $
\stoptext
(in the second case an italic kern seems to be missing)
Can one avoid this side effect of nested \math
In the following document the second a is much nearer placed to the
V:
\starttext
$V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $
\stoptext
(in the second case an italic kern seems to be missing)
Can one avoid this side effect of nested \math-command? When
building symbols it is not always
I had this code:
99 \placeformula\startformula
100 \eqalignno{
101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr
103 }
104 \stopformula
On 26 Apr 2017, at 16:38, Otared Kav
ced alignment tab character &
>
> &
>
> l.101 H(I,J) &
> = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
>
> 99 \placeformula\startformula
> 100 \eqalignno{
> 101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:eq
This code now fails where before contextbeta had no problems:
tex error > tex error on line 101 in file Info/waarneming.tex: !
Misplaced alignment tab character &
&
l.101 H(I,J) &
= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr
99 \placeformu
;> \definereferenceformat [cite] [type=title,left={},right={}]
>> \definereferenceformat [bibpage] [type=page]
>>
>> \starttext
>>
>> \startbibitem[A, B, and C]\stopbibitem % TEST by commenting
>>
\startbibitem[ABC]\stopbibitem
\startbibitem[A]\stopbibitem
\startbibitem[B]\stopbibitem
\startbibitem[C]\stopbibitem
* \cite[A, B, and C] \qquad{\red output should be: A{,}
B{,} and C}
**\cite[ABC] \qquad{\r
>>>
>>> \definereferenceformat [cite] [type=title,left={},right={}]
>>> \definereferenceformat [bibpage] [type=page]
>>>
>>> \starttext
>>>
>>> \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these
>>> %\startbi
ibitem[A, B, and C]\stopbibitem % TEST by commenting these
>> %\startbibitem[A{,} B{,} and C]\stopbibitem% lines out
>>
>> \startbibitem[ABC]\stopbibitem
>> \startbibitem[A]\stopbibitem
>> \startbibitem[B]\stopbibitem
>> \startbibitem[C]\stopbibitem
>>
>
% lines out
\startbibitem[ABC]\stopbibitem
\startbibitem[A]\stopbibitem
\startbibitem[B]\stopbibitem
\startbibitem[C]\stopbibitem
* \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C}
**\cite[ABC] \qquad{\red output should be: ABC}
***\cite[A], \cite[B], \cite[C] \qquad{\red output
\startbibitem[A]\stopbibitem
\startbibitem[B]\stopbibitem
\startbibitem[C]\stopbibitem
* \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C}
**\cite[ABC] \qquad{\red output should be: ABC}
***\cite[A], \cite[B], \cite[C] \qquad{\red output should be: A, B, C}
\cite[A]\cite[B
gt;>> I apologize for not explaining it better.
>>>
>>> Maybe the below example will illustrate better what I’m trying to achieve.
>>> - The first formula is perfectly aligned.
>>> - The bottom three formulas do not line up with the top formula
>>>
&
what is wrong: please have a look at the second formula in the
attached PDF. (The output with the older version from TeXLIve 2016 is correct).
%% begin vertical-space-bug.tex
\starttext
\input knuth.tex
\startformula
a \leq a_{n+1} \leq a_{n} \leq b_{n+1} \leq b_{n} \leq b, \qquad\mbox{et}\qquad
0
t;> \Clozed{\color[white]{x}\quad\color[red]{CLOZE 3}\quad\color[white]{x}}
>>> \input ward
>>> \Clozed{\color[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}}
>>> \input ward
>>> space \Clozed{\color[red]{CLOZE 5}\qquad\color[white]{x}} space
>
\input ward
>> \Clozed{\color[red]{CLOZE 1}}
>> \input ward
>> \Clozed{\quad\color[red]{CLOZE 2}\quad}
>> \input ward
>> \Clozed{\color[white]{x}\quad\color[red]{CLOZE 3}\quad\color[white]{x}}
>> \input ward
>> \Clozed{\color[green]{x}\quad\color[red]{CL
]{CLOZE 3}\quad\color[white]{x}}
\input ward
\Clozed{\color[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}}
\input ward
space \Clozed{\color[red]{CLOZE 5}\qquad\color[white]{x}} space
\input ward
\stoptext
in next beta you can specify an empty option which will remove the text
(otherwise
r[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}}
\input ward
space \underbar{\color[red]{CLOZE 5}\qquad\color[white]{x}} space
\input ward
\stoptext
I would greatly appreciate help with this problem.
\definebar[ClozedBar][underbar][continue=yes]
\unexpanded\def\Clozed#1{\ClozedBar{
r[white]{x}}
\input ward
space \underbar{\color[red]{CLOZE 5}\qquad\color[white]{x}} space
\input ward
\stoptext
I would greatly appreciate help with this problem.
Thanks so much in advance!
Florian
signature.asc
Description: Message signed with OpenPGP usi
Otared,
>>>
>>> I apologize for not explaining it better.
>>>
>>> Maybe the below example will illustrate better what I’m trying to achieve.
>>> - The first formula is perfectly aligned.
>>> - The bottom three formulas do not line up with the top for
gt; I apologize for not explaining it better.
>>
>> Maybe the below example will illustrate better what I’m trying to achieve.
>> - The first formula is perfectly aligned.
>> - The bottom three formulas do not line up with the top formula
>>
>> I’m trying to align all formula
t; - The bottom three formulas do not line up with the top formula
>
> I’m trying to align all formulas regardless of the amount of text added to
> the left of the formula.
> Of course I could add \qquad or \quad to try and manually align but basically
> I’m interested to know if a
t;
> %%% begin example.tex
> \starttext
>
> \setupformulas[align=flushleft]
> \startformula
> \startalign[n=2,align={left,middle}]
> \NC \text{Text1}\NC\qquad E = mc^2\NR
> \NC \text{Text2}\NC\qquad E = mc^2\NR
>
of text added to the
left of the formula.
Of course I could add \qquad or \quad to try and manually align but basically
I’m interested to know if a fool proof method exist that aligns all without
using \\qquad or \quad
\starttext
% Mid-aligned formula
\startformula
E = mc^2
\stopformula
=flushleft]
\startformula
\startalign[n=3,align={left,middle}]
\NC \text{Text1}\NC \qquad\NC E = mc^2\NR
\NC \text{This is an explanation}\NC\qquad\NC E = mc^2\NR
\NC \text{This is a longer explanation}\NC\qquad\NC E = mc^2\NR
\stopalign
t;
> %%% begin example.tex
> \starttext
>
> \setupformulas[align=flushleft]
> \startformula
> \startalign[n=2,align={left,middle}]
> \NC \text{Text1}\NC\qquad E = mc^2\NR
> \NC \text{Text2}\NC\qquad E = mc^2\NR
>
Hi Jan,
You can specify a certain horizontal distance in the second column, as in the
following:
%%% begin example.tex
\starttext
\setupformulas[align=flushleft]
\startformula
\startalign[n=2,align={left,middle}]
\NC \text{Text1}\NC\qquad E = mc^2\NR
\NC \text
> On 28 jul. 2016, at 00:46, Hans Hagen <pra...@wxs.nl> wrote:
>
> On 7/27/2016 2:29 PM, Jan Willem Flamma wrote:
>> Dear list members
>>
>> Sofar, I’ve been using \qquad to separate two formulas side-by-side on a
>> single line.
>> To ensure consi
On 7/27/2016 2:29 PM, Jan Willem Flamma wrote:
Dear list members
Sofar, I’ve been using \qquad to separate two formulas side-by-side on a single
line.
To ensure consistency with spacing I want to change to using a \startformulas
.. \stopformulas construction.
See MWE below
However
Dear list members
Sofar, I’ve been using \qquad to separate two formulas side-by-side on a single
line.
To ensure consistency with spacing I want to change to using a \startformulas
.. \stopformulas construction.
See MWE below
However, the solution using the \startformulas .. \stopformulas
ext
\startexpli
\input knuth.tex
\stopexpli
\input ward.tex
On dit que la loi de composition interne $\oplus$ est {\bf associative} si on a
\startformula
\forall\, x,y,z \in G, \qquad x\oplus (y \oplus z) = (x\oplus y) \oplus z.
\stopformula
\input ward.tex
\input tufte.tex
\stoptext
% end
]
\NC a_{n} := {n - 1 \over n},\qquad\qquad \NC x_{n} := {n^2 + 1 \over n^2}, \NR
\NC b_{n} := -1 , \NC y_{n} := -1. \NR
\stopalign
\stopformula
\blank
\hairline
\blank
\setupformulas[location=right]
\placeformula
\startformula
\startLgather
\NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply
,joinedup,packed]
\item \Dicitque \qquad\boxWidth{\Dicitque}\par
\item \DicitqueK \qquad\boxWidth{\DicitqueK}\par
\item \DicitqueKK \qquad\boxWidth{\DicitqueKK}\par
\it
\item \Dicitque \qquad\boxWidth{\Dicitque}\par
\item \DicitqueK \qquad\boxWidth{\DicitqueK}\par
\item \DicitqueKK
\egroup}
\starttext
\red{This is red} \qquad \darkred{This is dark red}
\starttikzpicture
\draw (0,2) node[color=red] {This is red};
\draw (4,2) node[color=darkred] {This is dark red};
\stoptikzpicture
\stoptext
Aditya
Doslov\par
\cldcontext{t(Doslov, \\,)}\par
\cldcontext{t(Doslov, \\;)}\par
\cldcontext{t(Doslov)}\par
\cldcontext{t(Doslov, ~~)}\par
\cldcontext{t(Doslov, \\quad )}\par
\cldcontext{t(Doslov, \\qquad )}\par
\stoptext
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:l
str:gsub((.), %1 .. (filler or ~), #str - 1)
end
\stopluacode
Doslov\par
\cldcontext{t(Doslov, \\,)}\par
\cldcontext{t(Doslov, \\;)}\par
\cldcontext{t(Doslov)}\par
\cldcontext{t(Doslov, ~~)}\par
\cldcontext{t(Doslov, \\quad )}\par
\cldcontext{t(Doslov, \\qquad )}\par
\qquad \headtextcontent
\stopframedtext
\stopsetups
\definehead[HeadB][section][alternative=HeadB]
\starttext
\HeadA{Knuth}
\input knuth
\HeadB{Tufte}
\input tufte
\stoptext
Wolfgang
--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http
\headnumbercontent \qquad \headtextcontent
\stopframedtext
\stopsetups
\definehead[HeadB][section][alternative=HeadB]
\starttext
\HeadA{Knuth}
\input knuth
\HeadB{Tufte}
\input tufte
\stoptext
Wolfgang
___
If your
to typeset in a usable and readable way. It should look something
like this:
---snip: minimal example---
\starttext
\setupdelimitedtext[blockquote]
{{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$}
\startblockquote
Das Geschlecht des Probanden.
\stopblockquote
\blank
{{\bf SoB} \qquad Geburtssaison
this:
---snip: minimal example---
\starttext
\setupdelimitedtext[blockquote]
{{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$}
\startblockquote
Das Geschlecht des Probanden.
\stopblockquote
\blank
{{\bf SoB} \qquad Geburtssaison \hfill $1,\dots,4$}
\startblockquote
Jahreszeit der Geburt. Kodierung: 1
it?
Is there a way to let it break a line if needed in certain circumstances or is
there something else like a “non-non-breaking thinspace”?
Are these enough?
\starttext %\hsize\zeropoint
\startlines
a\enskip b
a\quad b
a\qquad b
a\twoperemspace b
or
is there something else like a “non-non-breaking thinspace”?
Are these enough?
\starttext %\hsize\zeropoint
\startlines
a\enskip b
a\quad b
a\qquad b
a\twoperemspace b
a\threeperemspaceb
a\fourperemspace b
a\sixperemspace b
a\figurespaceb
-plaintex.tex
This is intended to test Plain \TeX\ from the ConTeXt stand-alone.
An elementary identity: $(a + b)^2 = a^2 + 2ab + b^2$.
And a well-known identity due to Leonhard Euler in which the five most
important numbers appear:
$$
{\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \hbox{where }\; {\rm i} := \sqrt{-1
, \qquad \hbox{where }\; {\rm i} := \sqrt{-1}.
$$
\bye
%%% end test-plaintex.tex
Saying in the Terminal:
mtxrun --script plain basic-plaintex.tex
results in
mtx-plain | running command 'luatex --fmt=luatex-plain
basic-plaintex.tex »’
This is LuaTeX, Version beta-0.79.1 (TeX
\stoptexdefinition
\starttexdefinition dostartWithIgnore
\grabbufferdata[Test][startWithIgnore][stopTest]
\ignorespaces
\stoptexdefinition
\starttexdefinition stopTest
\getbufferdata[Test]
\endgroup
\stoptexdefinition
\define\TestText
{\qquad If you can read
{\Bbb Z}$ then we
denote
\startformula
f'_{n}(x) := \lim_{h\to 0}{f_{n}(x + h) - f_{n}(x) \over
h}\qquad\mbox{and}\quad u^k_{n} := u_{n}(k)
\stopformula
\stopbuffer
\getbuffer[math]
\switchtobodyfont[times]
\getbuffer[math]
\switchtobodyfont[palatino]
\getbuffer[math]
\stoptext
end
1 - 100 of 163 matches
Mail list logo