* Linecorrection and distances
@ 2013-07-18 7:36 "H. Özoguz"
2013-07-18 9:58 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: "H. Özoguz" @ 2013-07-18 7:36 UTC (permalink / raw)
To: ntg-context
I use grid-setting, but have elements, which should not be set on the
grid (because it is impossible, because of different interlinespaces,
bigger fonts, or whatever).
For these elements I use
\startlinecorrection Elements \stoplinecorrection
After these elements the normal text is continued, set on the grid
again. That is all working and fine.
But: The distances between these "\startlinecorrection Elements
\stoplinecorrection" blocks and the text (both distances, before and
after) are not always the same, they seem to be random. How to correct
that without inserting "\vksip+-Xpt" manually before/after the
linecorrected blocks?
For testing:
\showgrid
\setuplayout[grid=yes]
\definefont[big][name:Arial at 25 pt]
\def\kurztext{Dies ist ein kurzer Text. Die anderen Standardtexte sind
deutlich zu lang.}
\starttext
\kurztext
\startlinecorrection
\big \kurztext Und noch Zusatztext.
\stoplinecorrection
\kurztext
\startlinecorrection
\big \kurztext
\stoplinecorrection
\kurztext
\stoptext
In the above example you can see it, the distances between the grid set
and the not grid set text are different.
Thanks for your help once again.
Huseyin
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linecorrection and distances
2013-07-18 7:36 Linecorrection and distances "H. Özoguz"
@ 2013-07-18 9:58 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2013-07-18 9:58 UTC (permalink / raw)
To: ntg-context
On 7/18/2013 9:36 AM, "H. Özoguz" wrote:
> I use grid-setting, but have elements, which should not be set on the
> grid (because it is impossible, because of different interlinespaces,
> bigger fonts, or whatever).
> For these elements I use
> \startlinecorrection Elements \stoplinecorrection
> After these elements the normal text is continued, set on the grid
> again. That is all working and fine.
>
> But: The distances between these "\startlinecorrection Elements
> \stoplinecorrection" blocks and the text (both distances, before and
> after) are not always the same, they seem to be random. How to correct
> that without inserting "\vksip+-Xpt" manually before/after the
> linecorrected blocks?
>
> For testing:
>
> \showgrid
>
> \setuplayout[grid=yes]
>
> \definefont[big][name:Arial at 25 pt]
>
> \def\kurztext{Dies ist ein kurzer Text. Die anderen Standardtexte sind
> deutlich zu lang.}
>
> \starttext
>
> \kurztext
>
> \startlinecorrection
>
> \big \kurztext Und noch Zusatztext.
>
> \stoplinecorrection
>
> \kurztext
>
> \startlinecorrection
>
> \big \kurztext
>
> \stoplinecorrection
>
> \kurztext
>
> \stoptext
>
>
> In the above example you can see it, the distances between the grid set
> and the not grid set text are different.
you only switch the font so the distance between lines is determines by
the size of glyphs + interlineskip .. best use:
\big \setupinterlinespace
-----------------------------------------------------------------
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
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linecorrection and distances
2013-07-18 18:50 "H. Özoguz"
@ 2013-07-18 19:15 ` Marco Patzer
0 siblings, 0 replies; 6+ messages in thread
From: Marco Patzer @ 2013-07-18 19:15 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 982 bytes --]
On 2013–07–18 "H. Özoguz" wrote:
> And to which testsuite do you refer to?
Probably
http://pragma-ade.com/context/latest/cont-tst.7z
> I could not find any options, parameters, for "startlinecorrection
grep -Hnr startlinecorrection *
cld/cld-001.cld:28: context.startlinecorrection( { "blank" })
margins/margindata-006.tex:17:\startlinecorrection
margins/margindata-006.tex:24:\startlinecorrection
margins/margindata-006.tex:31:\startlinecorrection
margins/margindata-006.tex:38:\startlinecorrection
margins/margindata-006.tex:45:\startlinecorrection
spacing/linecorrection-001.tex:6:\startlinecorrection \framed{xxx} \stoplinecorrection
spacing/linecorrection-001.tex:14:\startlinecorrection \framed{xxx} \stoplinecorrection
tables/xtables-003.tex:22:\startlinecorrection
tables/xtables-003.tex:26:\startlinecorrection
tables/xtables-003.tex:30:\startlinecorrection
tags/tagged-007.tex:33:\startlinecorrection
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linecorrection and distances
@ 2013-07-18 18:50 "H. Özoguz"
2013-07-18 19:15 ` Marco Patzer
0 siblings, 1 reply; 6+ messages in thread
From: "H. Özoguz" @ 2013-07-18 18:50 UTC (permalink / raw)
To: ntg-context
> it always depends on the content
>
> you can influence it with options ... see teststuite for examples (in
> spacing path)
Sorry, I did not get you. Which options, to influence this behaviour? (I could not find any options, parameters, for "startlinecorrection"). And to which testsuite do you refer to?
Huseyin
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linecorrection and distances
2013-07-18 12:15 "H. Özoguz"
@ 2013-07-18 17:21 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2013-07-18 17:21 UTC (permalink / raw)
To: ntg-context
On 7/18/2013 2:15 PM, "H. Özoguz" wrote:
>> you only switch the font so the distance between lines is determines by
>> the size of glyphs + interlineskip .. best use:
>>
>> \big \setupinterlinespace
>
> My Problem is NOT the bad interlinespacing of the big font in my
> example. Of course I can correct that with your suggestion, but thats
> not the topic. These big font sentences are only examples for
> "elements", which are not set on the grid.
> The question is: How to achieve same distances between every normal text
> (set on the grid) and the "elements" (not set on the grid)? It is clear
> that not all before-distances and all after-distances respectivley can
> be the same simulatously, thats trivial. But at least all
> before-distances (so the distance between the text and the elements, in
> this order!) should be the same in the complete book. How to?
it always depends on the content
you can influence it with options ... see teststuite for examples (in
spacing path)
Hans
-----------------------------------------------------------------
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
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Linecorrection and distances
@ 2013-07-18 12:15 "H. Özoguz"
2013-07-18 17:21 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: "H. Özoguz" @ 2013-07-18 12:15 UTC (permalink / raw)
To: ntg-context
> you only switch the font so the distance between lines is determines by
> the size of glyphs + interlineskip .. best use:
>
> \big \setupinterlinespace
My Problem is NOT the bad interlinespacing of the big font in my
example. Of course I can correct that with your suggestion, but thats
not the topic. These big font sentences are only examples for
"elements", which are not set on the grid.
The question is: How to achieve same distances between every normal text
(set on the grid) and the "elements" (not set on the grid)? It is clear
that not all before-distances and all after-distances respectivley can
be the same simulatously, thats trivial. But at least all
before-distances (so the distance between the text and the elements, in
this order!) should be the same in the complete book. How to?
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-07-18 19:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-18 7:36 Linecorrection and distances "H. Özoguz"
2013-07-18 9:58 ` Hans Hagen
2013-07-18 12:15 "H. Özoguz"
2013-07-18 17:21 ` Hans Hagen
2013-07-18 18:50 "H. Özoguz"
2013-07-18 19:15 ` Marco Patzer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).