Re: [NTG-context] setupformulas reset not working
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 ___
Re: [NTG-context] setupformulas reset not working
Am 17.01.2013 um 21:48 schrieb Zenlima : > 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 ___
[NTG-context] setupformulas reset not working
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 ___