Re: [NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Wolfgang Schuster
Peter Münster schrieb am 12.02.2021 um 13:31: Hi, When I want to type an "i" in the position-command, there is some vertical offset: \starttext \startpositioning \position(1, 1){i} \position(2, 1){x} \position(1, 2){x} \position(2, 2){i} \position(1, 3){a} \position(2, 3){x} \positi

[NTG-context] vertical offset with "i" in position-command

2021-02-12 Thread Peter Münster
Hi, When I want to type an "i" in the position-command, there is some vertical offset: \starttext \startpositioning \position(1, 1){i} \position(2, 1){x} \position(1, 2){x} \position(2, 2){i} \position(1, 3){a} \position(2, 3){x} \position(1, 4){x} \position(2, 4){a} \stoppositioning

Re: [NTG-context] Equivalent in ConTeXt mkiv for LaTeX's picture environment?

2016-06-26 Thread Wolfgang Schuster
ements and coordinates on the go, like the stuff provided by the picture package on LaTeX. (It's labels for cider bottles this time.) A third method apart from layers and metapost is the positioning environment. \setupexternalfigure[location=default] \starttext \startpositioning \position(0,0){\external

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks to all for the answers, Peter's solution is closest to that I need. My code now is: --- \setuppapersize[A1,landscape] \setuplayout[page] \setuppositioning [state=overlay, yoffset=-12pt % Why? ] \starttext \startpositioning \position(0,0){\rotate[rotation=90

Re: [NTG-context] Replacing a piece of a paper

2011-01-12 Thread Wolfgang Schuster
? ] \starttext \startpositioning \position(0,0){\rotate[rotation=90]{\externalfigure[TvNK]}} \position(630mm,297mm){\framed[frame=off,offset=overlay,background=color,backgroundcolor=white] {\externalfigure[_R]}} \stoppositioning \stoptext --- I'd still

[NTG-context] undesired offset with \position (was: Re: Replacing a piece of a paper)

2011-01-11 Thread Peter Münster
the job: \setuppapersize[A2] \setuplayout[page] \setuppositioning[state=overlay, yoffset=-12pt%%% Why is this offset needed??? ] \starttext \startpositioning \position(0,0){\externalfigure[a2-page]} \position(0,0){\framed[frame=off, offset=overlay, background=color

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-17 Thread Hans Hagen
the code a bit and it's now in pack-pos.mkiv. The \startpositioning macro also accepts an optional settings argument now. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-16 Thread Peter Münster
\startpositioning \position(0,0){\framed{0,0}} \position(-5,-5){\framed{-5,-5}} \position(-5,5){\framed{-5,5}} \position(5,-5){\framed{5,-5}} \position(5,5){\framed{5,5}} \stoppositioning \input tufte \input tufte \input tufte \input tufte \input tufte \stoptext Cheers, Peter -- Contact

Re: [NTG-context] Placing boxes anywhere on the page

2010-11-16 Thread Hans Hagen
, yoffset=0.5\textheight] \starttext \startpositioning \position(0,0){\framed{0,0}} \position(-5,-5){\framed{-5,-5}} \position(-5,5){\framed{-5,5}} \position(5,-5){\framed{5,-5}} \position(5,5){\framed{5,5}} \stoppositioning \input tufte \input tufte \input tufte \input tufte \input tufte

Re: [NTG-context] Customizing layer stepping

2008-06-18 Thread Wolfgang Schuster
){#3}% \StopLocalStep \ignorespaces} \starttext \framed [width=3cm, height=3cm, background=invoke, offset=overlay] {\setuppositioning[unit=mm,factor=5,xoffset=-2.5cm,yoffset=-2.5cm] \startpositioning \addstone12X% show layer 1 \addstone42O% show layer 2

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\stopnotmode \startopposite \stopopposite \startoverlay{text}{text} \stopoverlay \startoverview[names] \stopoverview \startpacked[blank] \stoppacked \startparagraph \stopparagraph \startpositioning \stoppositioning \startpostponing \stoppostponing \startproduct file \stopproduct \startprofile[names

Re: [NTG-context] need help with creating a grid with context

2007-10-11 Thread Wolfgang Schuster
, leftmargindistance=0pt, backspace=0pt, rightmargin=0pt, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning

Re: [NTG-context] need help with creating a grid with context

2007-10-10 Thread Peter Rolf
, rightmargindistance=0pt, cutspace=0pt, width=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop

[NTG-context] need help with creating a grid with context

2007-10-09 Thread MASON Peter J
=middle, topspace=0pt, header=0pt, headerdistance=0pt, footer=0pt, footerdistance=0pt, bottomspace=0pt, height=middle] %\showlayout \starttext \setuppositioning[unit=cm] \startpositioning \newcount\Row \Row= 0 \loop { \newcount

[NTG-context] Putting things over a figure

2006-04-23 Thread nico
\setbox\scratchbox\hbox{\externalfigure[#1][#2]}% \overfigwd=\wd\scratchbox \overfight=\ht\scratchbox \setuppositioning[unit=pt, xfactor=\withoutpt\the\dimexpr(\overfigwd/100), yfactor=\withoutpt\the\dimexpr(\overfight/100)]% \startpositioning

Re: [NTG-context] Putting things over a figure

2006-04-23 Thread Hans Hagen
=\withoutpt\the\dimexpr(\overfight/100)]% \startpositioning \position(0,0){\box\scratchbox}} \def\stopoverfig {\stoppositioning\egroup} % Put (centered) at the position (x%,y%) on the figure. % The lower-left corner is (0,0) \def\calspair(#1,#2)#3% {\setbox0\hbox{#3

Re: [NTG-context] How to use layers or other methods for precise positioning of items

2005-11-03 Thread Mojca Miklavec
cells on the right with automatically determined widths and heights. 2. grid typesetting http://pragma-ade.nl/general/manuals/details.pdf you can position the stuff on the grid (still precise, but in other units than centimeters) 3. http://wiki.contextgarden.net/Chromatograms uses \startpositioning

Re: [NTG-context] How to use layers or other methods for precise positioning of items

2005-11-03 Thread Kári Hreinsson
\startpositioning ... \stoppositioning, which is probably something similar to layers. I never used it, but perhaps you can take a look if you find it useful. 4. many other ways for sure (depending on your needs), in worst case even plain TeX ;) I discovered that the layers were inserted