ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: One interline space setup trouble
       [not found] <mailman.294.1266154797.26807.ntg-context@ntg.nl>
@ 2010-02-14 14:05 ` Vyatcheslav Yatskovsky
  2010-02-14 14:17   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-02-14 14:05 UTC (permalink / raw)
  To: ntg-context, Wolfgang Schuster

Hello Wolfgang
> \definestartstop
>   [example]
>   [before={\blank[small]},
>    after={\blank[small]},
>    style=\tfx,
>    commands={\setupinterlinespace[big]}] 

Thank you, Wolfgang, but the 'commands' tag seems to not have no effect 
at all. Even when explicit value provided.


\setupinterlinespace[line=18pt]

\definestartstop

[example]

[before={\blank[small]},

after={\blank[small]},

style=\tfx,

commands={\setupinterlinespace[line=12pt]}]


\starttext
Most models we discussing here are specification of dynamic behaviour of 
SUI. This behaviour is described in terms of the interactions over time 
among some entities. The entities in question fall into two broad 
categories: {\em endogenous} (intrinsic to the SUI itself) and {\em 
exogenous} (belonging to a system's environment).

\startexample All processes that take place inside Earth (and other 
planets) are considered endogenous. These processes make the continents 
migrate, push the mountains up, trigger earthquakes and volcanism, and 
are driven by the warmth that is produced in the core of Earth. 
Exogenous processes are all taking place at the outside of the Earth. 
Weathering, erosion, transportation and sedimentation are the main 
exogenous processes.\stopexample

Constants and parameters serve as names for the values that do not 
change during a simulation run. In the case of a {\em constant}, the 
assigned value remains invariant over all experiments. Often it is a 
physical constant, like $g$ -- force of gravity. In the case of a {\em 
parameter}, there normally is an intent to explore the effect upon 
behaviour of a range of different values for the parameter.

\stoptext


Regards,
Vyatcheslav
___________________________________________________________________________________
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] 9+ messages in thread

* Re: One interline space setup trouble
  2010-02-14 14:05 ` One interline space setup trouble Vyatcheslav Yatskovsky
@ 2010-02-14 14:17   ` Wolfgang Schuster
  2010-02-14 14:57     ` Vyatcheslav Yatskovsky
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-02-14 14:17 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky; +Cc: mailing list for ConTeXt users

Am 14.02.10 15:05, schrieb Vyatcheslav Yatskovsky:
> Thank you, Wolfgang, but the 'commands' tag seems to not have no 
> effect at all. Even when explicit value provided.
>
> \definestartstop
>   [example]
>   [before={\blank[small]},
>    after={\blank[small]},
>    style=\tfx,
>    commands={\setupinterlinespace[line=12pt]}]
It works only when you end the paragraph before \startexample but it's 
easier
to define the environment as delimitedtext because it takes care of this.

\definedelimitedtext
   [example]
   [spacebefore=small,
    style=\tfx,
    before={\setupinterlinespace[line=12pt]}]

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One interline space setup trouble
  2010-02-14 14:17   ` Wolfgang Schuster
@ 2010-02-14 14:57     ` Vyatcheslav Yatskovsky
  0 siblings, 0 replies; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-02-14 14:57 UTC (permalink / raw)
  To: Wolfgang Schuster, ntg-context

Thanks!

\definedelimitedtext  is a nice command, indeed. As often happens, it is 
carefully hidden in the wiki documentation )))

Found only in http://wiki.contextgarden.net/Quotes

Regards,
Vyatcheslav


> Am 14.02.10 15:05, schrieb Vyatcheslav Yatskovsky:
>> Thank you, Wolfgang, but the 'commands' tag seems to not have no 
>> effect at all. Even when explicit value provided.
>>
>> \definestartstop
>>   [example]
>>   [before={\blank[small]},
>>    after={\blank[small]},
>>    style=\tfx,
>>    commands={\setupinterlinespace[line=12pt]}]
> It works only when you end the paragraph before \startexample but it's 
> easier
> to define the environment as delimitedtext because it takes care of this.
>
> \definedelimitedtext
>   [example]
>   [spacebefore=small,
>    style=\tfx,
>    before={\setupinterlinespace[line=12pt]}]
>
> 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One interline space setup trouble
@ 2010-02-20 18:55 Vyatcheslav Yatskovsky
  0 siblings, 0 replies; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-02-20 18:55 UTC (permalink / raw)
  To: ntg-context

Thanks, Wolfgang!

This works really fine

\setupinterlinespace[height=0.55,depth=0.45,line=38pt]

\definedelimitedtext
   [example]
   [spacebefore={\strutdepth,none},
    spaceafter=none,
    style=\tfx,
    before={\setupinterlinespace[line=16pt]}]

B.R.
Vyatcheslav

___________________________________________________________________________________
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] 9+ messages in thread

* Re: One interline space setup trouble
  2010-02-17  0:24 ` Vyatcheslav Yatskovsky
  2010-02-17  0:37   ` Wolfgang Schuster
@ 2010-02-17  9:01   ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-02-17  9:01 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky; +Cc: ntg-context

Am 17.02.10 01:24, schrieb Vyatcheslav Yatskovsky:
> Hi, Wolfgang,
>
> Thank you for the visual hint. The space around 2th paragraph is 
> equal, I agree with you. However, why there is only a half of 
> interline space BELOW 1st paragraph, while 3st paragraph has full 
> space ABOVE it? That is the root cause of my problem.
Change the height/depth ratio of the interlinespace.

\showboxes

\starttext

\setupinterlinespace[line=12pt]

\leftaligned{(gplQT}

\setupinterlinespace[line=18pt]

\leftaligned{(gplQT}

\setupinterlinespace[line=28pt]

\leftaligned{(gplQT}

\page

\setupinterlinespace[height=0.6,depth=0.4,line=12pt]

\leftaligned{(gplQT}

\setupinterlinespace[height=0.6,depth=0.4,line=18pt]

\leftaligned{(gplQT}

\setupinterlinespace[height=0.6,depth=0.4,line=28pt]

\leftaligned{(gplQT}

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One interline space setup trouble
  2010-02-17  0:24 ` Vyatcheslav Yatskovsky
@ 2010-02-17  0:37   ` Wolfgang Schuster
  2010-02-17  9:01   ` Wolfgang Schuster
  1 sibling, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-02-17  0:37 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky; +Cc: ntg-context

Am 17.02.10 01:24, schrieb Vyatcheslav Yatskovsky:
> Thank you for the visual hint. The space around 2th paragraph is 
> equal, I agree with you. However, why there is only a half of 
> interline space BELOW 1st paragraph, while 3st paragraph has full 
> space ABOVE it?
What do you mean?

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One interline space setup trouble
       [not found] <mailman.321.1266365410.26807.ntg-context@ntg.nl>
@ 2010-02-17  0:24 ` Vyatcheslav Yatskovsky
  2010-02-17  0:37   ` Wolfgang Schuster
  2010-02-17  9:01   ` Wolfgang Schuster
  0 siblings, 2 replies; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-02-17  0:24 UTC (permalink / raw)
  To: ntg-context, Wolfgang Schuster

Hi, Wolfgang,

Thank you for the visual hint. The space around 2th paragraph is equal, 
I agree with you. However, why there is only a half of interline space 
BELOW 1st paragraph, while 3st paragraph has full space ABOVE it? That 
is the root cause of my problem.


\setupinterlinespace[line=28pt]

\definedelimitedtext

[example]

[spacebefore=small,

%spacebefore=medium,

%spaceafter=small,

style=\tfx,

before={\setupinterlinespace[line=12pt]}]

\starttext\ruledvtop{\begstrut Most models we discussing here are 
specification of dynamic behaviour of SUI. This behaviour is described 
in terms of the interactions over time among some entities. The entities 
in question fall into two broad categories: {\em endogenous} (intrinsic 
to the SUI itself) and {\em exogenous} (belonging to a system's 
environment).\endstrut}

\startexample

\ruledvtop{\begstrut All processes that take place inside Earth (and 
other planets) are considered endogenous. These processes make the 
continents migrate, push the mountains up, trigger earthquakes and 
volcanism, and are driven by the warmth that is produced in the core of 
Earth. Exogenous processes are all taking place at the outside of the 
Earth. Weathering, erosion, transportation and sedimentation are the 
main exogenous processes.\endstrut}

\stopexample

\ruledvtop{\begstrut Constants and parameters serve as names for the 
values that do not change during a simulation run. In the case of a {\em 
constant}, the assigned value remains invariant over all experiments. 
Often it is a physical constant, like $g$ -- force of gravity. In the 
case of a {\em parameter}, there normally is an intent to explore the 
effect upon behaviour of a range of different values for the 
parameter.\endstrut}

\stoptext

Regards,
Vyatcheslav
___________________________________________________________________________________
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] 9+ messages in thread

* Re: One interline space setup trouble
  2010-02-16 23:56 ` Vyatcheslav Yatskovsky
@ 2010-02-17  0:10   ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-02-17  0:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 17.02.10 00:56, schrieb Vyatcheslav Yatskovsky:
> Hi,
>
> Sorry for my strive for perfection, but if I set new interline space 
> in delimited text using 'before' key, the space BEFORE is affected by 
> \setupinterlinespace, while the space AFTER does not. The result is a 
> paragraph with visibly unbalanced surroundings. Is there a way to set 
> the spaces equal without manual adjusting?
The spaces are equal when as you can see on the second page, to get a 
better result set different value before and after the example environment.

\setupinterlinespace[line=18pt]

\definedelimitedtext
   [example]
   [spacebefore=small,
    %spacebefore=medium,
    %spaceafter=small,
    style=\tfx,
    before={\setupinterlinespace[line=12pt]}]

\showgrid

\starttext

Most models we discussing here are specification of dynamic behaviour of 
SUI. This behaviour is described in terms of the interactions over time 
among some entities. The entities in question fall into two broad 
categories: {\em endogenous} (intrinsic to the SUI itself) and {\em 
exogenous} (belonging to a system's environment).

\startexample
All processes that take place inside Earth (and other planets) are 
considered endogenous. These processes make the continents migrate, push 
the mountains up, trigger earthquakes and volcanism, and are driven by 
the warmth that is produced in the core of Earth. Exogenous processes 
are all taking place at the outside of the Earth. Weathering, erosion, 
transportation and sedimentation are the main exogenous processes.
\stopexample

Constants and parameters serve as names for the values that do not 
change during a simulation run. In the case of a {\em constant}, the 
assigned value remains invariant over all experiments. Often it is a 
physical constant, like $g$ -- force of gravity. In the case of a {\em 
parameter}, there normally is an intent to explore the effect upon 
behaviour of a range of different values for the parameter.

\page

\ruledvtop{\begstrut Most models we discussing here are specification of 
dynamic behaviour of SUI. This behaviour is described in terms of the 
interactions over time among some entities. The entities in question 
fall into two broad categories: {\em endogenous} (intrinsic to the SUI 
itself) and {\em exogenous} (belonging to a system's environment).\endstrut}

\startexample
\ruledvtop{\begstrut All processes that take place inside Earth (and 
other planets) are considered endogenous. These processes make the 
continents migrate, push the mountains up, trigger earthquakes and 
volcanism, and are driven by the warmth that is produced in the core of 
Earth. Exogenous processes are all taking place at the outside of the 
Earth. Weathering, erosion, transportation and sedimentation are the 
main exogenous processes.\endstrut}
\stopexample

\ruledvtop{\begstrut Constants and parameters serve as names for the 
values that do not change during a simulation run. In the case of a {\em 
constant}, the assigned value remains invariant over all experiments. 
Often it is a physical constant, like $g$ -- force of gravity. In the 
case of a {\em parameter}, there normally is an intent to explore the 
effect upon behaviour of a range of different values for the 
parameter.\endstrut}

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One interline space setup trouble
       [not found] <mailman.319.1266356392.26807.ntg-context@ntg.nl>
@ 2010-02-16 23:56 ` Vyatcheslav Yatskovsky
  2010-02-17  0:10   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-02-16 23:56 UTC (permalink / raw)
  To: ntg-context

Hi,

Sorry for my strive for perfection, but if I set new interline space in 
delimited text using 'before' key, the space BEFORE is affected by 
\setupinterlinespace, while the space AFTER does not. The result is a 
paragraph with visibly unbalanced surroundings. Is there a way to set 
the spaces equal without manual adjusting?

Example:


\setupinterlinespace[line=18pt]

\definedelimitedtext
   [example]
   [spacebefore=small,
    style=\tfx,
    before={\setupinterlinespace[line=12pt]}]

\starttext
Most models we discussing here are specification of dynamic behaviour of 
SUI. This behaviour is described in terms of the interactions over time 
among some entities. The entities in question fall into two broad 
categories: {\em endogenous} (intrinsic to the SUI itself) and {\em 
exogenous} (belonging to a system's environment).

\startexample All processes that take place inside Earth (and other 
planets) are considered endogenous. These processes make the continents 
migrate, push the mountains up, trigger earthquakes and volcanism, and 
are driven by the warmth that is produced in the core of Earth. 
Exogenous processes are all taking place at the outside of the Earth. 
Weathering, erosion, transportation and sedimentation are the main 
exogenous processes.\stopexample

Constants and parameters serve as names for the values that do not 
change during a simulation run. In the case of a {\em constant}, the 
assigned value remains invariant over all experiments. Often it is a 
physical constant, like $g$ -- force of gravity. In the case of a {\em 
parameter}, there normally is an intent to explore the effect upon 
behaviour of a range of different values for the parameter.

\stoptext



B.R.,
Vyatcheslav


___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2010-02-20 18:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.294.1266154797.26807.ntg-context@ntg.nl>
2010-02-14 14:05 ` One interline space setup trouble Vyatcheslav Yatskovsky
2010-02-14 14:17   ` Wolfgang Schuster
2010-02-14 14:57     ` Vyatcheslav Yatskovsky
     [not found] <mailman.319.1266356392.26807.ntg-context@ntg.nl>
2010-02-16 23:56 ` Vyatcheslav Yatskovsky
2010-02-17  0:10   ` Wolfgang Schuster
     [not found] <mailman.321.1266365410.26807.ntg-context@ntg.nl>
2010-02-17  0:24 ` Vyatcheslav Yatskovsky
2010-02-17  0:37   ` Wolfgang Schuster
2010-02-17  9:01   ` Wolfgang Schuster
2010-02-20 18:55 Vyatcheslav Yatskovsky

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).