e I cannot just adjust
> slightly adjust the dimensions to get rid of that.
It seems that you can place the figures somehow
(https://www.pragma-ade.nl/general/qrcs/setup-en.pdf#page=169):
See the extreme example:
\showframe\showgrid\showstruts
\setupexternalfigures
[location={lo
: Struggling with the distance and right margin text
On 3/15/24 14:06, Ursula Hermann wrote:
> Dear List,
Dear Ursula,
this might help you (it isn’t perfect, but you just seem to copy and
paste fragments from your source files):
%\showframe\showstruts
\mainlanguage[de-at]
\setuppagenumber
On 3/15/24 14:06, Ursula Hermann wrote:
> Dear List,
Dear Ursula,
this might help you (it isn’t perfect, but you just seem to copy and
paste fragments from your source files):
%\showframe\showstruts
\mainlanguage[de-at]
\setuppagenumbering[alternative=doublesided]
\definemargind
> I hope I'm missing something simple... Any help would be greatly appreciated!
>
> DY Hung
One could enforce consistent spacing by doing (add \showstruts)
\underbrace{x + y + z}_{\topstrut\mtext{my text here}}
but it would perhaps make more sense to be able to do
\underbrace[toptext=...,b
tried the below code but the 3 digit labels' left sides go into the
> left margin. How can I fix it?
Hi Csikos,
width is the key, such as in:
\showframe\showgrid\showstruts
\starttext
\startitemize[n,broad][width=.125tw, itemalign=flushright]
\dorecurse{250}{\item }
\stopitemize
:
\showframe\showgrid\showstruts
\setuppapersize[A6]
\setupitemgroup
[itemize][1]
[ before={\blank[quarterline]},
after={\blank[quarterline]\null}]
\starttext
one
\startblockquote
\startitemize
\item
On 9/26/23 12:52, gerard.degreve wrote:
> Hello Pablo,
>
> Just try to do this :
>> \setupitemgroup
>> [itemize][1]
>> [ before={\blank[.125th]},
>> after={\blank[.125th]}\strut]
Hi Gerard,
this also works with \null, but not well with small dimensions:
cell three \NC \darkblue cell three \NC \NR
\TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR
\TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR
\stoptabulate
\stopbuffer
\start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop
\start
Hi,
I uploaded lmtx. There have been some additions to tabulate.
\starttext
% \showboxes
% \showstruts
\starttabulate[|w(top,3cm)|w(top,3cm)|]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate
\starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|]
\NC test
On 10/19/2022 8:48 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
compiling the following sample with current latest (2022.10.15 10:37):
\showframe
\showstruts
\setuppapersize[A6]
\setupnotation[footnote]
[alternative=serried]
\starttext
a\footnote{\input zapf
Dear list,
compiling the following sample with current latest (2022.10.15 10:37):
\showframe
\showstruts
\setuppapersize[A6]
\setupnotation[footnote]
[alternative=serried]
\starttext
a\footnote{\input zapf}
\stoptext
I get the text in the footnote is displaced. It only
Dear list,
mixing the info that Wolfgang posted on this list some time ago
(https://mailman.ntg.nl/pipermail/ntg-context/2016/087629.html), I tried
to create a sample for facing pages with different streams:
\showframe\showgrid\showstruts
\starttext
\startoutputstream[one
,top=,bottom=] {%
\begstrut \samplefile{tufte} \endstrut
\par
\adaptivevbox
[strut=yes,setups=adaptive:test:a]
{\showstruts\strut\hsize5cm\hss}%
\par
\adaptivevbox
[strut=yes,setups=adaptive:test:b]
{\showstruts\strut\hsize5cm\hss}%
\par
\begstrut
ult). New is that we can also influence the
> order: after vs before preceding \vadjust in the same line. Also new is
> that deeply nested adjustments can migrate (so the hole los: marks,
> inserts and vadjust are now in sync) which is demonstrated with the next
> example:
>
> \startt
line. Also new is
that deeply nested adjustments can migrate (so the hole los: marks,
inserts and vadjust are now in sync) which is demonstrated with the next
example:
\starttext
\showstruts
\input tufte \removeunwantedspaces\space
\localleftbox par {%
\hbox to 0pt
it leads to results I
didn't expect: \blank[force,3*line,depth] -> four empty lines instead of three.
2. foregroundstyle={\bfe\setupinterlinespace[line=17.5pt]} works sort of with
the default fonts, i.e. the visuals are ok, but with \showstruts enabled, you
see that the struts are incorr
On 6/16/21 9:56 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 15.06.2021 um 19:57:
>>[...]
>>\showframe\showstruts
>>\starttext
>>\startitemize[n][margin=yes]
>>\item a
>>\item
>> \startembeddedxtable[option={stret
Pablo Rodriguez schrieb am 15.06.2021 um 19:57:
Dear list,
I already posted a similar question some time ago
(https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I
got no reply.
I have the following sample:
\showframe\showstruts
\starttext
\startitemize[n][margin=yes
Dear list,
I already posted a similar question some time ago
(https://mailman.ntg.nl/pipermail/ntg-context/2021/101021.html), but I
got no reply.
I have the following sample:
\showframe\showstruts
\starttext
\startitemize[n][margin=yes]
\item a
\item
\startembeddedxtable[option
the other examples. You can
add \showstruts at the begin of your document to see the effect of \strut.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : n
of the problem, the \setstrut setting changes
the height of the strut for the italic font.
begin example
\showstruts
\setupbodyfont[pagella]
\starttext
\dontleavehmode\it
\ruledhbox{\strut Section}
\ruledhbox{\setstrut\strut Section}
\stoptext
end example
Most fonts (I checked only
On 12/15/2016 8:59 PM, Herbert Voss wrote:
Shouldn't the last frame not be the same as the one with strut=no??
\starttext
X\framed{ag}X\framed[strut=no]{ag}X\framed{\setnostrut ag}
\stoptext
in the second case the (begin)strut is already placed, compare:
\starttext
\showstruts
X\framed
fine, followed by sample
chapter which shows that ‘E’ is above the grid base line (added \showgrid to
make it visible). Do I need to put the title content in some box ?
Thanks a lot for any hint,
Best regards
Joseph
\showgrid\showstruts
\setuplayout[grid=both]
\definehead[Chapter][subsection
\showgrid
\showstruts
\starttext
\startchapter[title={Something}]
cows cows hasselt
\stopchapter
\stoptext
Thank you,
--
Kate
___
If your question is of interest to others as well, please add an entry to the
Wiki
, not to the TOC.
At least, this sample works:
\setuphead[chapter][placehead=no]
\showgrid
\showstruts
\starttext
\completecontent
\dorecurse{10}{\startchapter
[title={My Chapter}] cows cows hasselt
\stopchapter}
\stoptext
Or have I misread your
need to make sure you enforce
the proper ht and dp is needed
\begstrut ... \endstrut
can be used for that
most mechanisnm in context deal with this themselves (for instance
framed and tables .. tables would look horrible otherwise)
(try \showstruts before \starttext so see where
\currentdate \par
x\par}\blank
\ruledvbox{x\tf \setupinterlinespaceurl \par
x\par}\blank
\stopbuffer
\starttext
\showstruts
\getbuffer[a]
\page
\getbuffer[b]
\stoptext
you can use use \begstrut ... \endstrut in such local situations
\setupinterlinespaceurl \par
x\par}\blank
\stopbuffer
\starttext
\showstruts
\getbuffer[a]
\page
\getbuffer[b]
\stoptext
you can use use \begstrut ... \endstrut in such local situations
Many thanks for your help, Hans.
I have seen strut in the past, but I’m afraid
\par
x\par}\blank
\stopbuffer
\starttext
\showstruts
\getbuffer[a]
\page
\getbuffer[b]
\stoptext
you can use use \begstrut ... \endstrut in such local situations
Many thanks for your help, Hans.
I have seen strut in the past, but I’m afraid that I don’t know
On 3/19/2015 1:55 PM, Philipp A. wrote:
thank you!
what’s \strut? can’t find it in the wiki…
add \showstruts at the top of your document and you'll see them
(add \showmakup and you will be even more enlightened about tex's
whatabouts)
Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl schrieb
On Sun, 28 Dec 2014 00:45:32 +0100, Hans Hagen pra...@wxs.nl wrote:
-- could such behaviour be achieved presently with some clever trick?
\showstruts
\setuppagenumbering[style=\bfd\setcharstrut{0123456789}\strut,strut=no]
- no default strut
- calculate one based on to-be-used-characters
On 12/28/2014 12:39 PM, j. van den hoff wrote:
On Sun, 28 Dec 2014 00:45:32 +0100, Hans Hagen pra...@wxs.nl wrote:
-- could such behaviour be achieved presently with some clever trick?
\showstruts
\setuppagenumbering[style=\bfd\setcharstrut{0123456789}\strut,strut=no]
- no default strut
when you mix sizes .. there is no general solution (at least not
one that would break other usage)
-- if desirable, could/should it be done?
-- could such behaviour be achieved presently with some clever trick?
\showstruts
\setuppagenumbering[style=\bfd\setcharstrut{0123456789}\strut,strut
=color,backgroundcolor=gray]
\setuplinetable[r][even][background=color,backgroundcolor=green]
\showframe \showstruts
\setupcolors[state=start]
\startlinetable
\NC aaa\crlf aaa \NC bb \NC c \NC d \NC \NC ff \NC \NR
\dorecurse{100}{\NC aaa \NC bb \NC c \NC d \NC \NC ff \NC
]
\showframe \showstruts
\setupcolors[state=start]
\startlinetable
\NC aaa\crlf aaa \NC bb \NC c \NC d \NC \NC ff} \NC \NR
\stoplinetable
\stoptext
However with and without the dorecurse commands in it i get the following error:
Missing number, treated as zero
to be read again
d
\s
,backgroundcolor=yellow]
\setuplinetable[l][6] [width=3cm,background=color,backgroundcolor=magenta]
\setuplinetable[r][odd] [background=color,backgroundcolor=gray]
\setuplinetable[r][even][background=color,backgroundcolor=green]
\showframe \showstruts
\setupcolors[state=start]
\startlinetable
\NC
Where do you expect a page break? And how robust can that be
implemented? Normally you woudl expect the index to be bound to the
second text (think of broken lines/words). So .. the index commands
tries to bind to the following text.
\showstruts
\index{x}\strut
Hans
using a
better font: if interlinespace is too small you will never get nice results
you can try to play with the h/d ratio:
\setupinterlinespace[line=2.8ex,height=0.8,depth=0.2]
\showstruts \strut x
\setupinterlinespace[line=2.8ex,height=0.7,depth=0.3]
\showstruts \strut x
or you can plug
to be *part* of the
distance between baselines, rather than an additional distance. But
maybe that's not important to the main issue.
\starttext
\showstruts \strut test \par \strut test
\showstruts \strut \ruledhbox{$\sqrt{test}$} \par \strut test
\stoptext
\lineskip (1pt by default) kicks in when
Hopefully fixed ... in the process i decided to experiment with a better
auto sizing .. there is now
SomeFont ht somedimen : scale to ascender height
SomeFont cp somedimen : scale to X height
example:
\setupbodyfont[dejavu]
\starttext
\start \showstruts
{\type{at}: TEST \strut\definedfont
Dear Hans,
I have the following sample:
\showstruts
\setupnote[linenote][paragraph=yes, inbetween=\hskip1.5em]
\setupnotation[linenote][alternative=serried, compress=yes,
compressseparator=, distance=1em]
\starttext
\startlinenumbering
\dorecurse{500}{text\linenote
\showstruts
%% Example text
\starttext
\subject{The hoard of the gibbelins}
The Gibbelins eat, as is well known, nothing less good than man.
\startsubject[
title={How Nyth would have worked his art upon the gnoles},
marking=How Nuth would have worked his art,
]
Despite
with \showstruts and you see what happens)
string %%this is the string
%
\placelist
[section]
[alternative=d, % command, % none,
maxwidth=\hsize,
width=\hsize,
maxwidth=75pt
that if there is a
string before the \placelist the null string is disappear. like this:
\setuplist[section][before=]
\framed[background=frame_mp,frame=on,align=middle,width=80pt]{%
add: strut=no to the \framed command
(first run with \showstruts and you see what happens)
string %%this is the string
into it).
As they are often used for testing, \ruledhbox, \ruledvbox and
\ruledvtop remained and all the others have been replaced by
placeholders (and might go away). The \show* commands are mostly dummies
(and will disappear) but these remain:
\showmakeup
\showallmakeup
\showstruts
\showglyphs
Hopefully this doesn't
, \ruledvbox and \ruledvtop
remained and all the others have been replaced by placeholders (and might go
away). The \show* commands are mostly dummies (and will disappear) but these
remain:
\showmakeup
\showallmakeup
\showstruts
\showglyphs
Hopefully this doesn't spoil your playing
On 5-12-2011 01:39, Jan Heinen wrote:
I solved the problem myself:
First I used \showstruts to se struts - and only before and after the
first line there were struts.
Then I added the following argument into the \setlayerframed:
strut=no
\setlayerframed [Kontaktdaten]
[
width=80mm,
height
I solved the problem myself:
First I used \showstruts to se struts - and only before and
after the first line there were struts.
Then I added the following argument into the \setlayerframed:
strut=no
\setlayerframed [Kontaktdaten]
[
width=80mm,
height=180mm,
hoffset=50mm
Am 05.09.2011 00:39, schrieb Hans Hagen:
On 4-9-2011 20:23, Peter Rolf wrote:
Am 04.09.2011 18:48, schrieb Hans Hagen:
On 4-9-2011 18:38, Peter Rolf wrote:
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
\framed[offset=1pt]{abc} % ok
\framed[offset=overlay]{abc}
\framed[offset=none]{abc}
\stoptext
Same for both marks.
mtx-context | current version: 2011.08.27 13
On 4-9-2011 18:38, Peter Rolf wrote:
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
\framed[offset=1pt]{abc} % ok
\framed[offset=overlay]{abc}
\framed[offset=none]{abc}
\stoptext
Same for both marks.
indeed
Am 04.09.2011 18:48, schrieb Hans Hagen:
On 4-9-2011 18:38, Peter Rolf wrote:
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
\framed[offset=1pt]{abc} % ok
\framed[offset=overlay]{abc}
\framed[offset=none
On 4-9-2011 20:23, Peter Rolf wrote:
Am 04.09.2011 18:48, schrieb Hans Hagen:
On 4-9-2011 18:38, Peter Rolf wrote:
Hi,
I get no strut in \framed when using 'offset=overlay' or 'offset=none'.
\setupcolors[state=start]
\starttext
\showstruts
\framed[offset=1pt]{abc} % ok
\framed[offset
]
\setuplinetable[r][odd] [background=color,backgroundcolor=gray]
\setuplinetable[r][even][background=color,backgroundcolor=green]
\starttext
\showframe \showstruts
\setupcolors[state=start]
\startlinetable
\dorecurse{5}{\NC aaa\crlf aaa \NC bb \NC c \NC d \NC \NC ff}
\NC \NR
\dorecurse{100}{\dorecurse
\showstruts
helps with that
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
Hi,
I was updating the wiki page on \framed and realized that I do not know
the difference between height=broad|fit in \framed. Reading pack-rul
suggests that both should behave similarly. The following example from
pack-rul also shows no difference.
\starttext
\bgroup
\showstruts
or am I doing something
wrong?
Vianney
\showstruts
\usemodule[simplefonts]
\setmainfont[Tex Gyre Bonum]
\setupframed
[frame=none,
offset=0pt,
location=top]
\defineoverlay[bg][]
\starttext
\strut First line\par
\strut Second line\par
\strut Third line\par
\blank
\strut First line\par
\framed
. and 2.
line (caused by different struts)
% \setupinterlinespace[line=16pt]% - bodytext interlinespace disturbed
}
\setuphead[chapter]
[grid=both,style=\MyChapter]
\starttext
\showframe
\showgrid
\showstruts
\chapter{Ãç\par Ãç\par Ãç\par Ãç}
Ãç\par Ãç\par Ãç\par ÃÃ
automatically
i added a key 'interlinespace' so that you cna say:
\usetypescript[postscript]
\setupbodyfont[postscript,10pt]
\setupinterlinespace[line=20pt]
\def\MyChapter
{\switchtobodyfont[rm,13pt]%
\setuplocalinterlinespace[line=30pt]}
\showstruts
\defineinterlinespace[bagger][line=50pt
\showframe
\showstruts
\showgrid
\input tufte \par
\startquotetest
\input tufte \par
\stopquotetest
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}] % or this
\startsetups[head]
\framed
[width=broad,strut=yes,height=\lineheight,framecolor=red]
{\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups
\starttext \showstruts \showframe[text]
\chapter{ÄÖÜy
] % strut=yes
\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}] % or this
\startsetups[head]
\framed
[width=broad,strut=yes,height=\lineheight,framecolor=red]
{\getmarking[chapter]\hfill\getmarking[section]}
\stopsetups
\starttext \showstruts
]}
\stopsetups
\starttext \showstruts \showframe[text]
\chapter{ÄÖÜy} \section{ÄÖÜy}
\dorecurse{3}{%
\dorecurse{3}{\input tufte \par}
\startblockquote
\dorecurse{3}{\input tufte \par}
\stopblockquote}
\stoptext
Can you see the header jumping? What can one do to avoid this
behavior?
kind of tricky
add a \showstruts
to your document (after \starttext), you will see two big struts on both
sides of the chapter number. looks like these struts (~80pt) cause the
trouble here.
hth, peter
Thank you in advance
Andreas
\framed. With offset=overlay or offset=none, it is only necessary to
\switchtobodyfont inside \framed.
spacing inside framed is also determined by the strut (use \showstruts
to see what happens) and when you use the foregroundstyle or setup keys
the strut will adapt itself to the bodyfont
to be that the footer
automatically inserts some whitespace above my framed text. The intent
is for it to be flush to the top of the footer.
What do I need to change?
footerdistance
settting footerdistance to 0cm doesn't seem to change anything.
there is a strut:
try
\showstruts
By default
over the place, so 400 attemps is a good start; when playing,
say \showstruts and you'll see where context adds struts
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061
'
\showstruts
2.8ex: \the\dimexpr2.8ex\par
\strut qgjyQWT\par
1ex: \the\dimexpr 1ex\par
\setbox0\hbox{x}ht(x):\the\ht0\par
2.8*ht(x): \the\dimexpr2.8\ht0
if you look at the font it's pretty clear that it has a large x-height
so you can best use a different interline specification, like
x\strut
]
\ifnum\contextmarkmode=4
\usetypescript[tahoma]
\else
\usetypescript[ms] [tahoma]
\fi
\setupbodyfont[tahoma]
\starttext
\startTEXpage
\showstruts
\tfd \setstrut \framed[strut=no]{\ruledhbox{\begstrut tfd: qgjyQWT\endstrut}}
\stopTEXpage
\stoptext
%% TTF (part of Windows XP)
\ifnum
. And you can't call a 12.6pt strut for a 8pt font a slight
change. :)
I will (try to) make a minimal example...
\showstruts
\start
\tf \setstrut tf:\strut
\tfa \setstrut tfa:\strut
\tfb \setstrut tfb:\strut
\tfc \setstrut tfc:\strut
\tfd
in
order to ignore the error.
For instance this happens with the example given by Hans:
\starttext
\showstruts
\start
\tf \setstrut tf:\strut
\tfa \setstrut tfa:\strut
\tfb \setstrut tfb:\strut
\tfc \setstrut tfc:\strut
\tfd \setstrut tfd:\strut
is produced, when I hit return in
order to ignore the error.
For instance this happens with the example given by Hans:
\starttext
\showstruts
\start
\tf \setstrut tf:\strut
\tfa \setstrut tfa:\strut
\tfb \setstrut tfb:\strut
\tfc \setstrut tfc:\strut
slight
differences. And you can't call a 12.6pt strut for a 8pt font a slight
change. :)
I will (try to) make a minimal example...
\showstruts
\start
\tf \setstrut tf:\strut
\tfa \setstrut tfa:\strut
\tfb \setstrut tfb:\strut
\tfc \setstrut tfc
\relax\relax\dimexpr.5\lineheight\relax
\fi
\else
\ctxparskip\baselineskip % normal ! ! ! ! !!
\fi
\fi
\else
\ifwitruimteflexibel \else \ctxparskip1\ctxparskip \fi
\fi
\parskip\ctxparskip}
\starttext
\setuplayout[grid=yes] \showstruts
=yes] \showstruts \showgrid \showgridboxes
\setupwhitespace[halfline]
\setuphead[section][grid=fit]
\section{Heading One}
\input tufte
\input knuth
\stoptext
___
If your question is of interest
|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
!protocolunitsize]{\let\\\crlf #2\\(#1)}%
\protocolfieldheader[width=\dimexpr\c!protocolunitsize*#1\relax]{\let\\\crlf
#2\\(#1)}%
\incrementcounter{v!protocolheaderlength}{#1}}
\protect
% \showstruts
% \showboxes
\starttext
% Why should unitsize=1mm. Are things being
}%
\removeunwantedspaces
\dontleavehmode
\protocolfieldheader[width=#1\c!protocolunitsize]{\let\\\crlf #2
\\(#1)}%
\protocolfieldheader[width=\dimexpr\c!protocolunitsize*#1\relax]
{\let\\\crlf #2\\(#1)}%
\incrementcounter{v!protocolheaderlength}{#1}}
\protect
% \showstruts
locally to itemigroup fixes the problem.
Jano
ConTeXt ver: 2007.01.18 12:57 MKII
%%% minimal example
\enableregime[utf]
\showgrid
\showstruts
%\setuplayout[grid=yes]
%\setupitemgroup[itemize][before={\lineskiplimit=-10pt}]
aaa
bbb
ccc
Ú ddd
eee
\starttext
\startitemize[packed]
\item aaa
everything is OK.
Changing \lineskiplimit locally to itemigroup fixes the problem.
Jano
ConTeXt ver: 2007.01.18 12:57 MKII
%%% minimal example
\enableregime[utf]
\showgrid
\showstruts
%\setuplayout[grid=yes]
%\setupitemgroup[itemize][before={\lineskiplimit=-10pt}]
aaa
bbb
ccc
Ú ddd
eee
try the effect with the following example:
%%
\setuplayout[grid=yes, columns=2]
\showgrid
%\showstruts
\usemodule[gridlist]
\starttext
\startcolumns[n=2, balance=no]
%% (columns are not necessary to show the effect)
\dorecurse{20}{
\zeichen{0001}{a}{first letter}{}%
\zeichen{0002
\stoplinecorrection, but none of these seems to
work.)
You could try the effect with the following example:
%%
\setuplayout[grid=yes, columns=2]
\showgrid
%\showstruts
\usemodule[gridlist]
\starttext
\startcolumns[n=2, balance=no]
%% (columns are not necessary to show the effect)
\dorecurse{20
down what the problem really is).
And the need to specify the number of rows is a problem in my case, as I
would need to add a parameter to my macro etc.
Johannes
%%
\setuplayout[grid=yes]
\showgrid
\showstruts
\starttext
\input tufte
\starttabulate[|p(.1\textwidth)|p(.1\textwidth)|p
%% all docs is in grid mode,
% but the request was only for tables
\showgrid
\showstruts
\starttext
\input tufte
\setupTABLE[r][each][height=\the\baselineskip] % default linespacing in
ConTeXt
\setupTABLE[c][1,2,4][width=.2\textwidth]
\setupTABLE[c][3][width=.4\textwidth
\showstruts
\starttext
\input tufte
\starttabulate[|p(.1\textwidth)|p(.1\textwidth)|p(.5\textwidth)|p(.2\textwidth)|]%
\NC 002B
\NC $+$
\NC plus; Addition
\NC
\NR
\NC 00D7
\NC $\times$
\NC kartesisches Produkt (von Mengen);\hfill\break
] [width=51mm]
\setuplinetable[c][4] [width=1mm]
and then startlinetable / stoplinetable instead of start/stoptabulate
works fine for the vertical spacing problem.
%%
\setuplayout[grid=yes]
\showgrid
\showstruts
\starttext
\input tufte
\starttabulate[|p(.1\textwidth)|p(.1
]
\setuplinetable[c][2] [width=5mm]
\setuplinetable[c][3] [width=51mm]
\setuplinetable[c][4] [width=1mm]
and then startlinetable / stoplinetable instead of start/stoptabulate
works fine for the vertical spacing problem.
%%
\setuplayout[grid=yes]
\showgrid
\showstruts
\starttext
\setuplayout[grid=yes]
\showgrid
\showstruts
\starttext
\input tufte
\setupTABLE[r][each][height=\the\baselineskip] % default linespacing in ConTeXt
\setupTABLE[c][1,2,4][width=.2\textwidth]
\setupTABLE[c][3][width=.4\textwidth]
\setupTABLE[frame=on]
\blank
\bTABLE
\bTR
\bTD Axxx \eTD
\bTD
)
%
\setuplayout[grid=yes]
%P1 %% all docs is in grid mode,
% but the request was only for tables
\showgrid
\showstruts
\starttext
\input tufte
\setupTABLE[r][each][height=\the\baselineskip] % default linespacing in ConTeXt
\setupTABLE[c][1,2,4][width=.2\textwidth]
\setupTABLE[c][3][width=.4
a different \strut (same
total height, but bigger height part). i think the \strut command is
also the cause of the different appearance in your two examples (add
\showstruts after \startext; \strut and Ö in the same line..).
try something like
setupinterlinespace[line=9.8pt,height=.79,depth=.21
... to avoid a nightmare, is there a chance to set something like
setupinterlinespace[line=9.8pt,height=.79,depth=.21]
only locally, only for these footnotes affected?
please wikify this:
\starttext
\hbox to \hsize \bgroup \showbaselines \showstruts
\ruledvtop \bgroup \hsize.45
=113mm,height=48\XVertikal,
backspace=20mm,topspace=15mm,
header=\XVertikal,headerdistance=0.5\XVertikal,
footer=3.5\XVertikal,footerdistance=0pt,
location=middle,marking=on,grid=yes]
\showframe \showgrid \showgridboxes \showstruts
\starttext
\dorecurse{10}{\input ward
]
\showframe \showgrid \showgridboxes \showstruts
\starttext
\dorecurse{10}{\input ward\footnote{\input tufte \relax}}
\stoptext
On page 2 the bottom most line slips down lower than on the other pages.
I observed this behavior in a 450 pages book and the amount the
bottom line goes down
\showstruts
\starttext
\dorecurse{10}{\input ward\footnote{\input tufte \relax}}
\stoptext
Look how the bottom most line on page 2 is about 1pt lower than on the other
pages.
When using height=\the\dimexpr48\XVertikal-2pt\relax, the bottom-lines of the
red and the black frames are aligned
Hi,
please have a look at following example:
\starttext
\setupwhitespace[5pt]
\setuplayout[grid=no] \showstruts \showgrid \showgridboxes
\setuphead[section][grid=fit]
\section{Heading One}
\input tufte
\input knuth
\stoptext
For the section is too high, I set grid=yes which gives
Steffen Wolfrum wrote:
Hi,
please have a look at following example:
\starttext
\setupwhitespace[5pt]
\setuplayout[grid=no] \showstruts \showgrid \showgridboxes
\setuphead[section][grid=fit]
\section{Heading One}
\input tufte
\input knuth
\stoptext
For the section is too high, I
e={\starttextbackground[ul]
},
% after={\stoptextbackground\fixedspaces}]
after={\stoptextbackground\
}]
% Other mappings
\defineXMLgrouped [right] \rightaligned
\defineXMLgrouped [centre] \midaligned
\defineXMLgrouped [em] \em
\defineXMLsingular [br] [nr=1]
{\blank[\XMLop{nr}*medium
Peter Rolf wrote:
Hi,
I just run into the problem, that \strutheight is lower than the height
of some german umlauts (���).
% -
\setupoutput[pdftex]
\mainlanguage[german]
\setupcolors[state=start]
\starttext
\showstruts
\def\FOO#1{\framed[frame=off,background=color
Hans Hagen wrote:
Peter Rolf wrote:
Hi,
I just run into the problem, that \strutheight is lower than the height
of some german umlauts (���).
% -
\setupoutput[pdftex]
\mainlanguage[german]
\setupcolors[state=start]
\starttext
\showstruts
\def\FOO#1{\framed[frame=off,background
Peter Rolf wrote:
Hans Hagen wrote:
Peter Rolf wrote:
Hi,
I just run into the problem, that \strutheight is lower than the height
of some german umlauts (���).
% -
\setupoutput[pdftex]
\mainlanguage[german]
\setupcolors[state=start]
\starttext
\showstruts
\def\FOO#1
1 - 100 of 118 matches
Mail list logo