ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupformulas reset not working
Date: Fri, 18 Jan 2013 02:39:56 +0100	[thread overview]
Message-ID: <DB5FCF05-6830-485F-8656-4C8E6101B541@gmail.com> (raw)
In-Reply-To: <20130117214817.22a69bcd@zenlima.eu>


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
___________________________________________________________________________________


  reply	other threads:[~2013-01-18  1:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 20:48 Zenlima
2013-01-18  1:39 ` Wolfgang Schuster [this message]
2013-01-18 19:50   ` Zenlima

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB5FCF05-6830-485F-8656-4C8E6101B541@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).