tried it. And I tried \snaptogrid \vbox {}, it doesn't
work too.
Only counting empty rows and set the number in \blank[ *big] works!
You need a fixed space (multiple of the line distance) between the
text blocks and \vfill is a variable space which isn't what you want
here.
TO get the desired
.
Maybe \startlinecorrection helps… (No, it doesn’t.)
It also doesn’t help to add a \blank or \par after \vfill.
I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work
too.
Only counting empty rows and set the number in \blank[ *big] works!
You need a fixed space
… (No, it doesn’t.)
It also doesn’t help to add a \blank or \par after \vfill.
I know it, i tried it. And I tried \snaptogrid \vbox {}, it doesn't work
too.
Only counting empty rows and set the number in \blank[ *big] works!
Hans, how about adding \blank[fill] for a vertical fill that keeps
uses grid snapping by default
which can result in blank lines in the output.
Below is a simplified version of Henning problems which produces an
blank line when you use bold text.
\showboxes
\starttext
\startcolumns[balance=no]
\snaptogrid[]\hbox{\setstrut\begstrut Ward\endstrut
ntered formula ht/dp
is kind of unknown (we could add a grid key to formulas so that users
can choose)
Cheers, Henri
---
\setuplayout[grid=both]
\showgrid
\startmode[fix]
\unprotect
\def\math_alignment_snap_start
{\ifgridsnapping
\snaptogrid[top]\vbox\bgroup
\fi}
\protect
\stopmod
snapping mode
to "top" rather than "math", but this does not apply universally. Any chance
there is an easy fix?
Cheers, Henri
---
\setuplayout[grid=both]
\showgrid
\startmode[fix]
\unprotect
\def\math_alignment_snap_start
{\ifgridsnapping
\snaptogrid[top]\vbox\bgr
Dear list,
I did some research in math-ali.mkiv and found that when grid is enabled, the
whole alignment is simply put in a vbox and snapped to the grid using
\def\math_alignment_snap_start
{\ifgridsnapping
\snaptogrid[\v!both]\vbox\bgroup
\fi}
Unfortunately, the `both` option rounds
\snaptogrid[min]\hbox{e.g. an image}
The external figure mechanism has a new predefined conversion. One cna
for instance say:
\setupexternalfigures
[order={pdf,eps,png,jpg},
conversion=cmyk.pdf,
method=auto]
We need it for projects where printing houses use over a decade old rips
§
\startgridcorrection%[top] % no argument possible!
\switchtobodyfont[rm,13pt] % also wrong interlineskip without grid correction
\snaptogrid\hbox{Ãç\par} % needed to snap in; maybe obsolete, if grid
correction argument works
Ãç\par Ãç\par Ãç
\stopgridcorrection
\stoptext
|margin|edge]
\showgrid
# \showgridboxes
# \showgridsnapping
\showlayout
# \showlayoutcomponents
\showmakeup
\showpalet[name][horizontal|vertical|name|value]
\showprint[typesetting papersize][printing papersize][settings]
\showsetups
\showstruts
# \showstruts
\showsymbolset[name]
# \snaptogrid
\setuplayout[grid=yes]
\starttext
\showgrid
\def\Foobar{\blackrule[width=\textwidth,height=0.5\lineheight]}
\framed{\rotate[rotation=-0.5]{\Foobar}} % -0.x is not working (sign is
ignored)
\snaptogrid\hbox\bgroup
\framed{\rotate[rotation=359.5]{\Foobar}} % ok
\egroup
\snaptogrid\hbox\bgroup
\framed
.
the problem with tex is that it does not hav ea way to force consistent height
and depth of lines, so here are a few tricks:
\begstrut some text \endstrut \endgraf
\snaptogrid\vbox{some text}
Hans
spacing is suboptimal boxed stuff (\bTABLE, \starttable, \framed)
should be surrounded by
\startlinecorrection
\stoplinecorrection
(also better in non grid mode)
unless it's a float
for your own macros, use \snaptogrid\vbox{...}
hmm, some problems (see %Pj )
%
\setuplayout[grid=yes]
%P1
variant of that manual?
the grid options as discussed with sections, are the ones that are taken care
of by the \snaptogrid macro; the grid key in externalfigure is not related to
that, it relates to scaling, as in
\setuplayout[grid=yes] \showgrid
\setupcaptions[style=smallbodyfont,location
\global\notelimittrue % brrr, untested and fuzzy
\setvsize
\sethsize
\ifvoid\OTRfinalpagebox\else
% probably balanced
\ifdim\ht\OTRfinalpagebox\textheight
\snaptogrid[\v!page]\hbox{\box\OTRfinalpagebox}%
\else
\box\OTRfinalpagebox
of getting the
\domoveongrid and/or \snaptogrid\vbox to work either.
Does anyone have any suggestions on how I can clean this up so that
\starttable and \stoptable are not in separate definitions but I can
still use variables to define the table elements as is done in the
\Authors definition?
Cheers
with \placeongrid{ }. I
cannot see a way of getting the \domoveongrid and/or \snaptogrid\vbox to
work either.
OK, in this case use in \startAuthor
\placeongrid[...]\bgroup
and in \stopAuthor
\egroup
cheers
vit
Does anyone have any suggestions on how I can clean this up so that
\starttable
One more quick question. When using a grid, I gather that I
should wrap all floating content (tables figures in my case) with
\placeongrid to ensure \snaptogrid is being used. Does this also
apply to formulae? i.e. should I be using:
\placeformula
\placeongrid{%
\startformula
Randall Skelton wrote:
One more quick question. When using a grid, I gather that I should
wrap all floating content (tables figures in my case) with
\placeongrid to ensure \snaptogrid is being used. Does this also
apply to formulae? i.e. should I be using:
no, actually most environments
Vit Zyka wrote:
Hello,
I was perhaps little descriptive in my last question. Let me discribe
my real problem:
you can explitly snap:
\showgrid
\setuplayout[grid=yes]
\snaptogrid\vbox{\bf \setstrut \strut test}
\snaptogrid[line]\vbox{\bfa \setstrut \strut test}
\snaptogrid[line]\vbox{\bfa
20 matches
Mail list logo