[NTG-context] inserting figure labels
Placing a float figure with \placefigure[][]{labeltext}{\externalfigure[]} delivers a figure with a label like "Figure V.3 labeltext" (depending on the setup) Now I want to intersperse this with an \externalfigure[] not within a placefigure but still accompanied by a label in the current running series. For example an uninterrupted series of figure numbers with: \placefigure[][]{labeltext-1}{\externalfigure[figure1]} % -> Figure 1 labeltext-1 \externalfigure[figure-2] \macrocall{labeltext-2} % -> Figure 2 labeltext-2 \placefigure[][]{labeltext-3}{\externalfigure[figure3]} % -> Figure 3 labeltext-3 I could not find what macro to call as the instance for \macrocall. dr. Hans van der Meer ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] placing content in footers
Pablo Rodriguez schrieb am 11.05.2019 um 16:35: Dear list, I have the following sample: \setuppapersize[A8] \setuppagenumbering [alternative=doublesized] \setupfootertexts [even-right] [even-left] [odd-right] [odd-left] %~ [even-middle] %~ [odd-middle] \starttext \mbox{}\page\mbox{} \stoptext Where did you learn to use \mbox? Is there any way to place content in the middle of doublesided footers, besides left and right contents? \setuppagenumbering [alternative=doublesided] \setupfootertexts [\doifoddpageelse{right page}{left page}] \setupfootertexts [inner margin] [outer margin] [outer margin] [inner margin] \starttext %\dorecurse{2}{\dontleavehmode\page} \dorecurse{2}{\page[dummy]} \stoptext Wolfgang ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] placing content in footers
Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez : > Dear list, > > I have the following sample: > >\setuppapersize[A8] >\setuppagenumbering >[alternative=doublesized] >\setupfootertexts >[even-right] >[even-left] >[odd-right] >[odd-left] >%~ [even-middle] >%~ [odd-middle] >\starttext >\mbox{}\page\mbox{} >\stoptext > > Is there any way to place content in the middle of doublesided footers, > besides left and right contents? \setuppagenumbering[alternative=doublesided] \setupheadertexts[] \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text right] \rlap{\pagenumber} \hfill \getmarking[chapter] \hfill \llap{Un Nom} \stopsetups \startsetups[text left] \rlap{Una Person} \hfill \getmarking[section] \hfill \llap{\pagenumber} \stopsetups Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] placing content in footers
Dear list, I have the following sample: \setuppapersize[A8] \setuppagenumbering [alternative=doublesized] \setupfootertexts [even-right] [even-left] [odd-right] [odd-left] %~ [even-middle] %~ [odd-middle] \starttext \mbox{}\page\mbox{} \stoptext Is there any way to place content in the middle of doublesided footers, besides left and right contents? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Inline math with \int and \sum exhibits nonstandard behaviour
Hello everyone! So, I have some inline math in my document,and it's looking too big or "airy"; a bit like when \nolimits is specified in display mode but smaller. The limits are placed next to the symbol when using for example pdflatex, and I prefer this tight way for inline math. Is the "airier" way a (new) Context standard or a bug, and if it is just a standard how can I achieve the tighter style (could't find any pointers anywhere)? At least the latest beta exhibits this behaviour (for what it is worth, Context mark IV an excursion by Ton Otten, the version produced by LuaTeX-1.06.0 , has the style I want on page 19, and no special tricks are discussed). All help is greatly appreciated. \starttext $\sum_{k=1}^{n} a_k$ \startformula \sum\nolimits_{k=1}^{n} a_k \stopformula \stoptext -Eric ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Questions on columnsetspan (and grids and backgrounds)
Hi, I have for some hours tried to understand how to work with columnsetspans (I'm trying with an updated lmtx), and have some questions. 1) Is it only the floats that has the long list of placement options (given on p. 18 in the columnsets manual), or should they also apply to columnsetspans and columnsetareas? (I cannot get it to work with "default=fxtb:2*10" and similar options for other elements than floats). It would be useful to have it for other type of elements as well. 2) What is the current correct way to get back on grid after formulas? The only key that had lead me to something that seems to work in \setupformulas is "option=depth". Is that the way to go? 3) This is a bit unrelated, but is it possible to set page backgrounds on specific page. Something like \setupbackgrounds[page][page=3, ...] (I cannot find any keys for this in setup-en.pdf). Right now I can set it for an odd and an even page, but then if I want a background on the page after that, I have to put that code at the place where it will be used. (I got an error with \startpostponing[+1] ... \stoppostponing) 4) To be a bit more concrete on the first issue: In the example below, how can I place the columnsetspan at the bottom right? Second and third column, 10 lines down? I attach the result of running this file. /Mikael \setuplayout[grid=yes] \showgrid \definecolumnset[three][n=3] \definecolumnsetspan[two][ n=2, background=color, backgroundcolor=lightgray, ] \starttext \startcolumnset[three] \samplefile{knuth} \startcolumnsetspan[two][default=btrl] \samplefile{ward} \stopcolumnsetspan \dorecurse{5}{\samplefile{knuth}\par} \stopcolumnset \stoptext span.pdf Description: Adobe PDF document ___ If your question 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-mirror/commits/ wiki : http://contextgarden.net ___