ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupformulas reset not working
@ 2013-01-17 20:48 Zenlima
  2013-01-18  1:39 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Zenlima @ 2013-01-17 20:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In my work I have standalone formulas and formulas inside a paragraph
(see idea of module pararef). For standalone formulas the default
settings are ok. But for the formuals inside the paragraphs I need to
change the afer- and beforespaces. So I have to change the spaces
before and after a formula often.

Unlucky \startformula[spacebefore=...,spaceafter=...] is not working.
So I try to achieve it via the "big" setup function:
\setupformulas[spacebefore=...,spaceafter=...] - not nice but it works
(except that "strange" space \formulaparameter).

But now after that paragraph I want to reset the spaces of
setupformulas. In the file strc-math.mkiv says that the spaces are
defined like this:
	...
	c!spacebefore=\v!big,
   	\c!spaceafter=\formulaparameter\c!spacebefore,
	...
So I tried after \stopformula to reset the spaces with:
	\setupformulas[spacebefore=\v!big,spaceafter=\formulaparameter\c!spacebefore]
and
	\setupformulas[spacebefore=\big,spaceafter=\formulaparameter\spacebefore]
but both failed.

Is there any possibility to reset the spaces of setupformulas? And what
kind of space is \formulaparameter?

H.
___________________________________________________________________________________
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] 3+ messages in thread

* Re: setupformulas reset not working
  2013-01-17 20:48 setupformulas reset not working Zenlima
@ 2013-01-18  1:39 ` Wolfgang Schuster
  2013-01-18 19:50   ` Zenlima
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2013-01-18  1:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.01.2013 um 21:48 schrieb Zenlima <post@zenlima.eu>:

> Hi,
> 
> In my work I have standalone formulas and formulas inside a paragraph
> (see idea of module pararef). For standalone formulas the default
> settings are ok. But for the formuals inside the paragraphs I need to
> change the afer- and beforespaces. So I have to change the spaces
> before and after a formula often.
> 
> Unlucky \startformula[spacebefore=...,spaceafter=...] is not working.
> So I try to achieve it via the "big" setup function:
> \setupformulas[spacebefore=...,spaceafter=...] - not nice but it works
> (except that "strange" space \formulaparameter).
> 
> But now after that paragraph I want to reset the spaces of
> setupformulas. In the file strc-math.mkiv says that the spaces are
> defined like this:
> 	...
> 	c!spacebefore=\v!big,
>   	\c!spaceafter=\formulaparameter\c!spacebefore,
> 	...
> So I tried after \stopformula to reset the spaces with:
> 	\setupformulas[spacebefore=\v!big,spaceafter=\formulaparameter\c!spacebefore]
> and
> 	\setupformulas[spacebefore=\big,spaceafter=\formulaparameter\spacebefore]
> but both failed.

\setupformla[spacebefore=big,spaceafter=big]

> Is there any possibility to reset the spaces of setupformulas? And what
> kind of space is \formulaparameter?

\formulaparameter is a command to access the values of the keys for the \setupformula command,
e.g. \formulaparameter{spacebefore} results in “big”.

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

* Re: setupformulas reset not working
  2013-01-18  1:39 ` Wolfgang Schuster
@ 2013-01-18 19:50   ` Zenlima
  0 siblings, 0 replies; 3+ messages in thread
From: Zenlima @ 2013-01-18 19:50 UTC (permalink / raw)
  To: ntg-context

Thanks, that explanation makes it a lot easier :-)

> \formulaparameter is a command to access the values of the keys for
> the \setupformula command, e.g. \formulaparameter{spacebefore}
> results in “big”.
> 
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2013-01-18 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 20:48 setupformulas reset not working Zenlima
2013-01-18  1:39 ` Wolfgang Schuster
2013-01-18 19:50   ` Zenlima

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