ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Zenlima <post@zenlima.eu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: setupformulas reset not working
Date: Thu, 17 Jan 2013 21:48:17 +0100	[thread overview]
Message-ID: <20130117214817.22a69bcd@zenlima.eu> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2013-01-17 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 20:48 Zenlima [this message]
2013-01-18  1:39 ` Wolfgang Schuster
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=20130117214817.22a69bcd@zenlima.eu \
    --to=post@zenlima.eu \
    --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).