[mainface][mono][courier]
\definefontfamily [mainface][math][stix]
\setupbodyfont[mainface,10pt]
\setmathfontalternate{upright}
\setupmathematics[integral=nolimits, lcgreek=normal, default=normal]
\setupformulae[location=left, indentnext=auto]
\setuptyping[indentnext=auto]
% Might use
ce][serif][stix]
\definefontfamily [mainface][mono][courier]
\definefontfamily [mainface][math][stix]
\setupbodyfont[mainface,10pt]
\setmathfontalternate{upright}
\setupmathematics[integral=nolimits, lcgreek=normal, default=normal]
\setupformulae[location=left, indentnext=au
know I can adjust how the
automatic numbering is generated using \setupformulae, but how can I
override the label used for a specific formula, say to set it to (36A)?
**
Basically I have a setup where formulae are mostly numbered sequentially
but occasionally individual formulae need to have an out-o
ated using \setupformulae, but how can I override the
label used for a specific formula, say to set it to (36A)?
Basically I have a setup where formulae are mostly numbered sequentially
but occasionally individual formulae need to have an out-of-sequence or
differently formatted number.
Thanks as ev
stoptext
>> %8<-
>
>
> However, the following (simpler) code produce an "Undefined control
> sequence" when using \in command.
>
> \starttext
>> {
>> \def\a#1{test}
>> \defineconversion[a]
topformula
> See \in formula[tag] for a tagged formula
> \stoptext
> %8<-
However, the following (simpler) code produce an "Undefined control
sequence" when using \in command.
\starttext
> {
> \def\a#1{test}
> \defineconversion[a][\a]
>
modify the settings of defineforumla[MY]
\setupformulae[MY][align=right,strut=yes,spacebefore=medium,spaceafter=big]
% so we can create new start-stopsmallformula
\definestartstop[smallformula]
[before={\startformula[small]},
after=\stopformula,
]
% and we can so create new start
7;formula 1' (i.e. the section number is not included).
Using the \usereferences tag works if I label formulas 'bytext' rather than
by 'bysection' and turn off chapter prefixes in test1.tex using the
following at the start of the document:
\setupformulae[way=bytext,prefixsegm
en I omit the annotation module, there is no chapter
> number at all in the \in[...] reference!
>
> A minimal example of the problem:
>
> \usemodule[annotation]
>
> \setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.]
>
> \starttext
> \chapter{A chap
A minimal example of the problem:
\usemodule[annotation]
\setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.]
\starttext
\chapter{A chapter}
\section{A section}
\placeformula[OK]
\startformula
a+b=c
\stopformula
In \in[OK] we noticed blabla ...
\stoptext
Another problem is t
On Fri, Jul 20, 2012 at 10:11 PM, Meer, H. van der wrote:
> The space around formula with \placeformula is a bit too large to my
> taste, even in the case of \setupformulae[spaceafter=small]. Because
> setting this to 0pt didn't make much difference, I had to resort to
> spacea
The space around formula with \placeformula is a bit too large to my taste,
even in the case of \setupformulae[spaceafter=small]. Because setting this to
0pt didn't make much difference, I had to resort to spaceafter=-1ex. Why is
there seemingly always such a large space around the formula
it is very serious for me, because the I cannot prepare the upcoming
texts for my students!
Furthermore: \pagereference now introduces spurious white.
For the bad vertical spacing on the left I have submitted a tentative bugfix to
Hans Hagen.
Hans van der Meer
\setuppapersize[A6][A6]
\setupfor
I guess I have found the culprit in the bad placement of formulas without an
equationnumber.
The minimal example I used is that found in strc-mat.mkiv, added a [-] in the
middle one.
\setuppapersize[A6][A6]
\setupformulae[spacebefore=0pt,spaceafter=0pt]
%
\starttext
\placenamedformula[one
I think I spotted a small error in the parameterlisting of \setupformulae on
the wiki:
parameter "after dimension" probably should be "spaceafter dimension" because
calling with the former has no effect, the latter does.
Though using it does not change the difference i
...
.
\startenvironment env_test
\setupcolors
[state=start]
\setupcaptions[way=bysection,prefixsegments=chapter]
\setupformulae[way=bysection,prefixsegments=chapter]
\setupinteraction[state=start]
\definereferenceformat[ineq] [left=(,right=),text=équation]
\definereferenc
r document. You forgot the title after \startcomponent and
| > | ConTeXt took “\chapter{…}” as argument for the component title.
| >
| > Right, my mistake!
| >
| > However, with such mistake we have a prefix for formulas anyway!
>
| \setupcaptions[way=bysection,prefixsegments=chapte
eXt took “\chapter{…}” as argument for the component title.
>
> Right, my mistake!
>
> However, with such mistake we have a prefix for formulas anyway!
\setupcaptions[way=bysection,prefixsegments=chapter]
\setupformulae[way=bysection,prefixsegments=section]
You use for the formul
\startbodymatter
\component test1
\component test2
\stopbodymatter
\stopproduct
..
env_test.tex:
.
\startenvironment env_test
\setupcolors
[state=start]
\setupcaptions[way=bysection,prefixsegments=chapter]
\setupformulae[way=bysection
nd this page on
the wiki:
| | >
| | > http://wiki.contextgarden.net/Reference/en/setupnumbering
| | >
| | > Using both these:
| | >
| | > \setupcaptions[way=bysection,prefixsegments=section]
| | > \setupformulae[way=bysection,prefixsegments=section]
| | >
| | > formula
rence/en/setupnumbering
| >
| > Using both these:
| >
| > \setupcaptions[way=bysection,prefixsegments=section]
| > \setupformulae[way=bysection,prefixsegments=section]
| >
| > formulae are numbered as expected but captions are not, the prefix is
| > lacking.
>
| Does i
ptions[way=bysection,prefixsegments=section]
> \setupformulae[way=bysection,prefixsegments=section]
>
> formulae are numbered as expected but captions are not, the prefix is
> lacking.
Does it help when you add “prefix=yes” to \setupcaptions?
When this doesn’t work you should provide a
Hi all
I'm trying to setup captions for figures with mkiv. I found this page on the
wiki:
http://wiki.contextgarden.net/Reference/en/setupnumbering
Using both these:
\setupcaptions[way=bysection,prefixsegments=section]
\setupformulae[way=bysection,prefixsegments=section]
formula
Hi, Hans:
Is there some way to color all the formulae braced in $$ and
\start|stopformula?
I search setupcolors, only textcolor is available.
there are also no color key in setupformulae.
Yue Wang
___
If your
,
author = "Martin R. Bridson",
title = "On the geometry of normal forms in discrete groups",
journal = "Proceedings of the London Mathematical Society",
year = "1993",
volume = "67",
pages = "595-616"
}
@article{riley,
author = &quo
headtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\ et al.}]
\setuppublicationlist[authoretaldisplay=1]
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
%\setupformulae[indentnext=yes]
% Vertical spaces between par
ase=memoria,sort=author]
\setuppublications [alternative=ams,numbering=yes, sorttype=bbl, criterium=cite]%
\setupheadtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\ et al.}]
\setuppublicationlist[authoretaldisplay=1]
%Indentation
\s
it\ et al.}]
\setuppublicationlist[authoretaldisplay=1]
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
%\setupformulae[indentnext=yes]
% Vertical spaces between paragraphs
\setupwhitespace[small]
%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupit
lay=1]
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
%\setupformulae[indentnext=yes]
% Vertical spaces between paragraphs
\setupwhitespace[small]
%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle
]
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
%\setupformulae[indentnext=yes]
% Vertical spaces between paragraphs
\setupwhitespace[small]
%Itemize
\setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em]
\setupitemize[each][headstyle=bold]
%\setupi
[alternative=ams,numbering=yes, sorttype=bbl,
criterium=cite]%
\setupheadtext[ca][pubs=Referències]
\setuppublicationlist[authoretallimit=3]
\setuppublicationlist[authoretaltext={\it\ et al.}]
\setuppublicationlist[authoretaldisplay=1]
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,smal
n" is not.
Why?
Xan.
PS: Please, CCme
I have
%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
\setupformulae[indentnext=yes]
in headers.
if I put setupformulae[identnext=yes] and ident=yes for enumerations
_always_ have indenting after formula even if the text
On Sat, 30 May 2009, Xan wrote:
Hi,
I have
\setupformulae[indentnext=auto]
but when I put a \startformula \stopformula in demo environment it does not
indent.
Why? What can I do for getting that?
My environment is:
\defineenumeration[demo][text={Demostració.\space},
number=no,location
Hi,
I have
\setupformulae[indentnext=auto]
but when I put a \startformula \stopformula in demo environment it does not
indent.
Why? What can I do for getting that?
My environment is:
\defineenumeration[demo][text={Demostració.\space},
number=no,location=serried,width=fit,headstyle=italic
ont[iwona, ss,12pt], the label
for the equation still uses roman font unless i manually change them
by \setupformulae. I think this can be improved.
Yue Wang
___
If your question is of interest to others as well, pl
] and
\setupformulae[indentnext=auto] should be documented in quick
reference or something.
Yue Wang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
On Sun, Apr 20 2008, Tobias Burnus wrote:
> \stopformula
>
> \indent Here, a new paragraph shall begin -- indented!
There are at least 3 possibilities:
1.) \indentation Here, a new paragraph shall begin -- indented!
2.) \setupformulae[indentnext=yes]
3.) \setupformulae[indentnext=a
t;> \starttext
>> >>>
>> >>> \placefigure
>> >>> [here][fig:det]
>> >>> {Example}
>> >>> {\blackrule[width=3cm,height=3cm]}
>> >>>
>> >>> \it See \in[fig:det] for details.
>&g
t;>
> >>> \it See \in[fig:det] for details.
> >>>
> >>> \stoptext
> >
> >> Thank you for your help, Wolfgang! I think I'll define a new \ref command
> >> similar to the one in LaTeX, with upshape number. But maybe a new option
] for details.
>>>
>>> \stoptext
>
>> Thank you for your help, Wolfgang! I think I'll define a new \ref command
>> similar to the one in LaTeX, with upshape number. But maybe a new option
>> would be welcome? (just as for numberstyle=normal in \setupformu
figure
> > [here][fig:det]
> > {Example}
> > {\blackrule[width=3cm,height=3cm]}
> >
> > \it See \in[fig:det] for details.
> >
> > \stoptext
> Thank you for your help, Wolfgang! I think I'll define a new \ref command
> similar to the one in
Thank you for your help, Wolfgang! I think I'll define a new \ref command
similar to the one in LaTeX, with upshape number. But maybe a new option
would be welcome? (just as for numberstyle=normal in \setupformulae). What do
you think? Is it a bad idea? I'm just curious...
Morgan
_
inbetween.
\placeformula shouldn't modify anything there...
> * any itemgroups, enumerations, descriptions, floats etc. that
> were not predefined in the context core.
> * ...
>
> I hope you see the problem with that. Even a simple command like
>
> \setupin
efined in the context core.
* ...
I hope you see the problem with that. Even a simple command like
\setupindentnext[yes]
does not work out-of-the-box, because you actually wanted
\setupformulae[indentnext=auto] % not yes
As I said before, it may be much easier to put all this i
Selon Taco Hoekwater <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
> >> Ah, misunderstood. You want
> >>
> >>\setupformulae[indentnext=auto]
> >
> > Thank you, Taco! And may I ask the difference with the 'yes' option? Is it
> >
[EMAIL PROTECTED] wrote:
>> Ah, misunderstood. You want
>>
>>\setupformulae[indentnext=auto]
>
> Thank you, Taco! And may I ask the difference with the 'yes' option? Is it
> documented somewhere? I'm having a real hard time understanding all the
&g
But I also tried with ConTeXt live, and the result is the same... Notice
> that
> > the line after the first formula should NOT be indented. How is it with
> your
> > installation?
>
> Ah, misunderstood. You want
>
>\setupformulae[indentnext=auto]
Thank you, Taco
uld NOT be indented. How is it with your
> installation?
Ah, misunderstood. You want
\setupformulae[indentnext=auto]
Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to
Hi,
Sorry but I'm going to talk about indenting again. This time, it seems to me
that there is really something wrong with the indentnext=yes option. Look at the
following example, it speaks for itself (or at least I hope so).
\setupindenting[yes,medium]
\setupformulae[indentnext=yes]
\star
|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setupfootnotedefinition[settings]
\setupfootnotes[options]
\setupforms[method=HTML|FDF]
\setupformulae[options]
\setupframed[options]
\setupframedtexts[options]
\setuphead[sections][options]
\setupheader[text|margin|edge][o
t;> This is a test file.
>> \startformula
>> x^2+y^2=1.
>> \stopformula
>>
>> This is a test file.
>>
>> This is a test file.
>> \s
test file.
> \stoptext
This is the normal behaviour in ConTeXt but you can change it.
\setupformulae[indentnext=auto] % or yes
Wolfgang
___
If your question is of interest to others as well, pleas
es
* A new release of the bib module, with better support for
interaction and per-chapter bibliographies
* Some small extensions to \framed
* The database module now supports ASCII (non-TeX) files with CSV
quoting
* \setupformulae accepts a conversion parameter now
* More built in math support
Hi Mojca,
I must say I understand about nothing about fonts in ConTeXt. But I've
somehow managed do define a "bold vector" command, working in my
environment. I hope it helps.
\definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default]
% boldsymbol work-around
\setup
Hi David,
you can play with placing floats in a combination:
\setupoutput[pdftex]
\setupformulae[location=left,margin=no]
\startbuffer[1]
\framed[frame=on,width=fit]
{\startformula
\eqalign{
f(x)&=x2-2x-3\cr
f(x)&=x^02x+1-1-3\cr
f(x)&=(x-1)2-4}
\stopformula}
\stopbuffer
\s
..
Is there someway in which the formula numbering can be forced to be at
the bottom. Maybe by adding an option to setupformulae. Latex has a
class option ctags/tbtags which controls this.
[ useful example snipped]
Thanks,
Aditya
--
Aditya Mahajan, EE
, but at least it will compile.
Another bug: t-nath.tex defines \savecatcode and \restorecatcode, but
these names have already been used in verb-ini.tex. I have locally
replaced these with \nath!savecatcode and \nath!restorecatcode, seems to
work.
A math problem not related to nath:
\start
la{\bfm #1
I also have to:
\definebodyfont
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt]
[mm]
[mrbf=cmbx10 sa 1,
exbf=cmex10 sa 1,
mibf=cmmib10 sa 1,
sybf=cmbsy10 sa 1,
mabf=msam10 sa 1]
\setupformulae[method=bold]
Then, I may define very handy commands like
\define\grad{\
; enclose the formula with "\startformula ... \endformula":
> Here it works with \startformula \stopformula [stop not end].
All right, I used \stopformula ... And I just found out the reason, it
seems: I used
\setupformulae[align=right]
Then, if I use $$ instead of \startfo
margin?
2) What are the keywords "alternative" and "indentnext" in \setupformulae
meant for? Is there any documentation available concerning math formulae,
besides "ConTeXt, the manual"?
3) I'd like to be able to set more than one line below large math operators
right
margin?
2) What are the keywords "alternative" and "indentnext" in \setupformulae
meant for? Is there any documentation available concerning math formulae,
besides "ConTeXt, the manual"?
3) I'd like to be able to set more than one line below large math ope
All,
I am following this thread and I can report the same result as Holger.
\setupformulae[align=right]
\starttext
\placeformula[david]
\startformula
\eqalignno{%
left & right & \formulanumber \cr
left & right & \formulanumber \cr
}
\stopformula
\stoptext
Gives this resu
; enclose the formula with "\startformula ... \endformula":
> Here it works with \startformula \stopformula [stop not end].
All right, I used \stopformula ... And I just found out the reason, it
seems: I used
\setupformulae[align=right]
Then, if I use $$ instead of \startfo
63 matches
Mail list logo