Re: [NTG-context] One interline space setup trouble

2010-02-17 Thread Wolfgang Schuster

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
___


Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread 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?


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
___


Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread Wolfgang Schuster

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
___


Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread 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.



\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
___


Re: [NTG-context] One interline space setup trouble

2010-02-16 Thread Wolfgang Schuster

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
___


Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky

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
___


Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Wolfgang Schuster

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
___


Re: [NTG-context] One interline space setup trouble

2010-02-14 Thread Vyatcheslav Yatskovsky

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
___