From: Andreas Harder <andreas.harder@rz-online.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: formulas in itemgroups
Date: Thu, 26 Nov 2009 12:40:10 +0100 [thread overview]
Message-ID: <B5A71A46-E9B6-484C-9953-CE8E9C646891@rz-online.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
Hi all,
I use the following construct for exercises (attachment) and would like to save some space saved, like in the second example. Is there a trick/command/setup one can use?
[-- Attachment #2: test-itemgroup-formulas.tex --]
[-- Type: application/octet-stream, Size: 885 bytes --]
\defineitemgroup [TA] % TeilAufgabe
\setupitemgroup [TA] [symbol=a,stopper=)]
% \setupformulae[spacebefore=-12pt] % ,alternative=single
\starttext \showframe
example 1:
\startTA[columns]
\item \startformula \startalign
y & \leq -2x+5 \\
y & > 2 \\
x & \leq 3
\stopalign \stopformula
\item \startformula \startalign
2x-y & \leq 6 \\
y & < 3 \\
y & \geq -x
\stopalign \stopformula
\stopTA
\blank[2*big]
example 2:
\startTA[columns]
\item \vskip-2.5\lineheight
\startformula \startalign
y & \leq -2x+5 \\
y & > 2 \\
x & \leq 3
\stopalign \stopformula
\item \vskip-2.5\lineheight
\startformula \startalign
2x-y & \leq 6 \\
y & < 3 \\
y & \geq -x
\stopalign \stopformula
\stopTA
\stoptext
%%% Local Variables:
%%% mode: context
%%% TeX-master: t
%%% End:
[-- Attachment #3: Type: text/plain, Size: 23 bytes --]
Many thanks
Andreas
[-- Attachment #4: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2009-11-26 11:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-26 11:40 Andreas Harder [this message]
2009-11-26 15:56 ` Taco Hoekwater
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=B5A71A46-E9B6-484C-9953-CE8E9C646891@rz-online.de \
--to=andreas.harder@rz-online.de \
--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).