ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "L.S.-Soc&Gam" <axteffekt@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Framing multiline equations
Date: Sun, 22 May 2016 11:36:45 +0200	[thread overview]
Message-ID: <57417DAD.2020303@gmail.com> (raw)
In-Reply-To: <5CA36AC2-F205-4EDC-8CB0-834DDB2A4EE1@uva.nl>

Hello together,

I'm having trouble framing multiline equations. Problem is that either I 
get an error or the equation gets framed while the multiline is 
converted into a single line. Here is my code:

---------------------
\starttext

\startformula                                 <- works like a charm
\mframed[offset=1mm,loffset=3mm,roffset=3mm]
     {a + b = c}
\stopformula

\startformula \startalign                         <- that's an example 
multiline equation
\NC c - a = \NC b \NR                            <- unframed it works
\NC d + c - b = \NC a \NR
\stopalign \stopformula

\startformula \framed{\startalign <- \mframed gives an error. \framed 
works, but then the eq
\NC c - a = \NC b \NR           <- gets converted into a single line eq.
\NC d + c - b = \NC a \NR
\stopalign} \stopformula

\stoptext
---------------------

I tried to place \mframed at different locations. But the example above 
is the only one that doesn't give an error.
How would an experienced CTX user frame multiline equations?
I think it would work with natural TABLES. But i would only use that 
way, when nothing else works...


Greetings, Seba
___________________________________________________________________________________
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:[~2016-05-22  9:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <947663393.140271.1404401839314.JavaMail.zimbra@pentandra.com>
2014-07-03 15:55 ` Support for Optional Content Groups Chris Chapman
2014-07-03 16:33   ` Wolfgang Schuster
2014-07-03 17:54   ` Hans Hagen
2014-07-03 18:08     ` Chris Chapman
2016-05-22  9:22     ` Meer, Hans van der
2016-05-22  9:36       ` L.S.-Soc&Gam [this message]
2016-05-22 15:56         ` Framing multiline equations Hans Hagen

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=57417DAD.2020303@gmail.com \
    --to=axteffekt@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).